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 objects">
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 objects">
19 <validator id="FeaturesPlugin_ValidatorBaseForGeneration" parameters="face,shell"/>
21 <shape_selector id="direction_object"
22 icon="icons/Features/axis.png"
24 tooltip="Select an edge for direction"
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 default="<base sketch>">
60 <validator id="GeomValidators_Face" parameters="plane"/>
62 <doublevalue id="from_offset"
63 label="Offset" step="1.0" default="0"
64 icon="icons/Features/dimension_up_down.png"
65 tooltip="Offset for bounding plane">
69 <shape_selector id="to_object"
70 icon="icons/Features/plane_inverted.png"
72 tooltip="Bounding plane (select a planar face)"
74 default="<base sketch>">
75 <validator id="GeomValidators_Face" parameters="plane"/>
77 <doublevalue id="to_offset"
78 label="Offset" step="1.0" default="0"
79 icon="icons/Features/dimension_up_down.png"
80 tooltip="Offset for bounding plane">
86 <multi_selector id="main_objects"
88 icon="icons/Features/cut_shape.png"
89 tooltip="Objects to Cut"
92 <validator id="GeomValidators_ShapeType" parameters="solid"/>
94 <validator id="GeomValidators_ZeroOffset" parameters="CreationMethod,BySizes,sketch_selection,to_size,from_size,to_object,to_offset,from_object,from_offset"/>
95 <validator id="FeaturesPlugin_ValidatorExtrusionDir" parameters="base,direction_object"/>