Capsule : GeometryClass

Capsule - superclass: GeometryClass; super-superclass:node - classID: #(1832744876, 2043230633)

Constructor

capsule ...

Properties

.radius Float default: 15.0 -- animatable

The radius of the capsule.

.height Float default: 25.0 -- animatable

The height of the capsule.

.heighttype Integer default: 1

Set what .height specifies:

0- Overall

1- Centers (not including domed caps)

.sides Integer default: 24 -- animatable

Sets the number of sides around the capsule. Higher numbers shade and render as true circles with Smooth on. Lower numbers create regular polygonal objects with Smooth off.

.heightsegs Integer default: 1 -- animatable; alias: height_segments

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

.smooth BooleanClass default: true -- animatable

When on, blends the faces of the capsule, creating a smooth appearance in rendered views.

.smooth_on Integer default: 1 -- animatable

Smooth_on is an integer alias of smooth:

0- off

1- on

.sliceon BooleanClass default: false -- animatable

Turns on/off the Slice function.

.slice_on Integer default: 0 -- animatable

Slice_on is an integer alias of sliceon:

0- off

1- on

.slicefrom Float default: 0.0 -- animatable, angle; alias: slice_from

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

.sliceto Float default: 0.0 -- animatable, angle; alias: slice_to

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

.mapCoords BooleanClass default: false

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

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