1 <!-- Copyright (C) 2014-20xx CEA/DEN, EDF R&D -->
4 <sketch_launcher id="sketch"
5 attribute_list_id="base"
6 label="Select: 1. Planar face of non-sketch object or a plane. Sketch creation will be started.
7 2. An existing sketch face or contour. Extrusion will be filled with them. 3.A shape on existing result: wires/edge/vertices.
8 Extrusion will be filled with them"
9 icon=":icons/sketch.png"
10 tooltip="Create or edit a sketch"
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_ValidatorExtrusionBase" parameters="Sketch"/>
19 </composite_multi_selector>
20 <toolbox id="CreationMethod">
21 <box id="BySizes" title="By sizes" icon=":icons/dimension_up_down_32x32.png">
28 icon=":icons/dimension_up.png"
38 icon=":icons/dimension_down.png"
43 <box id="ByPlanesAndOffsets" title="By bounding planes and offsets" icon=":icons/plane_inverted_32x32.png">
44 <groupbox title="From">
45 <shape_selector id="from_object"
46 icon=":icons/plane.png"
48 tooltip="Bounding plane (select a planar face)"
50 default="<base sketch>">
51 <validator id="GeomValidators_Face" parameters="plane"/>
58 icon=":icons/dimension_up_down.png"
59 tooltip="Offset for bounding plane">
63 <shape_selector id="to_object"
64 icon=":icons/plane_inverted.png"
66 tooltip="Bounding plane (select a planar face)"
68 default="<base sketch>">
69 <validator id="GeomValidators_Face" parameters="plane"/>
76 icon=":icons/dimension_up_down.png"
77 tooltip="Offset for bounding plane">
82 <validator id="GeomValidators_ZeroOffset" parameters="CreationMethod,BySizes,base,to_size,from_size,to_object,to_offset,from_object,from_offset"/>