Cylinder : GeometryClass

Constructor

cylinder ...

Properties

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

The radius of the cylinder.

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

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      Boolean   default: true   -- animatable

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

<Cylinder>.slice       Boolean   default: false  -- animatable, alias: sliceon

Turns on/off slice function.

<Cylinder>.Slice_On    Integer   default: 0      

Integer alias for .slice:

0- off

1- on

<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   Boolean   default: false

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

See also