1 <!-- Copyright (C) 2014-20xx CEA/DEN, EDF R&D -->
4 <sketch_launcher id="sketch"
5 attribute_list_id="base"
6 label="Select:<br />
7 1. Planar face of non-sketch object or a plane. Sketch creation will be started.<br />
8 2. An existing sketch face or contour. Extrusion will be filled by it.<br />
9 3. An existing result shape of kind: wires/edge/vertices.Extrusion will be filled by it."
10 shape_types="vertices edges wires faces shells solids compsolids compounds">
11 <validator id="FeaturesPlugin_ValidatorCompositeLauncher" parameters="base,Sketch"/>
13 <toolbox id="CreationMethod">
16 icon="icons/Features/dimension_up_down_32x32.png">
18 <doublevalue id="to_size"
22 icon="icons/Features/dimension_up.png"
26 <doublevalue id="from_size"
30 icon="icons/Features/dimension_down.png"
34 <box id="ByPlanesAndOffsets"
35 title="By bounding planes and offsets"
36 icon="icons/Features/plane_inverted_32x32.png">
37 <groupbox title="From">
38 <shape_selector id="from_object"
39 icon="icons/Features/plane.png"
41 tooltip="Bounding plane (select a planar face)"
43 default="<base sketch>">
44 <validator id="GeomValidators_Face" parameters="plane"/>
46 <doublevalue id="from_offset"
50 icon="icons/Features/dimension_up_down.png"
51 tooltip="Offset for "from" bounding plane"/>
54 <shape_selector id="to_object"
55 icon="icons/Features/plane_inverted.png"
57 tooltip="Bounding plane (select a planar face)"
59 default="<base sketch>">
60 <validator id="GeomValidators_Face" parameters="plane"/>
62 <doublevalue id="to_offset"
66 icon="icons/Features/dimension_up_down.png"
67 tooltip="Offset for "to" bounding plane"/>
71 <multi_selector id="base"
73 tooltip="Select a base objects"
74 type_choice="vertices edges wires faces shells compounds"
76 <validator id="FeaturesPlugin_ValidatorBaseForGeneration" parameters="vertex,edge,wire,face,shell,compound"/>
78 <shape_selector id="direction_object"
79 icon="icons/Features/axis.png"
81 tooltip="Select an edge for direction"
83 default="<base normal>">
84 <validator id="GeomValidators_ShapeType" parameters="empty,line"/>
86 <validator id="GeomValidators_ZeroOffset" parameters="CreationMethod,BySizes,base,to_size,from_size,to_object,to_offset,from_object,from_offset"/>
87 <validator id="FeaturesPlugin_ValidatorExtrusionDir" parameters="base,direction_object"/>