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="creation_method">
24 <box id="by_three_points"
25 title="By three points"
26 tooltip="Plane by three points."
27 icon="icons/Construction/plane_by_three_points_32x32.png">
28 <shape_selector id="point1"
30 tooltip="First point."
31 icon="icons/Construction/point.png"
33 <validator id="ConstructionPlugin_ValidatorPlaneThreePoints" parameters="point2,point3"/>
35 <shape_selector id="point2"
37 tooltip="Second point."
38 icon="icons/Construction/point.png"
40 <validator id="ConstructionPlugin_ValidatorPlaneThreePoints" parameters="point1,point3"/>
42 <shape_selector id="point3"
44 tooltip="Third point."
45 icon="icons/Construction/point.png"
47 <validator id="ConstructionPlugin_ValidatorPlaneThreePoints" parameters="point1,point2"/>
50 <box id="by_line_and_point"
51 title="By line and point"
52 tooltip="Plane by line and point."
53 icon="icons/Construction/plane_by_line_and_point_32x32.png">
54 <shape_selector id="line"
56 tooltip="Select line."
57 icon="icons/Construction/edge.png"
59 geometrical_selection="true">
60 <validator id="GeomValidators_ShapeType" parameters="line"/>
61 <validator id="ConstructionPlugin_ValidatorPlaneLinePoint" parameters="point,perpendicular"/>
63 <shape_selector id="point"
65 tooltip="Select point."
66 icon="icons/Construction/point.png"
68 <validator id="ConstructionPlugin_ValidatorPlaneLinePoint" parameters="line,perpendicular"/>
70 <boolvalue id="perpendicular"
71 label="Perpendicular "
72 tooltip="Makes the plane perpendicular to the selected line."
75 <box id="by_other_plane"
76 title="By other plane"
77 tooltip="Plane by other plane with different options."
78 icon="icons/Construction/plane_by_other_plane_32x32.png">
79 <shape_selector id="plane"
81 tooltip="Select a planar face."
82 icon="icons/Construction/face.png"
84 geometrical_selection="true">
85 <validator id="GeomValidators_Face" parameters="plane"/>
87 <toolbox id="by_other_plane_option">
88 <box id="by_distance_from_other"
89 title="By distance from other"
90 tooltip="Plane by distance from other plane."
91 icon="icons/Construction/plane_by_distance_from_other_24x24.png">
92 <doublevalue id="distance"
94 tooltip="Distance from selected face to plane."
95 icon="icons/Construction/distance_value.png"
99 <boolvalue id="reverse"
101 tooltip="Checked means on the other side of the selected plane."
104 <box id="by_coincident_to_point"
105 title="By coincident to point"
106 tooltip="Plane by coincident to point."
107 icon="icons/Construction/plane_by_coincident_to_point_24x24.png">
108 <shape_selector id="coincident_point"
110 tooltip="Select point."
111 icon="icons/Construction/point.png"
112 shape_types="vertex">
115 <box id="by_rotation"
117 tooltip="Plane by rotation around axis."
118 icon="icons/Construction/plane_by_rotation_24x24.png">
119 <shape_selector id="axis"
121 tooltip="Select line for axis."
122 icon="icons/Construction/axis.png"
124 geometrical_selection="true">
125 <validator id="GeomValidators_ShapeType" parameters="line"/>
127 <doublevalue id="angle"
129 tooltip="Angle for rotation around axis."
130 icon="icons/Construction/angle.png"
133 <validator id="GeomValidators_Positive"/>
138 <box id="by_two_parallel_planes"
139 title="By two parallel planes"
140 tooltip="Plane equidistant from 2 parallel planes."
141 icon="icons/Construction/plane_by_two_parallel_planes_32x32.png">
142 <shape_selector id="plane1"
144 tooltip="Select a planar face."
145 icon="icons/Construction/face.png"
147 geometrical_selection="true">
148 <validator id="GeomValidators_Face" parameters="plane"/>
149 <validator id="ConstructionPlugin_ValidatorPlaneTwoParallelPlanes" parameters="plane2"/>
151 <shape_selector id="plane2"
153 tooltip="Select a planar face."
154 icon="icons/Construction/face.png"
156 geometrical_selection="true">
157 <validator id="GeomValidators_Face" parameters="plane"/>
158 <validator id="ConstructionPlugin_ValidatorPlaneTwoParallelPlanes" parameters="plane1"/>