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