Salome HOME
Issue #1343 Improvement of Extrusion and Revolution operations: extrusion cut.
[modules/shaper.git] / src / FeaturesPlugin / extrusion_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="BySizes" title="By sizes" icon=":icons/dimension_up_down_32x32.png">
21       <groupbox>
22         <doublevalue
23           id="to_size"
24           label="Size"
25           step="1.0"
26           default="10"
27           icon=":icons/dimension_up.png"
28           tooltip="To size">
29         </doublevalue>
30       </groupbox>
31       <groupbox>
32         <doublevalue
33           id="from_size"
34           label="Size"
35           step="1.0"
36           default="0"
37           icon=":icons/dimension_down.png"
38           tooltip="From size">
39         </doublevalue>
40       </groupbox>
41     </box>
42     <box id="ByPlanesAndOffsets" title="By bounding planes and offsets" icon=":icons/plane_inverted_32x32.png">
43       <groupbox title="From">
44         <shape_selector id="from_object"
45                         icon=":icons/plane.png"
46                         label="Plane face"
47                         tooltip="Bounding plane (select a planar face)"
48                         shape_types="face"
49                         default="&lt;base sketch&gt;">
50           <validator id="GeomValidators_Face" parameters="plane"/>
51         </shape_selector>
52         <doublevalue
53           id="from_offset"
54           label="Offset"
55           step="1.0"
56           default="0"
57           icon=":icons/dimension_up_down.png"
58           tooltip="Offset for bounding plane">
59         </doublevalue>
60       </groupbox>
61       <groupbox title="To">
62         <shape_selector id="to_object"
63                         icon=":icons/plane_inverted.png"
64                         label="Plane face"
65                         tooltip="Bounding plane (select a planar face)"
66                         shape_types="face"
67                         default="&lt;base sketch&gt;">
68           <validator id="GeomValidators_Face" parameters="plane"/>
69         </shape_selector>
70         <doublevalue
71           id="to_offset"
72           label="Offset"
73           step="1.0"
74           default="0"
75           icon=":icons/dimension_up_down.png"
76           tooltip="Offset for bounding plane">
77         </doublevalue>
78       </groupbox>
79     </box>
80   </toolbox>
81   <validator id="GeomValidators_ZeroOffset" parameters="CreationMethod,BySizes,base,to_size,from_size,to_object,to_offset,from_object,from_offset"/>
82 </source>