Salome HOME
d92cb73cd3353cf9440fd5b17e0ac83eeaeaafc1
[modules/shaper.git] / src / GDMLPlugin / doc / coneFeature.rst
1
2 Cone segment
3 ============
4
5 The feature Cone segment 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 .. image:: images/cone_btn.png
13    :align: center
14
15 .. centered::
16    **Cone segment**  button 
17
18 The following property panel will be opened:
19
20 .. image:: images/Cone_panel.png
21    :align: center
22         
23 .. centered::
24    **Cone property panel**
25
26 The property panel contains image which explains meaning of input values:
27
28 - **rmin1, rmax1** - minimal and maximal radiuses of a base of the cone.
29 - **rmin2, rmax2** - minimal and maximal rediuses of a top of the cone.
30 - **z** is a heighth of the cone.
31 - **startphi** is a starting angle of the cone segment.
32 - **deltaphi** is an angle to end of the cone segment.
33
34 **TUI Command**:  *model.addConeSegment(Part_doc, rmin1, rmax1, rmin2, rmax2, z, startphi, deltaphi)*
35   
36 **Arguments**:    Part + Rmin of base + Rmax of base + Rmin of top + Rmax of top + height + start angle + end angle.
37
38 Result
39 """"""
40
41 The Result of the operation will be a SOLID.
42
43 .. image:: images/CreatedCone.png
44            :align: center
45                    
46 .. centered::
47    Cone created
48
49 **See Also** a sample TUI Script of a :ref:`tui_create_conesegment` operation.