Salome HOME
[bos #42437] fixed problem where sketch validation icons in toolbar were not activated
[modules/shaper.git] / src / GDMLPlugin / doc / coneFeature.rst
index 5041deccfe9bf82b9c6347a6742def368f7e11c6..8eb04fe5f6310982e758710256c7b494d4c50d7b 100644 (file)
@@ -1,3 +1,46 @@
 
-Cone
-====
+Cone segment
+============
+
+Cone segment feature creates a cone or its segment using GDML language.
+
+To create a Cone segment in the active part:
+
+#. select in the Main Menu *GDML - > Cone segment* item  or
+#. click **Cone segment** button in the toolbar.
+
+.. figure:: images/cone_btn.png
+   :align: center
+
+   **Cone segment**  button 
+
+The following property panel will be opened:
+
+.. figure:: images/Cone_panel.png
+   :align: center
+       
+   **Cone property panel**
+
+The property panel contains an image which explains the meaning of input values:
+
+- **rmin1, rmax1** - minimal and maximal radii of the cone base.
+- **rmin2, rmax2** - minimal and maximal radii of the cone top.
+- **z** - height of the cone.
+- **startphi** - angle from the axis to the start of the cone segment.
+- **deltaphi** - arc angle of the cone segment.
+
+**TUI Command**:  *model.addConeSegment(Part_doc, rmin1, rmax1, rmin2, rmax2, z, startphi, deltaphi)*
+  
+**Arguments**:    Part + Rmin of base + Rmax of base + Rmin of top + Rmax of top + height + start angle + arc angle.
+
+Result
+""""""
+
+The Result of the operation will be a SOLID.
+
+.. figure:: images/CreatedCone.png
+          :align: center
+                  
+   Cone created
+
+**See Also** a sample TUI Script of :ref:`tui_create_conesegment` operation.