Salome HOME
30f6489e429fbc8a002da4f0847511f15f9c6ce9
[modules/shaper.git] / src / PrimitivesPlugin / torus_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 torus">
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 torus">
22     <validator id="GeomValidators_ConstructionComposite"/>
23     <validator id="GeomValidators_ShapeType" parameters="line"/>
24   </shape_selector>
25   <doublevalue
26     id="radius"
27     label="Radius"
28     step="1."
29     default="15."
30     tooltip="Enter the radius of the torus">
31   </doublevalue>
32   <doublevalue
33     id="ring_radius"
34     label="Ring radius"
35     step="1."
36     default="3."
37     tooltip="Enter the ring radius of the torus">
38   </doublevalue>
39 </source>