Salome HOME
bos #29098 Merge branch 'CR29098'
[modules/shaper.git] / src / PrimitivesPlugin / cone_widget.xml
1 <source>
2   <shape_selector
3       id="base_point"
4       label="base_point"
5       default=""
6       shape_types="vertex"
7       icon="icons/Primitives/point.png"
8       tooltip="Select the center of the base of the cone">
9     <validator id="GeomValidators_ConstructionComposite"/>
10     <validator id="GeomValidators_ShapeType" parameters="vertex"/>
11   </shape_selector>
12   <shape_selector
13       id="axis"
14       label="axis"
15       default=""
16       shape_types="edge"
17       geometrical_selection="true"
18       icon="icons/Primitives/axis.png"
19       tooltip="Select the axis of the cone">
20     <validator id="GeomValidators_ConstructionComposite"/>
21     <validator id="GeomValidators_ShapeType" parameters="line"/>
22   </shape_selector>
23   <doublevalue
24     id="base_radius"
25     label="Base radius"
26     step="1."
27     default="10."
28     tooltip="Enter the base radius of the cone">
29   </doublevalue>
30   <doublevalue
31     id="top_radius"
32     label="Top radius"
33     step="1."
34     default="5."
35     tooltip="Enter the top radius of the cone">
36   </doublevalue>
37   <doublevalue
38     id="height"
39     label="height"
40     step="1."
41     default="10."
42     icon="icons/Primitives/dimension_v.png"
43     tooltip="Enter the height of the cone">
44   </doublevalue>
45 </source>