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="AxisByDimensionsCase" title="By three dimensions" icon="icons/Construction/axis_dxyz_32x32.png">
25 <doublevalue id="DX" label="DX " tooltip="X dimension" default="0"/>
26 <doublevalue id="DY" label="DY " tooltip="Y dimension" default="0"/>
27 <doublevalue id="DZ" label="DZ " tooltip="Z dimension" default="10"/>
29 <box id="AxisByPointsCase" title="By two points" icon="icons/Construction/by_two_points_32x32.png">
30 <shape_selector id="FirstPoint"
32 icon="icons/Construction/point.png"
33 tooltip="Select a first point"
35 <validator id="GeomValidators_ConstructionComposite"/>
36 <validator id="GeomValidators_ShapeType" parameters="vertex"/>
38 <shape_selector id="SecondPoint"
40 icon="icons/Construction/point.png"
41 tooltip="Select a second point"
43 <validator id="GeomValidators_ConstructionComposite"/>
44 <validator id="GeomValidators_ShapeType" parameters="vertex"/>
45 <validator id="GeomValidators_DifferentShapes"/>
48 <box id="by_line" title="By line" icon="icons/Construction/axis_by_line_32x32.png">
49 <shape_selector id="line"
51 tooltip="Select line."
52 icon="icons/Construction/edge.png"
54 <validator id="GeomValidators_ShapeType" parameters="line"/>
57 <box id="AxisByCylindricalFaceCase" title="As axis of cylindrical face" icon="icons/Construction/cylindrical_face_32x32.png">
58 <shape_selector id="CylindricalFace"
60 icon="icons/Construction/circle.png"
61 tooltip="Select a cylindrical object"
63 <validator id="GeomValidators_Face" parameters="cylinder"/>
66 <box id="by_plane_and_point" title="By plane and point" icon="icons/Construction/axis_by_plane_and_point_32x32.png">
67 <shape_selector id="plane"
69 tooltip="Select a planar face."
70 icon="icons/Construction/face.png"
72 <validator id="GeomValidators_Face" parameters="plane"/>
74 <shape_selector id="point"
76 tooltip="Select point."
77 icon="icons/Construction/point.png"
81 <box id="by_two_planes" title="By two planes" icon="icons/Construction/axis_by_two_planes_32x32.png">
82 <shape_selector id="plane1"
84 tooltip="Select a planar face."
85 icon="icons/Construction/face.png"
87 <validator id="GeomValidators_Face" parameters="plane"/>
88 <validator id="ConstructionPlugin_ValidatorAxisTwoNotParallelPlanes" parameters="plane2"/>
90 <optionalbox id="use_offset1" title="Offset from 1st plane">
91 <doublevalue id="offset1" label="Distance " tooltip="Distance value" min="0" default="0"/>
92 <boolvalue id="reverse_offset1" label="Reverse" tooltip="Reverse offset value" default="false"/>
94 <shape_selector id="plane2"
96 tooltip="Select a planar face."
97 icon="icons/Construction/face.png"
99 <validator id="GeomValidators_Face" parameters="plane"/>
100 <validator id="ConstructionPlugin_ValidatorAxisTwoNotParallelPlanes" parameters="plane1"/>
102 <optionalbox id="use_offset2" title="Offset from 2nd plane">
103 <doublevalue id="offset2" label="Distance " tooltip="Distance value" min="0" default="0"/>
104 <boolvalue id="reverse_offset2" label="Reverse" tooltip="Reverse offset value" default="false"/>