5 Cylinder feature creates a cylinder solid.
7 To create a Cylinder in the active part:
9 #. select in the Main Menu *Primitives - > Cylinder* item or
10 #. click **Cylinder** button in the toolbar
12 .. image:: images/Cylinder_button.png
18 There are 2 algorithms for creation of a Cylinder:
20 .. image:: images/cylinder_32x32.png
22 **Cylinder** creates a cylinder.
24 .. image:: images/cylinder_portion_32x32.png
26 **Portion of cylinder** creates one segment of a cylinder.
31 .. image:: images/Cylinder.png
35 **Cylinder** property panel
39 - **Point** defines the center of the cylinder base selected in 3D OCC viewer or object browser;
40 - **Vector** defines the axis of the cylinder selected in 3D OCC viewer or object browser;
45 **TUI Commands**: *model.addCylinder(Part_doc, Point, Axis, Radius, Height)*
47 **Arguments**: Part + 1 vertex +1 vector + 2 real values (radius, height).
52 An example is shown below.
54 .. image:: images/Cylinder1.png
60 **See Also** a sample TUI Script of :ref:`tui_create_cylinder` operation.
65 .. image:: images/Portion_cylinder.png
69 **Portion of cylinder** property panel
71 Input fields for ***Portion of cylinder** tab include **Angle** defining a portion of cylinder.
73 **TUI Commands**: *model.addCylinder(Part_doc, Point, Axis, Radius, Height,Angle)*
75 **Arguments**: 1 Part + 1 vertex +1 vector + 3 real values (radius, height and angle).
80 An example is shown below.
82 .. image:: images/Cylinder2.png
88 **See Also** a sample TUI Script of :ref:`tui_create_cylportion` operation.