Torus : GeometryClass

Torus - superclass: GeometryClass; super-superclass:node - classID: #(32, 0) 

Value > MAXWrapper > Node > GeometryClass > Torus

 

   

Geometry Objects - Quick Navigation

Constructor:

torus..   

Properties:

<Torus>.segs Integer default: 24 -- animatable, 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, 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, alias: Radius_2 

The radius of the cross-sectional circle.

   

<Torus>.tubeRotation Float default: 0.0 -- animatable, angle 

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: 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 

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 

When on, sets up required coordinates for applying mapped materials to the torus.

   

Interfaces:

Interface:realWorldMapSizeInterface 

Properties:

.realWorldMapSize: boolean : Read|Write 

Enables/disables the real-world map size option.

Available in 3ds Max 8 and higher.

   

See Also