Salome HOME
Adding test for bos #41748 [CEA] Issue in interpolation edition
[modules/shaper.git] / src / GDMLPlugin / doc / coneFeature.rst
1
2 Cone segment
3 ============
4
5 Cone segment feature creates a cone or its segment using GDML language.
6
7 To create a Cone segment in the active part:
8
9 #. select in the Main Menu *GDML - > Cone segment* item  or
10 #. click **Cone segment** button in the toolbar.
11
12 .. figure:: images/cone_btn.png
13    :align: center
14
15    **Cone segment**  button 
16
17 The following property panel will be opened:
18
19 .. figure:: images/Cone_panel.png
20    :align: center
21         
22    **Cone property panel**
23
24 The property panel contains an image which explains the meaning of input values:
25
26 - **rmin1, rmax1** - minimal and maximal radii of the cone base.
27 - **rmin2, rmax2** - minimal and maximal radii of the cone top.
28 - **z** - height of the cone.
29 - **startphi** - angle from the axis to the start of the cone segment.
30 - **deltaphi** - arc angle of the cone segment.
31
32 **TUI Command**:  *model.addConeSegment(Part_doc, rmin1, rmax1, rmin2, rmax2, z, startphi, deltaphi)*
33   
34 **Arguments**:    Part + Rmin of base + Rmax of base + Rmin of top + Rmax of top + height + start angle + arc angle.
35
36 Result
37 """"""
38
39 The Result of the operation will be a SOLID.
40
41 .. figure:: images/CreatedCone.png
42            :align: center
43                    
44    Cone created
45
46 **See Also** a sample TUI Script of :ref:`tui_create_conesegment` operation.