Cylinder : GeometryClass

Cylinder - superclass: GeometryClass; super-superclass:node - classID: #(18, 0) 

Constructor:

cylinder...   

Properties:

<Cylinder>.radius Float default: 15.0 -- animatable; worldunits 

The radius of the cylinder.

<Cylinder>.height Float default: 25.0 -- animatable; worldunits 

Height along the central axis.

Negative values create the cylinder below the construction plane.

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

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

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

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

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

The number of sides around the cylinder.

With Smooth on, higher numbers shade and render as true circles.

With Smooth off, lower numbers create regular polygonal objects.

<Cylinder>.smooth booleanclass default: true -- animatable 

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

<Cylinder>.slice booleanclass default: false -- animatable; boolean; alias: sliceon, slice_on 

Turns on/off slice function.

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

Sets the starting angle (on the local Z-axis) for slicing.

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

Sets the angle (on the local Z-axis) to slice to.

<Cylinder>.mapCoords booleanclass default: false -- boolean; alias: generate_texture_coords

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

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.

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

Gets or sets the Creation Method. Possible values are:

<Cylinder>.typeInHeight     Float    default: 0.01   --  float; Height

Gets or sets the height Keyboard Entry value.

<Cylinder>.typeInRadius     Float    default: 0.0   --  float; Radius

Gets or sets the Radius 1 (bottom) and Radius 2 (top) Keyboard Entry values.

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