# Reference:Cylinder

Jump to navigation
Jump to search

The `cylinder`

statement creates a finite length cylinder with
parallel end caps The syntax is:

CYLINDER: cylinder { <Base_Point>, <Cap_Point>, Radius [ open ][OBJECT_MODIFIERS...] }

Where * <Base_Point>* and

*are vectors defining the x, y, z coordinates of the cylinder's base and cap and*

```
<Cap_Point>
```

*is a float value for the radius.*

`Radius`

Normally the ends of a cylinder are closed by flat discs that are parallel
to each other and perpendicular to the length of the cylinder. Adding the
optional keyword `open`

after the radius will remove the end caps
and results in a hollow tube.