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="Revolution">
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="axis_object"
42 icon="icons/Features/axis.png"
44 tooltip="Select an edge for axis"
47 <validator id="GeomValidators_ShapeType" parameters="line"/>
49 <toolbox id="CreationMethod">
50 <box id="ByAngles" title="By angles" icon="icons/Features/angle_up_down_32x32.png">
57 icon="icons/Features/angle_up.png"
67 icon="icons/Features/angle_down.png"
72 <box id="ByPlanesAndOffsets" title="By bounding planes and angles" 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="<sketch>">
80 <validator id="GeomValidators_Face" parameters="plane"/>
82 <doublevalue id="from_offset" label="Angle"
83 step="1.0" default="0"
84 icon="icons/Features/angle_up_down.png"
85 tooltip="Angle for "from" 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="<sketch>">
95 <validator id="GeomValidators_Face" parameters="plane"/>
97 <doublevalue id="to_offset" label="Angle"
98 step="1.0" default="0"
99 icon="icons/Features/angle_up_down.png"
100 tooltip="Angle for "to" 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,ByAngles,sketch_selection,to_angle,from_angle,to_object,to_offset,from_object,from_offset"/>
117 <validator id="FeaturesPlugin_ValidatorBaseForGenerationSketchOrSketchObjects" parameters="base"/>