Salome HOME
Fix for import/export features
[modules/shaper.git] / src / SketchPlugin / plugin-Sketch.xml
index 82377a7f6d95c9e13a1c397629693d0867d04932..8d972c07b4bc3a73c62b3dc1ebdee83b99690388 100644 (file)
     <!--  SketchConstraintLength  -->      
       <feature id="SketchConstraintLength" title="Length" tooltip="Set fixed length of a line segment" icon=":icons/length.png">
         <label title="Select a line on which to calculate length" tooltip="Select a line on which to calculate length"/>
-        <shape_selector id="ConstraintEntityA" label="Line" tooltip="Select an line" 
-            shape_types="edge" >
-        <validator id="GeomValidators_ShapeType" parameters="line"/>
-    </shape_selector>
+        <shape_selector id="ConstraintEntityA" label="Line" tooltip="Select an line" shape_types="edge" >
+          <validator id="GeomValidators_ShapeType" parameters="line"/>
+        </shape_selector>
         <sketch-2dpoint_selector id="ConstraintFlyoutValuePnt" default="computed" internal="1" obligatory="0"/>
         <doublevalue_editor label="Value" tooltip="Length" id="ConstraintValue" default="computed">
           <validator id="GeomValidators_Positive"/>
           <validator id="PartSet_DifferentObjects"/>
         </sketch_shape_selector>
 
-        <doublevalue label="Value" tooltip="Fillet radius" id="ConstraintValue" min="0">
+        <doublevalue label="Value" tooltip="Fillet radius" id="ConstraintValue" min="0" default="1" use_reset="false">
           <validator id="GeomValidators_Positive"/>
         </doublevalue>
         <validator id="PartSet_FilletSelection"/>
             <validator id="GeomValidators_ShapeType" parameters="line"/>
         </sketch_shape_selector>
         <sketch_multi_selector id="ConstraintMirrorList"
-            label="List of objects"
+            label="segments"
             tooltip="Select list of mirroring objects"
             type_choice="Edges"
             use_external="true">
       <feature
         id="SketchMultiTranslation"
         title="Translation" icon=":icons/translate.png"
-        tooltip="Make a number of shifted copies of a group of objects">
+        tooltip="Translation">
         <sketch_multi_selector id="MultiTranslationList"
-            label="List of objects"
+            label="segments"
             tooltip="Select list of translating objects"
             type_choice="Edges"
             use_external="true">
         <integervalue id="MultiTranslationCopies"
             label="Number of copies"
             tooltip="Number of copies" 
-            default="1" min="1">
+            default="1" min="1" use_reset="false">
           <validator id="GeomValidators_Positive"/>
         </integervalue>
       </feature>
       <feature
         id="SketchMultiRotation"
         title="Rotation" icon=":icons/rotate.png"
-        tooltip="Make a number of rotated copies of a group of objects">
+        tooltip="Rotation">
         <sketch_multi_selector id="MultiRotationList"
-            label="List of objects"
+            label="segments"
             tooltip="Select list of rotating objects"
             type_choice="Edges"
             use_external="true">
                          first_point="MultiRotationCenter"
                          label="Angle"
                          icon=":icons/angle.png"
-                         tooltip="Rotation angle"/>
+                         tooltip="Rotation angle"
+                         default="90"/>
         <integervalue id="MultiRotationCopies"
             label="Number of copies"
             tooltip="Number of copies" 
-            default="1" min="1">
+            default="1" min="1" use_reset="false">
           <validator id="GeomValidators_Positive"/>
         </integervalue>
       </feature>