]> SALOME platform Git repositories - modules/shaper.git/blob - src/FeaturesPlugin/extrusioncut_widget.xml
Salome HOME
Issue #1343 Improvement of Extrusion and Revolution operations: extrusion cut.
[modules/shaper.git] / src / FeaturesPlugin / extrusioncut_widget.xml
1 <!-- Copyright (C) 2014-20xx CEA/DEN, EDF R&D -->
2
3 <source>
4   <groupbox title="Extrusion">
5     <sketch_launcher id="sketch"
6       attribute_list_id="base"
7       label="Select:&lt;br /&gt;
8 1. Planar face of non-sketch object or a plane. Sketch creation will be started.&lt;br /&gt;
9 2. An existing sketch face or contour. Extrusion will be filled by it.&lt;br /&gt;
10 3. An existing result shape of kind: wires/edge/vertices.Extrusion will be filled by it."
11       shape_types="face objects">
12     </sketch_launcher>
13     <composite_multi_selector id="base"
14       label="Select a sketch face"
15       icon=":icons/sketch.png"
16       tooltip="Select a sketch face"
17       type_choice="Faces Objects">
18       <validator id="FeaturesPlugin_ValidatorExtrusionBase" parameters="Sketch"/>
19     </composite_multi_selector>
20     <toolbox id="CreationMethod">
21       <box id="BySizes" title="By sizes" icon=":icons/dimension_up_down_32x32.png">
22         <groupbox>
23           <doublevalue
24             id="to_size"
25             label="Size"
26             step="1.0"
27             default="0"
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="10"
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         <groupbox title="From">
45           <shape_selector id="from_object"
46                           icon=":icons/plane.png"
47                           label="Plane face"
48                           tooltip="Bounding plane (select a planar face)"
49                           shape_types="face"
50                           default="&lt;base sketch&gt;">
51             <validator id="GeomValidators_Face" parameters="plane"/>
52           </shape_selector>
53           <doublevalue id="from_offset"
54             label="Offset" step="1.0" default="0"
55             icon=":icons/dimension_up_down.png"
56             tooltip="Offset for bounding plane">
57           </doublevalue>
58         </groupbox>
59         <groupbox title="To">
60           <shape_selector id="to_object"
61                           icon=":icons/plane_inverted.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  id="to_offset"
69             label="Offset" step="1.0" default="0"
70             icon=":icons/dimension_up_down.png"
71             tooltip="Offset for bounding plane">
72           </doublevalue>
73         </groupbox>
74       </box>
75     </toolbox>
76   </groupbox>
77   <multi_selector id="boolean_objects"
78     label="Cut from:"
79     icon=":icons/cut_shape.png"
80     tooltip="Objects to Cut"
81     type_choice="Solids"
82     concealment="true">
83     <validator id="GeomValidators_ShapeType" parameters="solid"/>
84   </multi_selector>
85   <validator id="GeomValidators_ZeroOffset" parameters="CreationMethod,BySizes,sketch_selection,to_size,from_size,to_object,to_offset,from_object,from_offset"/>
86 </source>