Tube : GeometryClass

Tube - superclass: GeometryClass; super-superclass:node - classID: #(31521, 0) 

Value > MAXWrapper > Node > GeometryClass > Tube

 

   

Geometry Objects - Quick Navigation

Constructor:

tube...   

Properties:

<Tube>.radius1 Float default: 25.0 -- animatable; worldunits; alias: Radius_1 

The first radius for the tube.

   

<Tube>.radius2 Float default: 20.0 -- animatable; worldunits; alias: Radius_2 

The second radius for the tube.

NOTE:

The larger radius specifies the outside radius of the tube, while the smaller specifies the inside radius.

   

<Tube>.height Float default: 50.0 -- animatable; worldunits 

The dimension along the central axis. Negative values create the tube below the construction plane.

   

<Tube>.heightsegs Integer default: 1 -- animatable, alias: Height_Segments

The number of divisions along the tube's major axis.

   

<Tube>.capsegs Integer default: 1 -- animatable, alias: Cap_Segments 

The number of concentric divisions around the center of the tube's top and bottom.

   

<Tube>.sides Integer default: 24 -- animatable 

The number of sides around the tube.

Higher numbers shade and render as true circles with Smooth on.

Lower numbers create regular polygonal objects with Smooth off.

   

<Tube>.smooth Boolean default: true -- animatable 

When on, faces of the tube are blended together, creating a smooth appearance in rendered views.

   

<Tube>.slice Boolean default: false -- animatable; boolean; alias: slice_on, sliceon 

Enables/Disables the Slice feature, which removes part of the tube's circumference.

   

<Tube>.sliceFrom Float default: 0.0 -- animatable, angle, alias: Slice_From 

The angle where the tube slice begins.

   

<Tube>.sliceTo Float default: 0.0 -- animatable, angle, alias: Slice_To 

The angle where the tube slice ends.

   

<Tube>.mapCoords Boolean default: false -- boolean; alias: generate_texture_coords 

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

   

Type In Properties:

NEW in 3ds Max 2018: These properties reflect the parameters on the Keyboard Entry rollout for each geometry object. These parameters can be set on any existing object.

<Tube>.typeinCreationMethod     Integer    default: 1   --  integer; Creation_Method

Gets or sets the Creation Method. Possible values are:

   

<Tube>.typeInHeight     Float    default: 0.0   --  float; Height

Gets or sets the height Keyboard Entry value.

   

<Tube>.typeInRadius1     Float    default: 0.0   --  float; Radius_1
<Tube>.typeInRadius2     Float    default: 0.0   --  float; Radius_2

Gets or sets the Inner and Outer Radius Keyboard Entry values.

   

<Tube>.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.

   

See Also