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 <validator id="GeomValidators_ShapeType" parameters="line"/>
60 <validator id="ConstructionPlugin_ValidatorPlaneLinePoint" parameters="point,perpendicular"/>
62 <shape_selector id="point"
64 tooltip="Select point."
65 icon="icons/Construction/point.png"
67 <validator id="ConstructionPlugin_ValidatorPlaneLinePoint" parameters="line,perpendicular"/>
69 <boolvalue id="perpendicular"
70 label="Perpendicular "
71 tooltip="Makes the plane perpendicular to the selected line."
74 <box id="by_other_plane"
75 title="By other plane"
76 tooltip="Plane by other plane with different options."
77 icon="icons/Construction/plane_by_other_plane_32x32.png">
78 <shape_selector id="plane"
80 tooltip="Select a planar face."
81 icon="icons/Construction/face.png"
83 <validator id="GeomValidators_Face" parameters="plane"/>
85 <toolbox id="by_other_plane_option">
86 <box id="by_distance_from_other"
87 title="By distance from other"
88 tooltip="Plane by distance from other plane."
89 icon="icons/Construction/plane_by_distance_from_other_24x24.png">
90 <doublevalue id="distance"
92 tooltip="Distance from selected face to plane."
93 icon="icons/Construction/distance_value.png"
97 <boolvalue id="reverse"
99 tooltip="Checked means on the other side of the selected plane."
102 <box id="by_coincident_to_point"
103 title="By coincident to point"
104 tooltip="Plane by coincident to point."
105 icon="icons/Construction/plane_by_coincident_to_point_24x24.png">
106 <shape_selector id="coincident_point"
108 tooltip="Select point."
109 icon="icons/Construction/point.png"
110 shape_types="vertex">
113 <box id="by_rotation"
115 tooltip="Plane by rotation around axis."
116 icon="icons/Construction/plane_by_rotation_24x24.png">
117 <shape_selector id="axis"
119 tooltip="Select line for axis."
120 icon="icons/Construction/axis.png"
122 <validator id="GeomValidators_ShapeType" parameters="line"/>
124 <doublevalue id="angle"
126 tooltip="Angle for rotation around axis."
127 icon="icons/Construction/angle.png"
130 <validator id="GeomValidators_Positive"/>
135 <box id="by_two_parallel_planes"
136 title="By two parallel planes"
137 tooltip="Plane equidistant from 2 parallel planes."
138 icon="icons/Construction/plane_by_two_parallel_planes_32x32.png">
139 <shape_selector id="plane1"
141 tooltip="Select a planar face."
142 icon="icons/Construction/face.png"
144 <validator id="GeomValidators_Face" parameters="plane"/>
145 <validator id="ConstructionPlugin_ValidatorPlaneTwoParallelPlanes" parameters="plane2"/>
147 <shape_selector id="plane2"
149 tooltip="Select a planar face."
150 icon="icons/Construction/face.png"
152 <validator id="GeomValidators_Face" parameters="plane"/>
153 <validator id="ConstructionPlugin_ValidatorPlaneTwoParallelPlanes" parameters="plane1"/>