MAXScript Language Reference > 3ds Max Objects > Node : MAXWrapper > Node Subclasses > GeometryClass : Node > Geometry - Standard Objects >

# 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, alias: Radius_1

The first radius for the tube.

    <Tube>.radius2 Float default: 20.0 -- animatable, 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

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

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

    <Tube>.Slice_On Integer default: 0

Integer alias of the .slice property. Possible values are:

0- off

1- on

    <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

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

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

- GeometryClass Common Properties, Operators, and Methods

- Node Common Properties, Operators, and Methods

- MAXWrapper Common Properties, Operators, and Methods

- Value Common Properties, Operators, and Methods