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 <doublevalue id="x" label="X " tooltip="X coordinate" default="0"/>
24 <doublevalue id="y" label="Y " tooltip="Y coordinate" default="0"/>
25 <doublevalue id="z" label="Z " tooltip="Z coordinate" default="0"/>
27 <!--<toolbox id="creation_method">
30 tooltip="Point at a given distance from the origin."
31 icon="icons/Construction/point_by_xyz_32x32.png">
34 tooltip="X coordinate."
35 icon="icons/Construction/x_size.png"
39 tooltip="Y coordinate."
40 icon="icons/Construction/y_size.png"
44 tooltip="Z coordinate."
45 icon="icons/Construction/z_size.png"
48 <box id="by_distance_on_edge"
49 title="By distance on edge"
50 tooltip="Point on an edge, at a given distance of one of its end."
51 icon="icons/Construction/point_by_distance_on_edge_32x32.png">
52 <shape_selector id="edge"
54 tooltip="Edge for creating point on it."
55 icon="icons/Construction/edge.png"
57 <validator id="GeomValidators_Finite"/>
59 <groupbox title="Distance">
60 <doublevalue id="value"
62 tooltip="Distance value."
63 icon="icons/Construction/distance_value.png"
65 <boolvalue id="percent"
67 tooltip="Distance in percent from length."
70 <boolvalue id="reverse"
72 tooltip="Distance from edge end point."
75 <box id="by_projection"
77 tooltip="Point on face surface by projection selected point."
78 icon="icons/Construction/point_by_projection_32x32.png">
79 <shape_selector id="point"
81 tooltip="Point for projection."
82 icon="icons/Construction/point.png"
85 <shape_selector id="plane"
87 tooltip="Plane for projection."
88 icon="icons/Construction/face.png"
90 <validator id="GeomValidators_Face" parameters="plane"/>
93 <box id="by_lines_intersection"
94 title="By two lines intersection"
95 tooltip="Point by intersection of two coplanar lines."
96 icon="icons/Construction/point_by_lines_intersection_32x32.png">
97 <shape_selector id="first_line"
100 icon="icons/Construction/edge.png"
102 <validator id="GeomValidators_ShapeType" parameters="line"/>
103 <validator id="ConstructionPlugin_ValidatorPointLines" parameters="second_line"/>
105 <shape_selector id="second_line"
107 tooltip="Second line."
108 icon="icons/Construction/edge.png"
110 <validator id="GeomValidators_ShapeType" parameters="line"/>
111 <validator id="ConstructionPlugin_ValidatorPointLines" parameters="first_line"/>
114 <box id="by_line_and_plane_intersection"
115 title="By line and plane intersection"
116 tooltip="Point by intersection of line and plane."
117 icon="icons/Construction/point_by_line_and_plane_intersection_32x32.png">
118 <shape_selector id="intersection_line"
120 tooltip="Line for intersection."
121 icon="icons/Construction/edge.png"
123 <validator id="GeomValidators_ShapeType" parameters="line"/>
124 <validator id="ConstructionPlugin_ValidatorPointLineAndPlaneNotParallel" parameters="intersection_plane"/>
126 <shape_selector id="intersection_plane"
128 tooltip="Plane for intersection."
129 icon="icons/Construction/face.png"
131 <validator id="GeomValidators_Face" parameters="plane"/>
132 <validator id="ConstructionPlugin_ValidatorPointLineAndPlaneNotParallel" parameters="intersection_line"/>