2 <groupbox title="Extrusion">
3 <sketch_launcher id="sketch"
4 attribute_list_id="base"
5 label="Select:<br />
6 1. Planar face of non-sketch object or a plane. Sketch creation will be started.<br />
7 2. An existing sketch face or contour. Extrusion will be filled by it.<br />
8 3. An existing result shape of kind: wires/edge/vertices.Extrusion will be filled by it."
9 shape_types="vertices edges wires faces shells compounds">
10 <validator id="FeaturesPlugin_ValidatorCompositeLauncher" parameters="base,Sketch"/>
12 <multi_selector id="base"
13 label="Select a sketch face"
14 icon="icons/Features/sketch.png"
15 tooltip="Select a sketch face"
16 type_choice="vertices edges wires faces shells compounds"
18 <validator id="FeaturesPlugin_ValidatorBaseForGeneration" parameters="vertex,edge,wire,face,shell,compound"/>
20 <shape_selector id="direction_object"
21 icon="icons/Features/axis.png"
23 tooltip="Select an edge for direction"
25 geometrical_selection="true"
26 default="<base normal>">
27 <validator id="GeomValidators_ShapeType" parameters="empty,line"/>
29 <toolbox id="CreationMethod">
30 <box id="BySizes" title="By sizes" icon="icons/Features/dimension_up_down_32x32.png">
37 icon="icons/Features/dimension_up.png"
47 icon="icons/Features/dimension_down.png"
52 <box id="ByPlanesAndOffsets" title="By bounding planes and offsets" icon="icons/Features/plane_inverted_32x32.png">
53 <groupbox title="From">
54 <shape_selector id="from_object"
55 icon="icons/Features/plane.png"
57 tooltip="Bounding plane (select a planar face)"
59 geometrical_selection="true"
60 default="<base sketch>">
61 <validator id="GeomValidators_Face" parameters="plane"/>
63 <doublevalue id="from_offset"
64 label="Offset" step="1.0" default="0"
65 icon="icons/Features/dimension_up_down.png"
66 tooltip="Offset 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 geometrical_selection="true"
76 default="<base sketch>">
77 <validator id="GeomValidators_Face" parameters="plane"/>
79 <doublevalue id="to_offset"
80 label="Offset" step="1.0" default="0"
81 icon="icons/Features/dimension_up_down.png"
82 tooltip="Offset for bounding plane">
88 <multi_selector id="main_objects"
90 icon="icons/Features/cut_shape.png"
91 tooltip="Objects to Fuse"
96 <validator id="GeomValidators_ShapeType" parameters="solid"/>
98 <validator id="GeomValidators_ZeroOffset" parameters="CreationMethod,BySizes,sketch_selection,to_size,from_size,to_object,to_offset,from_object,from_offset"/>
99 <validator id="FeaturesPlugin_ValidatorExtrusionDir" parameters="base,direction_object"/>
100 <validator id="FeaturesPlugin_ValidatorBaseForGenerationSketchOrSketchObjects" parameters="base"/>