1 <!-- Copyright (C) 2014-20xx CEA/DEN, EDF R&D -->
4 <groupbox title="Extrusion">
5 <sketch_launcher id="sketch"
6 attribute_list_id="base"
7 label="Select:<br />
8 1. Planar face of non-sketch object or a plane. Sketch creation will be started.<br />
9 2. An existing sketch face or contour. Extrusion will be filled by it.<br />
10 3. An existing result shape of kind: wires/edge/vertices.Extrusion will be filled by it."
11 shape_types="wires faces shells">
12 <validator id="FeaturesPlugin_ValidatorCompositeLauncher" parameters="base,Sketch"/>
14 <multi_selector id="base"
15 label="Select a sketch face"
16 icon="icons/Features/sketch.png"
17 tooltip="Select a sketch face"
18 type_choice="wires faces shells"
20 <validator id="FeaturesPlugin_ValidatorBaseForGeneration" parameters="face,shell"/>
22 <shape_selector id="direction_object"
23 icon="icons/Features/axis.png"
25 tooltip="Select an edge for direction"
27 default="<base normal>">
28 <validator id="GeomValidators_ShapeType" parameters="empty,line"/>
30 <toolbox id="CreationMethod">
31 <box id="BySizes" title="By sizes" icon="icons/Features/dimension_up_down_32x32.png">
38 icon="icons/Features/dimension_up.png"
48 icon="icons/Features/dimension_down.png"
53 <box id="ByPlanesAndOffsets" title="By bounding planes and offsets" icon="icons/Features/plane_inverted_32x32.png">
54 <groupbox title="From">
55 <shape_selector id="from_object"
56 icon="icons/Features/plane.png"
58 tooltip="Bounding plane (select a planar face)"
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 default="<base sketch>">
76 <validator id="GeomValidators_Face" parameters="plane"/>
78 <doublevalue id="to_offset"
79 label="Offset" step="1.0" default="0"
80 icon="icons/Features/dimension_up_down.png"
81 tooltip="Offset for bounding plane">
87 <multi_selector id="main_objects"
89 icon="icons/Features/cut_shape.png"
90 tooltip="Objects to Cut"
94 <validator id="GeomValidators_ShapeType" parameters="solid"/>
96 <validator id="GeomValidators_ZeroOffset" parameters="CreationMethod,BySizes,sketch_selection,to_size,from_size,to_object,to_offset,from_object,from_offset"/>
97 <validator id="FeaturesPlugin_ValidatorExtrusionDir" parameters="base,direction_object"/>