cylinder()
Cylinder - draws a cylinder in 3D space
Example
Syntax
cylinder([radius], [height], [detailX], [detailY], [bottomCap], [topCap])
Parameter
Description
radius
radius of the cone
height
height of the cone
bottomCap
a boolean to specify whether or not the cylinder's bottom should be closed with a cap
topCap
a boolean to specify whether or not the cylinder's bottom should be closed with a cap



Description
draws a cylinder with a specified radius and height. A top or bottom cap that closes the cone is drawn by default, and can be removed by setting topCap
or bottomCap
to False
Last updated