Salome HOME
Implementation of task "3.1. Ability to export the PartSet to GEOM"
[modules/shaper.git] / src / FeaturesPlugin / measurement_widget.xml
index 22c557b1d6f5ded91eb89d3d3b7363f9563e0b27..3f5ca15e748fdbcbd49f64fd0ea604f8404033d5 100644 (file)
@@ -1,24 +1,3 @@
-<!--
-Copyright (C) 2018-20xx  CEA/DEN, EDF R&D
-
-This library is free software; you can redistribute it and/or
-modify it under the terms of the GNU Lesser General Public
-License as published by the Free Software Foundation; either
-version 2.1 of the License, or (at your option) any later version.
-
-This library is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-Lesser General Public License for more details.
-
-You should have received a copy of the GNU Lesser General Public
-License along with this library; if not, write to the Free Software
-Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
-See http:##www.salome-platform.org/ or
-email : webmaster.salome@opencascade.com<mailto:webmaster.salome@opencascade.com>
--->
-
 <source>
   <toolbox id="MeasureKind">
     <box id="Length" title="Edge length" icon="icons/Features/meas_length_32x32.png">
@@ -65,6 +44,7 @@ email : webmaster.salome@opencascade.com<mailto:webmaster.salome@opencascade.com
                       shape_types="edge"
                       default="">
         <validator id="GeomValidators_ShapeType" parameters="edge"/>
+        <validator id="GeomValidators_Intersected" parameters="angle_to"/>
       </shape_selector>
       <shape_selector id="angle_to"
                       icon="icons/Features/edge.png"
@@ -73,6 +53,33 @@ email : webmaster.salome@opencascade.com<mailto:webmaster.salome@opencascade.com
                       shape_types="edge"
                       default="">
         <validator id="GeomValidators_ShapeType" parameters="edge"/>
+        <validator id="GeomValidators_Intersected" parameters="angle_from"/>
+      </shape_selector>
+    </box>
+    <box id="AngleBy3Points" title="Angle by 3 points" icon="icons/Features/meas_angle3p_32x32.png">
+      <shape_selector id="angle_point_1"
+                      icon="icons/Features/point.png"
+                      label="Start point"
+                      tooltip="Select a point"
+                      shape_types="vertex"
+                      default="">
+        <validator id="GeomValidators_ShapeType" parameters="vertex"/>
+      </shape_selector>
+      <shape_selector id="angle_point_2"
+                      icon="icons/Features/point.png"
+                      label="Angle apex"
+                      tooltip="Select a point"
+                      shape_types="vertex"
+                      default="">
+        <validator id="GeomValidators_ShapeType" parameters="vertex"/>
+      </shape_selector>
+      <shape_selector id="angle_point_3"
+                      icon="icons/Features/point.png"
+                      label="End point"
+                      tooltip="Select a point"
+                      shape_types="vertex"
+                      default="">
+        <validator id="GeomValidators_ShapeType" parameters="vertex"/>
       </shape_selector>
     </box>
   </toolbox>