2 Copyright (C) 2014-2017 CEA/DEN, EDF R&D
4 This library is free software; you can redistribute it and/or
5 modify it under the terms of the GNU Lesser General Public
6 License as published by the Free Software Foundation; either
7 version 2.1 of the License, or (at your option) any later version.
9 This library is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 Lesser General Public License for more details.
14 You should have received a copy of the GNU Lesser General Public
15 License along with this library; if not, write to the Free Software
16 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18 See http:##www.salome-platform.org/ or
19 email : webmaster.salome@opencascade.com<mailto:webmaster.salome@opencascade.com>
23 <sketch_launcher id="sketch"
24 attribute_list_id="base"
25 label="Select:<br />
26 1. Planar face of non-sketch object or a plane. Sketch creation will be started.<br />
27 2. An existing sketch face or contour. Extrusion will be filled by it.<br />
28 3. An existing result shape of kind: wires/edge/vertices.Extrusion will be filled by it."
29 shape_types="vertices edges wires faces shells solids compsolids compounds">
30 <validator id="FeaturesPlugin_ValidatorCompositeLauncher" parameters="base,Sketch"/>
32 <multi_selector id="base"
34 tooltip="Select a base objects"
35 type_choice="vertices edges wires faces shells compounds"
37 <validator id="FeaturesPlugin_ValidatorBaseForGeneration" parameters="vertex,edge,wire,face,shell,compound"/>
39 <shape_selector id="direction_object"
40 icon="icons/Features/axis.png"
42 tooltip="Select an edge for direction"
44 geometrical_selection="true"
45 default="<base normal>">
46 <validator id="GeomValidators_ShapeType" parameters="empty,line"/>
48 <toolbox id="CreationMethod">
51 icon="icons/Features/dimension_up_down_32x32.png">
53 <doublevalue id="to_size"
57 icon="icons/Features/dimension_up.png"
61 <doublevalue id="from_size"
65 icon="icons/Features/dimension_down.png"
69 <box id="ByPlanesAndOffsets"
70 title="By bounding planes and offsets"
71 icon="icons/Features/plane_inverted_32x32.png">
72 <groupbox title="From">
73 <shape_selector id="from_object"
74 icon="icons/Features/plane.png"
76 tooltip="Bounding plane (select a planar face)"
78 geometrical_selection="true"
79 default="<base sketch>">
80 <validator id="GeomValidators_Face" parameters="plane"/>
82 <doublevalue id="from_offset"
86 icon="icons/Features/dimension_up_down.png"
87 tooltip="Offset for "from" bounding plane"/>
90 <shape_selector id="to_object"
91 icon="icons/Features/plane_inverted.png"
93 tooltip="Bounding plane (select a planar face)"
95 geometrical_selection="true"
96 default="<base sketch>">
97 <validator id="GeomValidators_Face" parameters="plane"/>
99 <doublevalue id="to_offset"
103 icon="icons/Features/dimension_up_down.png"
104 tooltip="Offset for "to" bounding plane"/>
108 <validator id="GeomValidators_ZeroOffset" parameters="CreationMethod,BySizes,base,to_size,from_size,to_object,to_offset,from_object,from_offset"/>
109 <validator id="FeaturesPlugin_ValidatorExtrusionDir" parameters="base,direction_object"/>
110 <validator id="FeaturesPlugin_ValidatorBaseForGenerationSketchOrSketchObjects" parameters="base"/>