Salome HOME
Fix for the issue #2753 : error when dump/load script
[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       geometrical_selection="true"
20       icon="icons/Primitives/axis.png"
21       tooltip="Select the axis of the cone">
22     <validator id="GeomValidators_ConstructionComposite"/>
23     <validator id="GeomValidators_ShapeType" parameters="line"/>
24   </shape_selector>
25   <doublevalue
26     id="base_radius"
27     label="Base radius"
28     step="1."
29     default="10."
30     tooltip="Enter the base radius of the cone">
31   </doublevalue>
32   <doublevalue
33     id="top_radius"
34     label="Top radius"
35     step="1."
36     default="5."
37     tooltip="Enter the top radius of the cone">
38   </doublevalue>
39   <doublevalue
40     id="height"
41     label="height"
42     step="1."
43     default="10."
44     icon="icons/Primitives/dimension_v.png"
45     tooltip="Enter the height of the cone">
46   </doublevalue>
47 </source>