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"
11 tooltip="Create or edit a sketch"
12 shape_types="face objects">
14 <composite_multi_selector id="base"
15 label="Select a sketch face"
16 icon=":icons/sketch.png"
17 tooltip="Select a sketch face"
18 type_choice="Faces Objects">
19 <validator id="FeaturesPlugin_ValidatorExtrusionBase" parameters="Sketch"/>
20 </composite_multi_selector>
21 <toolbox id="CreationMethod">
22 <box id="BySizes" title="By sizes" icon=":icons/dimension_up_down_32x32.png">
29 icon=":icons/dimension_up.png"
39 icon=":icons/dimension_down.png"
44 <box id="ByPlanesAndOffsets" title="By bounding planes and offsets" icon=":icons/plane_inverted_32x32.png">
45 <groupbox title="From">
46 <shape_selector id="from_object"
47 icon=":icons/plane.png"
49 tooltip="Bounding plane (select a planar face)"
51 default="<base sketch>">
52 <validator id="GeomValidators_Face" parameters="plane"/>
59 icon=":icons/dimension_up_down.png"
60 tooltip="Offset for bounding plane">
64 <shape_selector id="to_object"
65 icon=":icons/plane_inverted.png"
67 tooltip="Bounding plane (select a planar face)"
69 default="<base sketch>">
70 <validator id="GeomValidators_Face" parameters="plane"/>
77 icon=":icons/dimension_up_down.png"
78 tooltip="Offset for bounding plane">
83 <validator id="GeomValidators_ZeroOffset" parameters="CreationMethod,BySizes,base,to_size,from_size,to_object,to_offset,from_object,from_offset"/>