]> SALOME platform Git repositories - modules/shaper.git/blob - src/FeaturesPlugin/revolutionfuse_widget.xml
Salome HOME
Issue #1343 Improvement of Extrusion and Revolution operations: revolution/revolution...
[modules/shaper.git] / src / FeaturesPlugin / revolutionfuse_widget.xml
1 <!-- Copyright (C) 2014-20xx CEA/DEN, EDF R&D -->
2
3 <source>
4   <groupbox title="Revolution">
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="ByAngles" title="By angles" icon=":icons/angle_up_down_32x32.png">
22         <shape_selector id="axis_object"
23                         icon=":icons/axis.png"
24                         label="Axis"
25                         tooltip="Select an edge for axis"
26                         shape_types="edge"
27                         default="">
28           <validator id="GeomValidators_ShapeType" parameters="line"/>
29         </shape_selector>
30         <groupbox>
31           <doublevalue
32             id="to_angle"
33             label="Angle"
34             step="1.0"
35             default="0"
36             icon=":icons/angle_up.png"
37             tooltip="To angle">
38           </doublevalue>
39         </groupbox>
40         <groupbox>
41           <doublevalue
42             id="from_angle"
43             label="Angle"
44             step="1.0"
45             default="10"
46             icon=":icons/angle_down.png"
47             tooltip="From angle">
48           </doublevalue>
49         </groupbox>
50       </box>
51       <box id="ByPlanesAndOffsets" title="By bounding planes and angles" icon=":icons/plane_inverted_32x32.png">
52         <shape_selector id="axis_object"
53                         icon=":icons/axis.png"
54                         label="Axis"
55                         tooltip="Select an edge for axis"
56                         shape_types="edge"
57                         default="">
58           <validator id="GeomValidators_ShapeType" parameters="line"/>
59         </shape_selector>
60         <groupbox title="From">
61           <shape_selector id="from_object"
62                           icon=":icons/plane.png"
63                           label="Plane face"
64                           tooltip="Bounding plane (select a planar face)"
65                           shape_types="face"
66                           default="&lt;sketch&gt;">
67             <validator id="GeomValidators_Face" parameters="plane"/>
68           </shape_selector>
69           <doublevalue id="from_offset" label="Angle"
70             step="1.0" default="0"
71             icon=":icons/angle_up_down.png"
72             tooltip="Angle for &quot;from&quot; for bounding plane">
73           </doublevalue>
74         </groupbox>
75         <groupbox title="To">
76           <shape_selector id="to_object"
77                           icon=":icons/plane_inverted.png"
78                           label="Plane face"
79                           tooltip="Bounding plane (select a planar face)"
80                           shape_types="face"
81                           default="&lt;sketch&gt;">
82             <validator id="GeomValidators_Face" parameters="plane"/>
83           </shape_selector>
84           <doublevalue  id="to_offset" label="Angle"
85             step="1.0" default="0"
86             icon=":icons/angle_up_down.png"
87             tooltip="Angle for &quot;to&quot; bounding plane">
88           </doublevalue>
89         </groupbox>
90       </box>
91     </toolbox>
92   </groupbox>
93   <multi_selector id="boolean_objects"
94     label="Fuse with:"
95     icon=":icons/cut_shape.png"
96     tooltip="Objects to Fuse"
97     type_choice="Solids"
98     concealment="true">
99     <validator id="GeomValidators_ShapeType" parameters="solid"/>
100   </multi_selector>
101   <validator id="GeomValidators_ZeroOffset" parameters="CreationMethod,ByAngles,sketch_selection,to_angle,from_angle,to_object,to_offset,from_object,from_offset"/>
102 </source>