Salome HOME
Issue #2998: Add help description for automatic creation of constraints
[modules/shaper.git] / src / ConstructionPlugin / axis_widget.xml
index ac192ec6e007ca0652b064f88eb378beb6653e48..97fd01a22ab98ee2a8bfe144a2d351f10ebf4220 100644 (file)
@@ -1,9 +1,10 @@
-<!-- Copyright (C) 2014-2016 CEA/DEN, EDF R&D -->
-
-<!--  Modified by CEA (delegation to Alyotech) : 29 Mar 2016 -->
-
 <source>
   <toolbox id="CreationMethod">
+    <box id="AxisByDimensionsCase" title="By three dimensions" icon="icons/Construction/axis_dxyz_32x32.png">
+      <doublevalue id="DX" label="DX " tooltip="X dimension" default="0"/>
+      <doublevalue id="DY" label="DY " tooltip="Y dimension" default="0"/>
+      <doublevalue id="DZ" label="DZ " tooltip="Z dimension" default="10"/>
+    </box>
     <box id="AxisByPointsCase" title="By two points" icon="icons/Construction/by_two_points_32x32.png">
       <shape_selector id="FirstPoint"
         label="First point"
         <validator id="GeomValidators_DifferentShapes"/>
       </shape_selector>
     </box>
-    <box id="AxisByCylindricalFaceCase" title="As axis of cylindrical face" icon="icons/Construction/cylindrical_face_32x32.png">
-      <shape_selector id="CylindricalFace"
-        label="Main object" 
-        icon="icons/Construction/circle.png" 
-        tooltip="Select a cylindrical object"
-        shape_types="face">
-        <validator id="GeomValidators_Face" parameters="cylinder"/>
-      </shape_selector>
-    </box>
-    <box id="AxisByDimensionsCase" title="By three dimensions" icon="icons/Construction/axis_dxyz_32x32.png">
-      <doublevalue id="DX" label="DX " tooltip="X dimension" default="0"/>
-      <doublevalue id="DY" label="DY " tooltip="Y dimension" default="0"/>
-      <doublevalue id="DZ" label="DZ " tooltip="Z dimension" default="10"/>
-    </box>
     <box id="by_line" title="By line" icon="icons/Construction/axis_by_line_32x32.png">
       <shape_selector id="line"
                       label="Line"
                       tooltip="Select line."
                       icon="icons/Construction/edge.png"
-                      shape_types="edge">
+                      shape_types="edge"
+                      geometrical_selection="true">
         <validator id="GeomValidators_ShapeType" parameters="line"/>
       </shape_selector>
     </box>
+    <box id="AxisByCylindricalFaceCase" title="As axis of cylindrical face" icon="icons/Construction/cylindrical_face_32x32.png">
+      <shape_selector id="CylindricalFace"
+        label="Main object"
+        icon="icons/Construction/circle.png"
+        tooltip="Select a cylindrical object"
+        shape_types="face"
+        geometrical_selection="true">
+        <validator id="GeomValidators_Face" parameters="cylinder"/>
+      </shape_selector>
+    </box>
     <box id="by_plane_and_point" title="By plane and point" icon="icons/Construction/axis_by_plane_and_point_32x32.png">
       <shape_selector id="plane"
                       label="Plane"
                       tooltip="Select a planar face."
                       icon="icons/Construction/face.png"
-                      shape_types="face">
+                      shape_types="face"
+                      geometrical_selection="true">
         <validator id="GeomValidators_Face" parameters="plane"/>
       </shape_selector>
       <shape_selector id="point"
@@ -66,7 +65,8 @@
                       label="1st plane"
                       tooltip="Select a planar face."
                       icon="icons/Construction/face.png"
-                      shape_types="face">
+                      shape_types="face"
+                      geometrical_selection="true">
         <validator id="GeomValidators_Face" parameters="plane"/>
         <validator id="ConstructionPlugin_ValidatorAxisTwoNotParallelPlanes" parameters="plane2"/>
       </shape_selector>
@@ -78,7 +78,8 @@
                       label="2nd plane"
                       tooltip="Select a planar face."
                       icon="icons/Construction/face.png"
-                      shape_types="face">
+                      shape_types="face"
+                      geometrical_selection="true">
         <validator id="GeomValidators_Face" parameters="plane"/>
         <validator id="ConstructionPlugin_ValidatorAxisTwoNotParallelPlanes" parameters="plane1"/>
       </shape_selector>
@@ -88,5 +89,5 @@
       </optionalbox>
     </box>
   </toolbox>
-  
+
 </source>