2 Copyright (C) 2018-20xx 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="MeasureKind">
24 <box id="Length" title="Edge length" icon="icons/Features/meas_length_32x32.png">
25 <shape_selector id="edge_for_length"
26 icon="icons/Features/edge.png"
28 tooltip="Select an edge"
31 <validator id="GeomValidators_ShapeType" parameters="edge"/>
34 <box id="Distance" title="Distance between objects" icon="icons/Features/meas_distance_32x32.png">
35 <shape_selector id="distance_from"
38 tooltip="Select a shape"
39 shape_types="vertex edge wire face shell solid objects"
42 <shape_selector id="distance_to"
45 tooltip="Select a shape"
46 shape_types="vertex edge wire face shell solid objects"
50 <box id="Radius" title="Radius of circular" icon="icons/Features/meas_radius_32x32.png">
51 <shape_selector id="circular"
54 tooltip="Select an edge or face"
55 shape_types="edge face"
57 <validator id="FeaturesPlugin_ValidatorCircular"/>
60 <box id="Angle" title="Angle between edges" icon="icons/Features/meas_angle_32x32.png">
61 <shape_selector id="angle_from"
62 icon="icons/Features/edge.png"
64 tooltip="Select an edge"
67 <validator id="GeomValidators_ShapeType" parameters="edge"/>
68 <validator id="GeomValidators_Intersected" parameters="angle_to"/>
70 <shape_selector id="angle_to"
71 icon="icons/Features/edge.png"
73 tooltip="Select an edge"
76 <validator id="GeomValidators_ShapeType" parameters="edge"/>
77 <validator id="GeomValidators_Intersected" parameters="angle_from"/>
80 <box id="AngleBy3Points" title="Angle by 3 points" icon="icons/Features/meas_angle3p_32x32.png">
81 <shape_selector id="angle_point_1"
82 icon="icons/Features/point.png"
84 tooltip="Select a point"
87 <validator id="GeomValidators_ShapeType" parameters="vertex"/>
89 <shape_selector id="angle_point_2"
90 icon="icons/Features/point.png"
92 tooltip="Select a point"
95 <validator id="GeomValidators_ShapeType" parameters="vertex"/>
97 <shape_selector id="angle_point_3"
98 icon="icons/Features/point.png"
100 tooltip="Select a point"
103 <validator id="GeomValidators_ShapeType" parameters="vertex"/>