]> SALOME platform Git repositories - modules/shaper.git/blob - src/FeaturesPlugin/extrusionfuse_widget.xml
Salome HOME
Update unit tests according to new behavior of sketch's MultiRotation/MultiTranslation
[modules/shaper.git] / src / FeaturesPlugin / extrusionfuse_widget.xml
1 <source>
2   <groupbox title="Extrusion">
3     <sketch_launcher id="sketch"
4       attribute_list_id="base"
5       label="Select:&lt;br /&gt;
6 1. Planar face of non-sketch object or a plane. Sketch creation will be started.&lt;br /&gt;
7 2. An existing sketch face or contour. Extrusion will be filled by it.&lt;br /&gt;
8 3. An existing result shape of kind: wires/edges/vertices. Extrusion will be filled by it."
9       shape_types="Vertices Edges Faces|Wires"
10       type_icons=":/icons/extrusion_vertex32.png :/icons/extrusion_edge32.png :/icons/extrusion_face32.png"
11       default_type = "2"
12       use_choice="true">
13       <validator id="FeaturesPlugin_ValidatorCompositeLauncher" parameters="base,Sketch"/>
14     </sketch_launcher>
15     <multi_selector id="base"
16       label="Select a sketch face"
17       icon="icons/Features/sketch.png"
18       tooltip="Select a sketch face"
19       shape_types="Vertices Edges Faces|Wire"
20       type_icons=":/icons/extrusion_vertex32.png :/icons/extrusion_edge32.png :/icons/extrusion_face32.png"
21       default_type = "2"
22       use_choice="true"
23       concealment="true">
24       <validator id="FeaturesPlugin_ValidatorBaseForGeneration" parameters="vertex,edge,wire,face,shell,compound"/>
25     </multi_selector>
26     <shape_selector id="direction_object"
27                     icon="icons/Features/axis.png"
28                     label="Direction"
29                     tooltip="Select an edge for direction"
30                     shape_types="edge"
31                     geometrical_selection="true"
32                     default="&lt;base normal&gt;">
33       <validator id="GeomValidators_ShapeType" parameters="empty,line"/>
34     </shape_selector>
35     <toolbox id="CreationMethod">
36       <box id="BySizes" title="By sizes" icon="icons/Features/dimension_up_down_32x32.png">
37         <groupbox>
38           <doublevalue
39             id="to_size"
40             label="Size"
41             step="1.0"
42             default="10"
43             icon="icons/Features/dimension_up.png"
44             tooltip="To size">
45           </doublevalue>
46         </groupbox>
47         <groupbox>
48           <doublevalue
49             id="from_size"
50             label="Size"
51             step="1.0"
52             default="0"
53             icon="icons/Features/dimension_down.png"
54             tooltip="From size">
55           </doublevalue>
56         </groupbox>
57       </box>
58       <box id="ByPlanesAndOffsets" title="By bounding faces and offsets" icon="icons/Features/plane_inverted_32x32.png">
59         <groupbox title="From">
60           <shape_selector id="from_object"
61                           icon="icons/Features/plane.png"
62                           label="From face"
63                           tooltip="From face"
64                           shape_types="face"
65                           geometrical_selection="true"
66                           default="&lt;base sketch&gt;">
67             <validator id="FeaturesPlugin_ValidatorExtrusionBoundary"/>
68           </shape_selector>
69           <doublevalue id="from_offset"
70             label="Offset" step="1.0" default="0"
71             icon="icons/Features/dimension_up_down.png"
72             tooltip="Offset for bounding plane">
73           </doublevalue>
74         </groupbox>
75         <groupbox title="To">
76           <shape_selector id="to_object"
77                           icon="icons/Features/plane_inverted.png"
78                           label="To face"
79                           tooltip="To face"
80                           shape_types="face"
81                           geometrical_selection="true"
82                           default="&lt;base sketch&gt;">
83             <validator id="FeaturesPlugin_ValidatorExtrusionBoundary"/>
84           </shape_selector>
85           <doublevalue  id="to_offset"
86             label="Offset" step="1.0" default="0"
87             icon="icons/Features/dimension_up_down.png"
88             tooltip="Offset for bounding plane">
89           </doublevalue>
90         </groupbox>
91       </box>
92       <box id="ThroughAll" title="Through all" icon="icons/Features/extrusion_throughall_32x32.png">
93       </box>
94     </toolbox>
95   </groupbox>
96   <multi_selector id="main_objects"
97     label="Fuse with:"
98     icon="icons/Features/cut_shape.png"
99     tooltip="Objects to Fuse"
100     shape_types="Objects"
101     use_choice="false"
102     concealment="true"
103     main_argument="true">
104     <validator id="GeomValidators_ShapeType" parameters="solid"/>
105   </multi_selector>
106   <validator id="GeomValidators_ZeroOffset" parameters="CreationMethod,BySizes,sketch_selection,to_size,from_size,to_object,to_offset,from_object,from_offset"/>
107   <validator id="FeaturesPlugin_ValidatorExtrusionDir" parameters="base,direction_object"/>
108   <validator id="FeaturesPlugin_ValidatorBaseForGenerationSketchOrSketchObjects" parameters="base"/>
109 </source>