Torus - superclass: GeometryClass; super-superclass:node - classID: #(32, 0)
Constructor:
torus..
Properties:
<Torus>.segs Integer default: 24 -- animatable; integer; alias: segments
The number of radial divisions around the torus. By reducing this number, you can create polygonal rings instead of circular ones.
<Torus>.radius1 Float default: 25.0 -- animatable; worldunits; alias: Radius_1
The distance from the center of the torus to the center of the cross-sectional circle. This is the radius of the torus ring.
<Torus>.radius2 Float default: 10.0 -- animatable; worldunits; alias: Radius_2
The radius of the cross-sectional circle.
<Torus>.tubeRotation Float default: 0.0 -- animatable; angle; alias: tube_rotation
The degree of rotation. Vertices are uniformly rotated about the circle running through the center of the torus ring. Positive and negative values for this setting "roll" the vertices in either direction over the surface of the torus.
<Torus>.tubeTwist Float default: 0.0 -- animatable; angle; alias: tube_twist
The degree of twist. Cross sections are progressively rotated about the circle running through the center of the torus. Beginning with twist, each successive cross section is rotated until the last one has the number of degrees specified.
<Torus>.sidesInteger default: 12 -- animatable
The number of sides on the cross-sectional circle of the torus. By reducing this number, you can create prism-like cross sections instead of circular ones.
<Torus>.smoothInteger default: 0 -- animatable
Select the level of smoothing:
0 - None (Turns off smoothing entirely, producing prism-like facets on the torus.)
1 - Sides (Smoothes the edges between adjacent segments, producing smooth bands running around the torus.)
2 - All (Produces complete smoothing on all surfaces of the torus.)
3 - Segments (Smoothes each segment individually, producing ring-like segments along the torus.)
<Torus>.slice Boolean default: false -- animatable; boolean; alias: slice_on, sliceon
When on, creates a portion of a sliced torus rather than the entire 360 degrees.
<Torus>.sliceFrom Float default: 0.0 -- animatable, angle, alias: Slice_From
The angle where the torus slice begins.
<Torus>.sliceTo Float default: 0.0 -- animatable, angle, alias: Slice_To
The angle where the torus slice ends.
<Torus>.mapCoords Boolean default: false -- alias: generate_texture_coords
When on, sets up required coordinates for applying mapped materials to the torus.
Type In Properties:
Available in 3ds Max 2018 and higher: These properties reflect the parameters on the Keyboard Entry rollout for each geometry object. These parameters can be set on any existing object.
<Torus>.typeinCreationMethod Integer default: 1 -- integer; Creation_Method
Gets or sets the Creation Method. Possible values are:
<Torus>.typeInRadius1 Float default: 0.0 -- float; Radius_1
<Torus>.typeInRadius2 Float default: 10.0 -- float; Radius_2
Gets or sets the Major Radius (typeInRadius1) and Minor Radius (typeInRadius2) Keyboard Entry values.
<Torus>.typeInPos Point3 default: [0,0,0] -- point3; Type_in_Position
Gets or sets the Keyboard Entry position values as a Point3.
Interfaces:
Interface:realWorldMapSizeInterface
Properties:
.realWorldMapSize: boolean : Read|Write
Enables/disables the real-world map size option.
Available in 3ds Max 8 and higher.