Version: 6.5.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Groups Pages
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).

cylinder1.png


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).

cylinder2.png

Example:

cylinders.png
Cylinders

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

Copyright © 2007-2012 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS