Salome HOME
Increment version: 9.2.0
[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       icon="icons/Primitives/axis.png"
20       tooltip="Select the axis of the torus">
21     <validator id="GeomValidators_ConstructionComposite"/>
22     <validator id="GeomValidators_ShapeType" parameters="line"/>
23   </shape_selector>
24   <doublevalue
25     id="radius"
26     label="Radius"
27     step="1."
28     default="15."
29     tooltip="Enter the radius of the torus">
30   </doublevalue>
31   <doublevalue
32     id="ring_radius"
33     label="Ring radius"
34     step="1."
35     default="3."
36     tooltip="Enter the ring radius of the torus">
37   </doublevalue>
38 </source>