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="faces objects">
11 <validator id="FeaturesPlugin_ValidatorCompositeLauncher" parameters="base,Sketch"/>
13 <multi_selector id="base"
15 tooltip="Select a base objects"
16 type_choice="faces objects">
17 <validator id="FeaturesPlugin_ValidatorBaseForGeneration" parameters="vertex,edge,wire,face,shell"/>
19 <shape_selector id="direction_object"
20 icon=":icons/axis.png"
22 tooltip="Select an edge for direction"
25 <validator id="GeomValidators_ShapeType" parameters="empty,line"/>
27 <toolbox id="CreationMethod">
30 icon=":icons/dimension_up_down_32x32.png">
32 <doublevalue id="to_size"
36 icon=":icons/dimension_up.png"
40 <doublevalue id="from_size"
44 icon=":icons/dimension_down.png"
48 <box id="ByPlanesAndOffsets"
49 title="By bounding planes and offsets"
50 icon=":icons/plane_inverted_32x32.png">
51 <groupbox title="From">
52 <shape_selector id="from_object"
53 icon=":icons/plane.png"
55 tooltip="Bounding plane (select a planar face)"
57 default="<base sketch>">
58 <validator id="GeomValidators_Face" parameters="plane"/>
60 <doublevalue id="from_offset"
64 icon=":icons/dimension_up_down.png"
65 tooltip="Offset for "from" bounding plane"/>
68 <shape_selector id="to_object"
69 icon=":icons/plane_inverted.png"
71 tooltip="Bounding plane (select a planar face)"
73 default="<base sketch>">
74 <validator id="GeomValidators_Face" parameters="plane"/>
76 <doublevalue id="to_offset"
80 icon=":icons/dimension_up_down.png"
81 tooltip="Offset for "to" bounding plane"/>
85 <validator id="GeomValidators_ZeroOffset" parameters="CreationMethod,BySizes,base,to_size,from_size,to_object,to_offset,from_object,from_offset"/>
86 <validator id="FeaturesPlugin_ValidatorCanBeEmpty" parameters="CreationMethod,BySizes,base,to_object,from_object,direction_object"/>