Salome HOME
Issue #1343 Improvement of Extrusion and Revolution operations: removeFeature is...
[modules/shaper.git] / src / FeaturesPlugin / revolution_widget.xml
1 <!-- Copyright (C) 2014-20xx CEA/DEN, EDF R&D -->
2
3 <source>
4   <sketch_launcher id="sketch"
5     attribute_list_id="base"
6     label="Select:&lt;br /&gt;
7 1. Planar face of non-sketch object or a plane. Sketch creation will be started.&lt;br /&gt;
8 2. An existing sketch face or contour. Extrusion will be filled by it.&lt;br /&gt;
9 3. An existing result shape of kind: wires/edge/vertices.Extrusion will be filled by it."
10     shape_types="face objects">
11   </sketch_launcher>
12   <composite_multi_selector id="base"
13     label="Select a sketch face"
14     icon=":icons/sketch.png"
15     tooltip="Select a sketch face"
16     type_choice="Faces Objects">
17     <validator id="FeaturesPlugin_ValidatorExtrusionBase" parameters="Sketch"/>
18   </composite_multi_selector>
19   <toolbox id="CreationMethod">
20     <box id="ByAngles" title="By angles" icon=":icons/angle_up_down_32x32.png">
21       <shape_selector id="axis_object"
22                       icon=":icons/axis.png"
23                       label="Axis"
24                       tooltip="Select an edge for axis"
25                       shape_types="edge"
26                       default="">
27         <validator id="GeomValidators_ShapeType" parameters="line"/>
28       </shape_selector>
29       <groupbox>
30         <doublevalue
31           id="to_angle"
32           label="Angle"
33           step="1.0"
34           default="360"
35           icon=":icons/angle_up.png"
36           tooltip="To angle">
37         </doublevalue>
38       </groupbox>
39       <groupbox>
40         <doublevalue
41           id="from_angle"
42           label="Angle"
43           step="1.0"
44           default="0"
45           icon=":icons/angle_down.png"
46           tooltip="From angle">
47         </doublevalue>
48       </groupbox>
49     </box>
50     <box id="ByPlanesAndOffsets" title="By bounding planes and angles" icon=":icons/plane_inverted_32x32.png">
51       <shape_selector id="axis_object"
52                       icon=":icons/axis.png"
53                       label="Axis"
54                       tooltip="Select an edge for axis"
55                       shape_types="edge"
56                       default="">
57         <validator id="GeomValidators_ShapeType" parameters="line"/>
58       </shape_selector>
59       <groupbox title="From">
60         <shape_selector id="from_object"
61                         icon=":icons/plane.png"
62                         label="Plane face"
63                         tooltip="Bounding plane (select a planar face)"
64                         shape_types="face"
65                         default="&lt;base sketch&gt;">
66           <validator id="GeomValidators_Face" parameters="plane"/>
67         </shape_selector>
68         <doublevalue
69           id="from_offset"
70           label="Angle"
71           step="1.0"
72           default="0"
73           icon=":icons/angle_up_down.png"
74           tooltip="Angle for &quot;from&quot; bounding plane">
75         </doublevalue>
76       </groupbox>
77       <groupbox title="To">
78         <shape_selector id="to_object"
79                         icon=":icons/plane_inverted.png"
80                         label="Plane face"
81                         tooltip="Bounding plane (select a planar face)"
82                         shape_types="face"
83                         default="&lt;base sketch&gt;">
84           <validator id="GeomValidators_Face" parameters="plane"/>
85         </shape_selector>
86         <doublevalue
87           id="to_offset"
88           label="Angle"
89           step="1.0"
90           default="0"
91           icon=":icons/angle_up_down.png"
92           tooltip="Angle for &quot;to&quot; bounding plane">
93         </doublevalue>
94       </groupbox>
95     </box>
96   </toolbox>
97   <validator id="GeomValidators_ZeroOffset" parameters="CreationMethod,ByAngles,base,to_angle,from_angle,to_object,to_offset,from_object,from_offset"/>
98 </source>