RoundOptions
Options for round shapes and solids.
Extends
Section titled “Extends”Properties
Section titled “Properties”normal?
Section titled “normal?”
optionalnormal?:Vector3dLike
Direction the shape’s front faces, and the direction a solid’s height runs. Defaults
to [0, 0, 1], which lays shapes flat and stands solids upright.
Inherited from
Section titled “Inherited from”segments?
Section titled “segments?”
optionalsegments?:number
Number of straight segments around the circle, 3 to 360 (96 for spheres); defaults to 24. Drawing time grows much faster than the count: hundreds of segments take seconds.
xAxis?
Section titled “xAxis?”
optionalxAxis?:Vector3dLike
Direction of the shape’s first axis: a rectangle’s width, or the first corner of a
circle or polygon. Its component along normal is ignored. Defaults to [1, 0, 0]
for a vertical normal, and otherwise to the horizontal direction that makes the
second axis point up.