1 <!-- Copyright (C) 2014-20xx CEA/DEN, EDF R&D -->
4 <groupbox title="Revolution">
5 <sketch_launcher id="sketch"
7 icon=":icons/sketch.png"
9 tooltip="Create or edit a sketch">
11 <toolbox id="CreationMethod">
12 <box id="ByAngles" title="By angles" icon=":icons/angle_up_down_32x32.png">
13 <shape_selector id="axis_object"
14 icon=":icons/axis.png"
16 tooltip="Select an edge for axis"
19 <validator id="GeomValidators_ShapeType" parameters="line"/>
27 icon=":icons/angle_up.png"
37 icon=":icons/angle_down.png"
42 <box id="ByPlanesAndOffsets" title="By bounding planes and offsets" icon=":icons/plane_inverted_32x32.png">
43 <shape_selector id="axis_object"
44 icon=":icons/axis.png"
46 tooltip="Select an edge for axis"
49 <validator id="GeomValidators_ShapeType" parameters="line"/>
51 <groupbox title="From">
52 <shape_selector id="from_object"
53 icon=":icons/plane.png"
55 tooltip="Bounding plane (select a planar face)"
57 default="<sketch>">
58 <validator id="GeomValidators_Face" parameters="plane"/>
60 <doublevalue id="from_offset" label="Offset"
61 step="1.0" default="0"
62 icon=":icons/angle_up_down.png"
63 tooltip="Offset for bounding plane">
67 <shape_selector id="to_object"
68 icon=":icons/plane_inverted.png"
70 tooltip="Bounding plane (select a planar face)"
72 default="<sketch>">
73 <validator id="GeomValidators_Face" parameters="plane"/>
75 <doublevalue id="to_offset" label="Offset"
76 step="1.0" default="0"
77 icon=":icons/angle_up_down.png"
78 tooltip="Offset for bounding plane">
84 <validator id="GeomValidators_ZeroOffset" parameters="CreationMethod,ByAngles,sketch_selection,to_angle,from_angle,to_object,to_offset,from_object,from_offset"/>