Salome HOME
5783d542c91d650034452da3bccba393a648ea67
[modules/shaper.git] / src / FeaturesPlugin / extrusion_widget.xml
1 <!-- Copyright (C) 2014-20xx CEA/DEN, EDF R&D -->
2
3 <source>
4   <multi_selector id="base"
5     label="Select a sketch face"
6     icon=":icons/sketch.png"
7     tooltip="Select a sketch face"
8     type_choice="Faces">
9     <validator id="PartSet_SketchEntityValidator" parameters="Sketch"/>
10   </multi_selector>
11   <groupbox title="From">
12     <shape_selector id="from_object"
13                     icon=":icons/plane.png"
14                     label="Plane face"
15                     tooltip="Select a planar face"
16                     shape_types="face"
17                     default="&lt;sketch&gt;">
18       <validator id="GeomValidators_Face" parameters="plane"/>
19     </shape_selector>
20     <doublevalue
21       id="from_size"
22       label="Size"
23       min="0"
24       step="1.0"
25       default="0"
26       icon=":icons/dimension_down.png"
27       tooltip="Height">
28       <validator id="GeomValidators_Positive"/>
29     </doublevalue>
30   </groupbox>
31   <groupbox title="To">
32     <shape_selector id="to_object"
33                     icon=":icons/plane_inverted.png"
34                     label="Plane face"
35                     tooltip="Select a planar face"
36                     shape_types="face"
37                     default="&lt;sketch&gt;">
38       <validator id="GeomValidators_Face" parameters="plane"/>
39     </shape_selector>
40     <doublevalue
41       id="to_size"
42       label="Size"
43       min="0"
44       step="1.0"
45       default="10"
46       icon=":icons/dimension_up.png"
47       tooltip="Height">
48       <validator id="GeomValidators_Positive"/>
49     </doublevalue>
50   </groupbox>
51 <!--XML definition of the revolution:-->
52 <!--  <multi_selector id="base"
53     label="Select a sketch face"
54     icon=":icons/sketch.png"
55     tooltip="Select a sketch face"
56     type_choice="Faces">
57     <validator id="PartSet_SketchEntityValidator" parameters="Sketch"/>
58   </multi_selector>
59   <shape_selector id="axis_object"
60                   icon=":icons/axis.png"
61                   label="Plane face"
62                   tooltip="Select a planar face"
63                   shape_types="edge">
64   </shape_selector>
65   <groupbox title="From">
66     <shape_selector id="from_object"
67                     icon=":icons/plane.png"
68                     label="Plane face"
69                     tooltip="Select a planar face"
70                     shape_types="face">
71       <validator id="GeomValidators_Face" parameters="plane"/>
72     </shape_selector>
73     <doublevalue
74       id="from_size"
75       label="Size"
76       min="0"
77       step="1.0"
78       default="0"
79       icon=":icons/angle_down.png"
80       tooltip="Height">
81       <validator id="GeomValidators_Positive"/>
82     </doublevalue>
83   </groupbox>
84   <groupbox title="To">
85     <shape_selector id="to_object"
86                     icon=":icons/plane_inverted.png"
87                     label="Plane face"
88                     tooltip="Select a planar face"
89                     shape_types="face">
90       <validator id="GeomValidators_Face" parameters="plane"/>
91     </shape_selector>
92     <doublevalue
93       id="to_size"
94       label="Size"
95       min="0"
96       step="1.0"
97       default="10"
98       icon=":icons/angle_up.png"
99       tooltip="Height">
100       <validator id="GeomValidators_Positive"/>
101     </doublevalue>
102   </groupbox>-->
103 </source>