Salome HOME
Feature #527: 4.04. Extrusion and Revolution from and up to planar face or plane
[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       <validator id="GeomValidators_Face" parameters="plane"/>
18     </shape_selector>
19     <doublevalue
20       id="from_size"
21       label="Size"
22       min="0"
23       step="1.0"
24       default="0"
25       icon=":icons/dimension_down.png"
26       tooltip="Height">
27       <validator id="GeomValidators_Positive"/>
28     </doublevalue>
29   </groupbox>
30   <groupbox title="To">
31     <shape_selector id="to_object"
32                     icon=":icons/plane_inverted.png"
33                     label="Plane face"
34                     tooltip="Select a planar face"
35                     shape_types="face">
36       <validator id="GeomValidators_Face" parameters="plane"/>
37     </shape_selector>
38     <doublevalue
39       id="to_size"
40       label="Size"
41       min="0"
42       step="1.0"
43       default="10"
44       icon=":icons/dimension_up.png"
45       tooltip="Height">
46       <validator id="GeomValidators_Positive"/>
47     </doublevalue>
48   </groupbox>
49 <!--XML definition of the revolution:-->
50 <!--  <multi_selector id="base"
51     label="Select a sketch face"
52     icon=":icons/sketch.png"
53     tooltip="Select a sketch face"
54     type_choice="Faces">
55     <validator id="PartSet_SketchEntityValidator" parameters="Sketch"/>
56   </multi_selector>
57   <shape_selector id="axis_object"
58                   icon=":icons/axis.png"
59                   label="Plane face"
60                   tooltip="Select a planar face"
61                   shape_types="edge">
62   </shape_selector>
63   <groupbox title="From">
64     <shape_selector id="from_object"
65                     icon=":icons/plane.png"
66                     label="Plane face"
67                     tooltip="Select a planar face"
68                     shape_types="face">
69       <validator id="GeomValidators_Face" parameters="plane"/>
70     </shape_selector>
71     <doublevalue
72       id="from_size"
73       label="Size"
74       min="0"
75       step="1.0"
76       default="0"
77       icon=":icons/angle_down.png"
78       tooltip="Height">
79       <validator id="GeomValidators_Positive"/>
80     </doublevalue>
81   </groupbox>
82   <groupbox title="To">
83     <shape_selector id="to_object"
84                     icon=":icons/plane_inverted.png"
85                     label="Plane face"
86                     tooltip="Select a planar face"
87                     shape_types="face">
88       <validator id="GeomValidators_Face" parameters="plane"/>
89     </shape_selector>
90     <doublevalue
91       id="to_size"
92       label="Size"
93       min="0"
94       step="1.0"
95       default="10"
96       icon=":icons/angle_up.png"
97       tooltip="Height">
98       <validator id="GeomValidators_Positive"/>
99     </doublevalue>
100   </groupbox>-->
101 </source>