Skip to main content
edited tags
Link
user21
  • 40.7k
  • 8
  • 114
  • 170
Became Hot Network Question
Tweeted twitter.com/StackMma/status/1508277863526674437
Source Link
Emilio Pisanty
  • 10.3k
  • 1
  • 37
  • 71

Controlling the discretization of a Tube around a ParametricPlot3D

I am playing around with using Tube as an option under PlotStyle for a ParametricPlot3D curve, with the end-goal of exporting the model to .stl in order to 3D print it. Overall, it's working quite well, but I am consistently getting poor discretization of the tube along its azimuthal direction.

Here is one minimal example

ParametricPlot3D[
 {Cos[ωt], Sin[ωt], 0}
 , {ωt, 0, π/2}
 , ImageSize -> 500
 , SphericalRegion -> True
 , PlotRange -> All
 , PlotStyle -> Tube[0.2]
 ]

which produces the following output,

which is much more clearly a discrete 12-gon prism than a cylinder.

What control options do I have to improve the discretization along this dimension?