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 <groupbox title="Extrusion">
24 <sketch_launcher id="sketch"
25 attribute_list_id="base"
26 label="Select:<br />
27 1. Planar face of non-sketch object or a plane. Sketch creation will be started.<br />
28 2. An existing sketch face or contour. Extrusion will be filled by it.<br />
29 3. An existing result shape of kind: wires/edge/vertices.Extrusion will be filled by it."
30 shape_types="vertices edges wires faces shells compounds">
31 <validator id="FeaturesPlugin_ValidatorCompositeLauncher" parameters="base,Sketch"/>
33 <multi_selector id="base"
34 label="Select a sketch face"
35 icon="icons/Features/sketch.png"
36 tooltip="Select a sketch face"
37 type_choice="vertices edges wires faces shells compounds"
39 <validator id="FeaturesPlugin_ValidatorBaseForGeneration" parameters="vertex,edge,wire,face,shell,compound"/>
41 <shape_selector id="direction_object"
42 icon="icons/Features/axis.png"
44 tooltip="Select an edge for direction"
46 default="<base normal>">
47 <validator id="GeomValidators_ShapeType" parameters="empty,line"/>
49 <toolbox id="CreationMethod">
50 <box id="BySizes" title="By sizes" icon="icons/Features/dimension_up_down_32x32.png">
57 icon="icons/Features/dimension_up.png"
67 icon="icons/Features/dimension_down.png"
72 <box id="ByPlanesAndOffsets" title="By bounding planes and offsets" icon="icons/Features/plane_inverted_32x32.png">
73 <groupbox title="From">
74 <shape_selector id="from_object"
75 icon="icons/Features/plane.png"
77 tooltip="Bounding plane (select a planar face)"
79 default="<base sketch>">
80 <validator id="GeomValidators_Face" parameters="plane"/>
82 <doublevalue id="from_offset"
83 label="Offset" step="1.0" default="0"
84 icon="icons/Features/dimension_up_down.png"
85 tooltip="Offset for bounding plane">
89 <shape_selector id="to_object"
90 icon="icons/Features/plane_inverted.png"
92 tooltip="Bounding plane (select a planar face)"
94 default="<base sketch>">
95 <validator id="GeomValidators_Face" parameters="plane"/>
97 <doublevalue id="to_offset"
98 label="Offset" step="1.0" default="0"
99 icon="icons/Features/dimension_up_down.png"
100 tooltip="Offset for bounding plane">
106 <multi_selector id="main_objects"
108 icon="icons/Features/cut_shape.png"
109 tooltip="Objects to Fuse"
110 type_choice="Objects"
113 main_argument="true">
114 <validator id="GeomValidators_ShapeType" parameters="solid"/>
116 <validator id="GeomValidators_ZeroOffset" parameters="CreationMethod,BySizes,sketch_selection,to_size,from_size,to_object,to_offset,from_object,from_offset"/>
117 <validator id="FeaturesPlugin_ValidatorExtrusionDir" parameters="base,direction_object"/>
118 <validator id="FeaturesPlugin_ValidatorBaseForGenerationSketchOrSketchObjects" parameters="base"/>