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 <validator id="GeomValidators_ShapeType" parameters="line"/>
43 <doublevalue id="distance"
47 icon="icons/Features/dimension_v.png"
51 <box id="ByDimensions"
52 title="By X, Y and Z dimensions"
53 icon="icons/Features/translation_dxyz_32x32.png">
54 <multi_selector id="main_objects"
57 tooltip="Select solid objects"
60 <validator id="FeaturesPlugin_ValidatorTransform"/>
67 tooltip="Dimension in X">
74 tooltip="Dimension in Y">
81 tooltip="Dimension in Z">
86 icon="icons/Features/translation_2pt_32x32.png">
87 <multi_selector id="main_objects"
90 tooltip="Select solid objects"
93 <validator id="FeaturesPlugin_ValidatorTransform"/>
95 <shape_selector id="start_point"
98 tooltip="Select the start point to define the axis"
101 <validator id="GeomValidators_ShapeType" parameters="vertex"/>
102 <validator id="GeomValidators_ConstructionComposite"/>
104 <shape_selector id="end_point"
107 tooltip="Select the end point to define the axis"
110 <validator id="GeomValidators_ShapeType" parameters="vertex"/>
111 <validator id="GeomValidators_ConstructionComposite"/>
112 <validator id="GeomValidators_DifferentShapes"/>