]> SALOME platform Git repositories - modules/shaper.git/blob - src/FeaturesPlugin/revolutionfuse_widget.xml
Salome HOME
La part
[modules/shaper.git] / src / FeaturesPlugin / revolutionfuse_widget.xml
1 <source>
2   <groupbox title="Revolution">
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"
10       type_icons=":/icons/revolution_vertex32.png :/icons/revolution_edge32.png :/icons/revolution_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"
20       type_icons=":/icons/revolution_vertex32.png :/icons/revolution_edge32.png :/icons/revolution_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="axis_object"
27                     icon="icons/Features/axis.png"
28                     label="Axis"
29                     tooltip="Select an edge for axis"
30                     shape_types="edge"
31                     geometrical_selection="true"
32                     default="">
33       <validator id="GeomValidators_ShapeType" parameters="line"/>
34     </shape_selector>
35     <toolbox id="CreationMethod">
36       <box id="ByAngles" title="By angles" icon="icons/Features/angle_up_down_32x32.png">
37         <groupbox>
38           <doublevalue
39             id="to_angle"
40             label="Angle"
41             step="1.0"
42             default="0"
43             icon="icons/Features/angle_up.png"
44             tooltip="To angle">
45           </doublevalue>
46         </groupbox>
47         <groupbox>
48           <doublevalue
49             id="from_angle"
50             label="Angle"
51             step="1.0"
52             default="10"
53             icon="icons/Features/angle_down.png"
54             tooltip="From angle">
55           </doublevalue>
56         </groupbox>
57       </box>
58       <box id="ByPlanesAndOffsets" title="By bounding planes and angles" 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="Plane face"
63                           tooltip="Bounding plane (select a planar face)"
64                           shape_types="face"
65                           geometrical_selection="true"
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/Features/angle_up_down.png"
72             tooltip="Angle for &quot;from&quot; 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="Plane face"
79                           tooltip="Bounding plane (select a planar face)"
80                           shape_types="face"
81                           geometrical_selection="true"
82                           default="&lt;sketch&gt;">
83             <validator id="GeomValidators_Face" parameters="plane"/>
84           </shape_selector>
85           <doublevalue  id="to_offset" label="Angle"
86             step="1.0" default="0"
87             icon="icons/Features/angle_up_down.png"
88             tooltip="Angle for &quot;to&quot; bounding plane">
89           </doublevalue>
90         </groupbox>
91       </box>
92       <box id="ThroughAll" title="Through all" icon="icons/Features/revol_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,ByAngles,sketch_selection,to_angle,from_angle,to_object,to_offset,from_object,from_offset"/>
107   <validator id="FeaturesPlugin_ValidatorBaseForGenerationSketchOrSketchObjects" parameters="base"/>
108 </source>