Capsule : GeometryClass

Constructor

capsule ...

Properties

<Capsule>.radius       Float    default: 15.0  -- animatable

The radius of the capsule.

<Capsule>.height       Float    default: 25.0  -- animatable

The height of the capsule.

<Capsule>.heighttype   Integer  default: 1

Set what .height specifies:

0- Overall

1- Centers (not including domed caps)

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

<Capsule>.heightsegs   Integer  default: 1     -- animatable; alias: height_segments

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

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

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

<Capsule>.smooth_on    Integer  default: 1     -- animatable

Smooth_on is an integer alias of smooth:

0- off

1- on

<Capsule>.sliceon      Boolean  default: falseùanimatable

Turns on/off the Slice function.

<Capsule>.slice_on     Integer  default: 0     -- animatable

Slice_on is an integer alias of sliceon:

0- off

1- on

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

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

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

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

<Capsule>.mapCoords    Boolean  default: false

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

See also