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 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="axis_object"
40 icon="icons/Features/axis.png"
42 tooltip="Select an edge for axis"
45 <validator id="GeomValidators_ShapeType" parameters="line"/>
47 <toolbox id="CreationMethod">
50 icon="icons/Features/angle_up_down_32x32.png">
52 <doublevalue id="to_angle"
56 icon="icons/Features/angle_up.png"
60 <doublevalue id="from_angle"
64 icon="icons/Features/angle_down.png"
65 tooltip="From angle"/>
68 <box id="ByPlanesAndOffsets"
69 title="By bounding planes and angles"
70 icon="icons/Features/plane_inverted_32x32.png">
71 <groupbox title="From">
72 <shape_selector id="from_object"
73 icon="icons/Features/plane.png"
75 tooltip="Bounding plane (select a planar face)"
77 default="<base sketch>">
78 <validator id="GeomValidators_Face" parameters="plane"/>
80 <doublevalue id="from_offset"
84 icon="icons/Features/angle_up_down.png"
85 tooltip="Angle for "from" bounding plane"/>
88 <shape_selector id="to_object"
89 icon="icons/Features/plane_inverted.png"
91 tooltip="Bounding plane (select a planar face)"
93 default="<base sketch>">
94 <validator id="GeomValidators_Face" parameters="plane"/>
96 <doublevalue id="to_offset"
100 icon="icons/Features/angle_up_down.png"
101 tooltip="Angle for "to" bounding plane"/>
105 <validator id="GeomValidators_ZeroOffset" parameters="CreationMethod,ByAngles,base,to_angle,from_angle,to_object,to_offset,from_object,from_offset"/>
106 <validator id="FeaturesPlugin_ValidatorBaseForGenerationSketchOrSketchObjects" parameters="base"/>