Salome HOME
Issue #1367: Fill feature.
[modules/shaper.git] / src / FeaturesPlugin / revolution_widget.xml
1 <!-- Copyright (C) 2014-20xx CEA/DEN, EDF R&D -->
2
3 <source>
4   <sketch_launcher id="sketch"
5                    attribute_list_id="base"
6                    label="Select:&lt;br /&gt;
7 1. Planar face of non-sketch object or a plane. Sketch creation will be started.&lt;br /&gt;
8 2. An existing sketch face or contour. Extrusion will be filled by it.&lt;br /&gt;
9 3. An existing result shape of kind: wires/edge/vertices.Extrusion will be filled by it."
10                    shape_types="faces objects">
11     <validator id="FeaturesPlugin_ValidatorCompositeLauncher" parameters="base,Sketch"/>
12   </sketch_launcher>
13   <multi_selector id="base"
14                   label="Base objects:"
15                   tooltip="Select a base objects"
16                   type_choice="faces objects"
17                   concealment="true">
18     <validator id="FeaturesPlugin_ValidatorBaseForGeneration" parameters="vertex,edge,wire,face,shell"/>
19   </multi_selector>
20   <shape_selector id="axis_object"
21                   icon="icons/Features/axis.png"
22                   label="Axis"
23                   tooltip="Select an edge for axis"
24                   shape_types="edge"
25                   default="">
26     <validator id="GeomValidators_ShapeType" parameters="line"/>
27   </shape_selector>
28   <toolbox id="CreationMethod">
29     <box id="ByAngles"
30          title="By angles"
31          icon="icons/Features/angle_up_down_32x32.png">
32       <groupbox>
33         <doublevalue id="to_angle"
34                      label="Angle"
35                      step="1.0"
36                      default="360"
37                      icon="icons/Features/angle_up.png"
38                      tooltip="To angle"/>
39       </groupbox>
40       <groupbox>
41         <doublevalue id="from_angle"
42                      label="Angle"
43                      step="1.0"
44                      default="0"
45                      icon="icons/Features/angle_down.png"
46                      tooltip="From angle"/>
47       </groupbox>
48     </box>
49     <box id="ByPlanesAndOffsets"
50          title="By bounding planes and angles"
51          icon="icons/Features/plane_inverted_32x32.png">
52       <groupbox title="From">
53         <shape_selector id="from_object"
54                         icon="icons/Features/plane.png"
55                         label="Plane face"
56                         tooltip="Bounding plane (select a planar face)"
57                         shape_types="face"
58                         default="&lt;base sketch&gt;">
59           <validator id="GeomValidators_Face" parameters="plane"/>
60         </shape_selector>
61         <doublevalue id="from_offset"
62                      label="Angle"
63                      step="1.0"
64                      default="0"
65                      icon="icons/Features/angle_up_down.png"
66                      tooltip="Angle for &quot;from&quot; bounding plane"/>
67       </groupbox>
68       <groupbox title="To">
69         <shape_selector id="to_object"
70                         icon="icons/Features/plane_inverted.png"
71                         label="Plane face"
72                         tooltip="Bounding plane (select a planar face)"
73                         shape_types="face"
74                         default="&lt;base sketch&gt;">
75           <validator id="GeomValidators_Face" parameters="plane"/>
76         </shape_selector>
77         <doublevalue id="to_offset"
78                      label="Angle"
79                      step="1.0"
80                      default="0"
81                      icon="icons/Features/angle_up_down.png"
82                      tooltip="Angle for &quot;to&quot; bounding plane"/>
83       </groupbox>
84     </box>
85   </toolbox>
86   <validator id="GeomValidators_ZeroOffset" parameters="CreationMethod,ByAngles,base,to_angle,from_angle,to_object,to_offset,from_object,from_offset"/>
87 </source>