1 <!-- Copyright (C) 2014-20xx CEA/DEN, EDF R&D -->
4 <groupbox title="Revolution">
5 <sketch_launcher id="sketch"
6 attribute_list_id="base"
7 label="Select:<br />
8 1. Planar face of non-sketch object or a plane. Sketch creation will be started.<br />
9 2. An existing sketch face or contour. Extrusion will be filled by it.<br />
10 3. An existing result shape of kind: wires/edge/vertices.Extrusion will be filled by it."
11 shape_types="face objects">
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_ValidatorCompositeLauncher" parameters="face,shell"/>
19 </composite_multi_selector>
20 <shape_selector id="axis_object"
21 icon=":icons/axis.png"
23 tooltip="Select an edge for axis"
26 <validator id="GeomValidators_ShapeType" parameters="line"/>
28 <toolbox id="CreationMethod">
29 <box id="ByAngles" title="By angles" icon=":icons/angle_up_down_32x32.png">
36 icon=":icons/angle_up.png"
46 icon=":icons/angle_down.png"
51 <box id="ByPlanesAndOffsets" title="By bounding planes and angles" icon=":icons/plane_inverted_32x32.png">
52 <groupbox title="From">
53 <shape_selector id="from_object"
54 icon=":icons/plane.png"
56 tooltip="Bounding plane (select a planar face)"
58 default="<sketch>">
59 <validator id="GeomValidators_Face" parameters="plane"/>
61 <doublevalue id="from_offset" label="Angle"
62 step="1.0" default="0"
63 icon=":icons/angle_up_down.png"
64 tooltip="Angle for "from" bounding plane">
68 <shape_selector id="to_object"
69 icon=":icons/plane_inverted.png"
71 tooltip="Bounding plane (select a planar face)"
73 default="<sketch>">
74 <validator id="GeomValidators_Face" parameters="plane"/>
76 <doublevalue id="to_offset" label="Angle"
77 step="1.0" default="0"
78 icon=":icons/angle_up_down.png"
79 tooltip="Angle for "to" bounding plane">
85 <multi_selector id="main_objects"
87 icon=":icons/cut_shape.png"
88 tooltip="Objects to Cut"
91 <validator id="GeomValidators_ShapeType" parameters="solid"/>
93 <validator id="GeomValidators_ZeroOffset" parameters="CreationMethod,ByAngles,sketch_selection,to_angle,from_angle,to_object,to_offset,from_object,from_offset"/>
94 <validator id="FeaturesPlugin_ValidatorCanBeEmpty" parameters="CreationMethod,ByAngles,base,to_object,from_object"/>