Salome HOME
Add "Torus" primitive and "Cone" primitive.
[modules/shaper.git] / src / PrimitivesPlugin / cone_widget.xml
1 <!-- Copyright (C) 2014-201x CEA/DEN, EDF R&D -->
2
3 <source>
4   <shape_selector
5       id="base_point"
6       label="base_point"
7       default=""
8       shape_types="vertex"
9       icon="icons/Primitives/point.png"
10       tooltip="Select the center of the base of the cone">
11     <validator id="GeomValidators_ConstructionComposite"/>
12     <validator id="GeomValidators_ShapeType" parameters="vertex"/>
13   </shape_selector>
14   <shape_selector
15       id="axis"
16       label="axis"
17       default=""
18       shape_types="edge"
19       icon="icons/Primitives/axis.png"
20       tooltip="Select the axis of the cone">
21     <validator id="GeomValidators_ConstructionComposite"/>
22     <validator id="GeomValidators_ShapeType" parameters="line"/>
23   </shape_selector>
24   <doublevalue
25     id="base_radius"
26     label="Base radius"
27     step="1."
28     default="10."
29     tooltip="Enter the base radius of the cone">
30   </doublevalue>
31   <doublevalue
32     id="top_radius"
33     label="Top radius"
34     step="1."
35     default="5."
36     tooltip="Enter the top radius of the cone">
37   </doublevalue>
38   <doublevalue
39     id="height"
40     label="height"
41     step="1."
42     default="10."
43     icon="icons/Primitives/dimension_v.png"
44     tooltip="Enter the height of the cone">
45   </doublevalue>
46 </source>