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 <toolbox id="CreationMethod">
24 <box id="ByAxisAndDistance"
25 title="By an axis and a distance"
26 icon="icons/Features/translation_vector_32x32.png">
27 <multi_selector id="main_objects"
30 tooltip="Select solid objects"
33 <validator id="FeaturesPlugin_ValidatorTransform"/>
35 <shape_selector id="axis_object"
36 icon="icons/Features/axis.png"
38 tooltip="Select an edge for axis"
41 geometrical_selection="true">
42 <validator id="GeomValidators_ShapeType" parameters="line"/>
44 <doublevalue id="distance"
48 icon="icons/Features/dimension_v.png"
52 <box id="ByDimensions"
53 title="By X, Y and Z dimensions"
54 icon="icons/Features/translation_dxyz_32x32.png">
55 <multi_selector id="main_objects"
58 tooltip="Select solid objects"
61 <validator id="FeaturesPlugin_ValidatorTransform"/>
68 tooltip="Dimension in X">
75 tooltip="Dimension in Y">
82 tooltip="Dimension in Z">
87 icon="icons/Features/translation_2pt_32x32.png">
88 <multi_selector id="main_objects"
91 tooltip="Select solid objects"
94 <validator id="FeaturesPlugin_ValidatorTransform"/>
96 <shape_selector id="start_point"
99 tooltip="Select the start point to define the axis"
102 <validator id="GeomValidators_ShapeType" parameters="vertex"/>
103 <validator id="GeomValidators_ConstructionComposite"/>
105 <shape_selector id="end_point"
108 tooltip="Select the end point to define the axis"
111 <validator id="GeomValidators_ShapeType" parameters="vertex"/>
112 <validator id="GeomValidators_ConstructionComposite"/>
113 <validator id="GeomValidators_DifferentShapes"/>