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="vertices edges wires faces shells compounds">
12 <validator id="FeaturesPlugin_ValidatorCompositeLauncher" parameters="base,Sketch"/>
14 <multi_selector id="base"
15 label="Select a sketch face"
16 icon="icons/Features/sketch.png"
17 tooltip="Select a sketch face"
18 type_choice="vertices edges wires faces shells compounds"
20 <validator id="FeaturesPlugin_ValidatorBaseForGeneration" parameters="vertex,edge,wire,face,shell,compound"/>
22 <shape_selector id="axis_object"
23 icon="icons/Features/axis.png"
25 tooltip="Select an edge for axis"
28 <validator id="GeomValidators_ShapeType" parameters="line"/>
30 <toolbox id="CreationMethod">
31 <box id="ByAngles" title="By angles" icon="icons/Features/angle_up_down_32x32.png">
38 icon="icons/Features/angle_up.png"
48 icon="icons/Features/angle_down.png"
53 <box id="ByPlanesAndOffsets" title="By bounding planes and angles" icon="icons/Features/plane_inverted_32x32.png">
54 <groupbox title="From">
55 <shape_selector id="from_object"
56 icon="icons/Features/plane.png"
58 tooltip="Bounding plane (select a planar face)"
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" for bounding plane">
70 <shape_selector id="to_object"
71 icon="icons/Features/plane_inverted.png"
73 tooltip="Bounding plane (select a planar face)"
75 default="<sketch>">
76 <validator id="GeomValidators_Face" parameters="plane"/>
78 <doublevalue id="to_offset" label="Angle"
79 step="1.0" default="0"
80 icon="icons/Features/angle_up_down.png"
81 tooltip="Angle for "to" bounding plane">
87 <multi_selector id="main_objects"
89 icon="icons/Features/cut_shape.png"
90 tooltip="Objects to Fuse"
94 <validator id="GeomValidators_ShapeType" parameters="solid"/>
96 <validator id="GeomValidators_ZeroOffset" parameters="CreationMethod,ByAngles,sketch_selection,to_angle,from_angle,to_object,to_offset,from_object,from_offset"/>