What does CYLINDER do?
CYLINDER creates a 3D solid cylinder with a circular or elliptical base. It is commonly used for shafts, pipes, holes, columns and other cylindrical components in solid modelling.
You can define the base using a centre point and radius or diameter, or use alternative methods such as three points, two points or tangent objects. The cylinder height can also be entered directly or defined by points in 3D space.
How to use the command
- Type
CYLINDERor its shortcut CYL, then press Enter. - Specify the centre point of the base.
- Enter the base radius, or choose Diameter.
- Enter the required cylinder height.
- GstarCAD creates the resulting 3D solid cylinder.
Command: CYL ↵
Specify center point of base or [3P/2P/Ttr/Elliptical]: 0,0,0 ↵
Specify radius of bottom or [Diameter]: 20 ↵
Specify height or [2P/Axis endpoint]: 80 ↵
Key CYLINDER options
The available options provide several ways to control the base, dimensions and direction of the cylinder.
Practical example: create a cylindrical shaft
Suppose you need a shaft with a diameter of 40 mm and a length of 80 mm. Run CYLINDER, specify the base centre and choose Diameter.
Enter 40 for the diameter and 80 for the height. GstarCAD creates a solid cylindrical shaft. You can then combine it with other solids using UNION or use it as cutting geometry with SUBTRACT.
Tip
Use Axis endpoint when the cylinder should not follow the current Z axis. The selected endpoint determines both the direction and length of the cylinder.