# Cylinder

To create a Cylinder in the Main Menu select New Entity - > Primitives - > Cylinder

There are 2 algorithms for creation of a Cylinder.

The Result of each operation will be a GEOM_Object (SOLID).

Firstly, you can define a Cylinder by the Base Point (the central point of the cylinder base), the Vector (the axis of the cylinder), and its dimensions: the Radius and the Height.

TUI Command: geompy.MakeCylinder(Point, Axis, Radius, Height),

Arguments: Name + 1 vertex + 1 vector + 2 values (Dimensions: radius and height).

Secondly, you can define a Cylinder by the given radius and the height at the origin of coordinate system. The axis of the cylinder will be collinear to the OZ axis of the coordinate system.

TUI Command: geompy.MakeCylinderRH(Radius, Height)

Arguments: Name + 2 values (Dimensions at origin: radius and height).

Example:

Our TUI Scripts provide you with useful examples of creation of Primitives.