]> SALOME platform Git repositories - modules/shaper.git/blob - src/FeaturesPlugin/extrusion_widget.xml
Salome HOME
ac410cf69cfd5d31ee70164f4f586fb6718fb397
[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     label="Select: 1. Planar face of non-sketch object or a plane. Sketch creation will be started.
6 2. An existing sketch face or contour. Extrusion will be filled with them. 3.A shape on existing result: wires/edge/vertices.
7 Extrusion will be filled with them"
8     icon=":icons/sketch.png"
9     use_body="false"
10     tooltip="Create or edit a sketch"
11     shape_types="vertex edge face">
12   </sketch_launcher>
13   <toolbox id="CreationMethod">
14     <box id="BySizes" title="By sizes" icon=":icons/dimension_up_down_32x32.png">
15       <composite_multi_selector id="base"
16         label="Select a sketch face"
17         icon=":icons/sketch.png"
18         tooltip="Select a sketch face"
19         type_choice="Faces">
20         <validator id="PartSet_SketchEntityValidator" parameters="Sketch"/>
21       </composite_multi_selector>
22       <groupbox>
23         <doublevalue
24           id="to_size"
25           label="Size"
26           step="1.0"
27           default="10"
28           icon=":icons/dimension_up.png"
29           tooltip="To size">
30         </doublevalue>
31       </groupbox>
32       <groupbox>
33         <doublevalue
34           id="from_size"
35           label="Size"
36           step="1.0"
37           default="0"
38           icon=":icons/dimension_down.png"
39           tooltip="From size">
40         </doublevalue>
41       </groupbox>
42     </box>
43     <box id="ByPlanesAndOffsets" title="By bounding planes and offsets" icon=":icons/plane_inverted_32x32.png">
44       <composite_multi_selector id="base"
45         label="Select a sketch face"
46         icon=":icons/sketch.png"
47         tooltip="Select a sketch face"
48         type_choice="Faces">
49         <validator id="PartSet_SketchEntityValidator" parameters="Sketch"/>
50       </composite_multi_selector>
51       <groupbox title="From">
52         <shape_selector id="from_object"
53                         icon=":icons/plane.png"
54                         label="Plane face"
55                         tooltip="Bounding plane (select a planar face)"
56                         shape_types="face"
57                         default="&lt;base sketch&gt;">
58           <validator id="GeomValidators_Face" parameters="plane"/>
59         </shape_selector>
60         <doublevalue
61           id="from_offset"
62           label="Offset"
63           step="1.0"
64           default="0"
65           icon=":icons/dimension_up_down.png"
66           tooltip="Offset for bounding plane">
67         </doublevalue>
68       </groupbox>
69       <groupbox title="To">
70         <shape_selector id="to_object"
71                         icon=":icons/plane_inverted.png"
72                         label="Plane face"
73                         tooltip="Bounding plane (select a planar face)"
74                         shape_types="face"
75                         default="&lt;base sketch&gt;">
76           <validator id="GeomValidators_Face" parameters="plane"/>
77         </shape_selector>
78         <doublevalue
79           id="to_offset"
80           label="Offset"
81           step="1.0"
82           default="0"
83           icon=":icons/dimension_up_down.png"
84           tooltip="Offset for bounding plane">
85         </doublevalue>
86       </groupbox>
87     </box>
88   </toolbox>
89   <validator id="GeomValidators_ZeroOffset" parameters="CreationMethod,BySizes,base,to_size,from_size,to_object,to_offset,from_object,from_offset"/>
90 </source>