2 <groupbox title="Revolution">
3 <sketch_launcher id="sketch"
4 attribute_list_id="base"
5 label="Select:<br />
6 1. Planar face of non-sketch object or a plane. Sketch creation will be started.<br />
7 2. An existing sketch face or contour. Extrusion will be filled by it.<br />
8 3. An existing result shape of kind: wires/edges/vertices. Extrusion will be filled by it."
9 shape_types="wires faces shells">
10 <validator id="FeaturesPlugin_ValidatorCompositeLauncher" parameters="base,Sketch"/>
12 <multi_selector id="base"
13 label="Select a sketch face"
14 icon="icons/Features/sketch.png"
15 tooltip="Select a sketch face"
16 shape_types="wires faces shells"
18 <validator id="FeaturesPlugin_ValidatorBaseForGeneration" parameters="face,shell"/>
20 <shape_selector id="axis_object"
21 icon="icons/Features/axis.png"
23 tooltip="Select an edge for axis"
25 geometrical_selection="true"
27 <validator id="GeomValidators_ShapeType" parameters="line"/>
29 <toolbox id="CreationMethod">
30 <box id="ByAngles" title="By angles" icon="icons/Features/angle_up_down_32x32.png">
37 icon="icons/Features/angle_up.png"
47 icon="icons/Features/angle_down.png"
52 <box id="ByPlanesAndOffsets" title="By bounding planes and angles" icon="icons/Features/plane_inverted_32x32.png">
53 <groupbox title="From">
54 <shape_selector id="from_object"
55 icon="icons/Features/plane.png"
57 tooltip="Bounding plane (select a planar face)"
59 geometrical_selection="true"
60 default="<sketch>">
61 <validator id="GeomValidators_Face" parameters="plane"/>
63 <doublevalue id="from_offset" label="Angle"
64 step="1.0" default="0"
65 icon="icons/Features/angle_up_down.png"
66 tooltip="Angle for "from" bounding plane">
70 <shape_selector id="to_object"
71 icon="icons/Features/plane_inverted.png"
73 tooltip="Bounding plane (select a planar face)"
75 geometrical_selection="true"
76 default="<sketch>">
77 <validator id="GeomValidators_Face" parameters="plane"/>
79 <doublevalue id="to_offset" label="Angle"
80 step="1.0" default="0"
81 icon="icons/Features/angle_up_down.png"
82 tooltip="Angle for "to" bounding plane">
86 <box id="ThroughAll" title="Through all" icon="icons/Features/revol_throughall_32x32.png">
90 <multi_selector id="main_objects"
92 icon="icons/Features/cut_shape.png"
93 tooltip="Objects to Cut"
98 <validator id="GeomValidators_ShapeType" parameters="solid"/>
100 <validator id="GeomValidators_ZeroOffset" parameters="CreationMethod,ByAngles,sketch_selection,to_angle,from_angle,to_object,to_offset,from_object,from_offset"/>
101 <validator id="FeaturesPlugin_ValidatorBaseForGenerationSketchOrSketchObjects" parameters="base"/>