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">
26 tooltip="Point at a given distance from the origin."
27 icon="icons/Construction/point_by_xyz_32x32.png">
30 tooltip="X coordinate."
31 icon="icons/Construction/x_size.png"
35 tooltip="Y coordinate."
36 icon="icons/Construction/y_size.png"
40 tooltip="Z coordinate."
41 icon="icons/Construction/z_size.png"
44 <box id="by_distance_on_edge"
45 title="By distance on edge"
46 tooltip="Point on an edge, at a given distance of one of its end."
47 icon="icons/Construction/point_by_distance_on_edge_32x32.png">
48 <shape_selector id="edge"
50 tooltip="Edge for creating point on it."
51 icon="icons/Construction/edge.png"
53 <validator id="GeomValidators_Finite"/>
55 <toolbox id="offset_type">
56 <box id="offset_type_by_distance"
57 title="Distance on edge by value"
58 tooltip="Point on an edge, at a given distance specified by value."
59 icon="icons/Construction/point_by_distance_on_edge_24x24.png">
60 <doublevalue id="distance"
62 tooltip="Distance value."
63 icon="icons/Construction/distance_value.png"
68 <box id="offset_type_by_ratio"
69 title="Distance on edge by ratio"
70 tooltip="Point on an edge, at a given distance specified by ratio."
71 icon="icons/Construction/point_by_ratio_on_edge_24x24.png">
72 <doublevalue id="ratio"
74 tooltip="Ratio value."
75 icon="icons/Construction/distance_value.png"
82 <boolvalue id="reverse"
84 tooltip="Distance from edge end point."
88 <box id="by_projection"
90 tooltip="Point on face surface by projection selected point."
91 icon="icons/Construction/point_by_projection_32x32.png">
92 <shape_selector id="point"
94 tooltip="Point for projection."
95 icon="icons/Construction/point.png"
98 <shape_selector id="plane"
100 tooltip="Plane for projection."
101 icon="icons/Construction/face.png"
103 <validator id="GeomValidators_Face" parameters="plane"/>
106 <box id="by_lines_intersection"
107 title="By two lines intersection"
108 tooltip="Point by intersection of two coplanar lines."
109 icon="icons/Construction/point_by_lines_intersection_32x32.png">
110 <shape_selector id="first_line"
112 tooltip="First line."
113 icon="icons/Construction/edge.png"
115 <validator id="GeomValidators_ShapeType" parameters="line"/>
116 <validator id="ConstructionPlugin_ValidatorPointLines" parameters="second_line"/>
118 <shape_selector id="second_line"
120 tooltip="Second line."
121 icon="icons/Construction/edge.png"
123 <validator id="GeomValidators_ShapeType" parameters="line"/>
124 <validator id="ConstructionPlugin_ValidatorPointLines" parameters="first_line"/>
128 <box id="by_line_and_plane_intersection"
129 title="By line and plane intersection"
130 tooltip="Point by intersection of line and plane."
131 icon="icons/Construction/point_by_line_and_plane_intersection_32x32.png">
132 <shape_selector id="intersection_line"
134 tooltip="Line for intersection."
135 icon="icons/Construction/edge.png"
137 <validator id="ConstructionPlugin_ValidatorPointEdgeAndPlaneNotParallel" parameters="intersection_plane"/>
139 <shape_selector id="intersection_plane"
141 tooltip="Plane for intersection."
142 icon="icons/Construction/face.png"
144 <validator id="GeomValidators_Face" parameters="plane"/>
145 <validator id="ConstructionPlugin_ValidatorPointEdgeAndPlaneNotParallel" parameters="intersection_line"/>
147 <optionalbox id="use_offset" title="Offset from the plane">
148 <doublevalue id="offset" label="Distance " tooltip="Distance from the plane" min="0" default="0"/>
149 <boolvalue id="reverse_offset" label="Reverse" tooltip="Reverse offset value" default="false"/>