Salome HOME
Merge branch 'csgroup_IS2'
[modules/shaper.git] / src / BuildPlugin / filling_widget.xml
index 0ecb8587743c247b182d2eeeb736285cf397e382..5cd076931638b9f73374d7263eabd28c30fe4960 100644 (file)
@@ -1,29 +1,8 @@
-<!--
-Copyright (C) 2017-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>
   <multi_selector id="base_objects"
                   label="Segments and wires:"
                   tooltip="Select edges or wires."
-                  type_choice="edges wires"
+                  shape_types="edges wires"
                   concealment="false">
     <validator id="PartSet_DifferentObjects"/>
     <validator id="BuildPlugin_ValidatorFillingSelection"/>
@@ -41,8 +20,9 @@ email : webmaster.salome@opencascade.com<mailto:webmaster.salome@opencascade.com
       <validator id="GeomValidators_GreaterOrEqual" parameters="min_degree"/>
     </integervalue>
     <integervalue id="nb_iter" label="Nb iter" min="0" default="0"/>
-    <doublevalue id="tol_2d" label="Tol 2D" min="0" default="0.0001" step="0.0001"/>
-    <doublevalue id="tol_3d" label="Tol 3D" min="0" default="0.0001" step="0.0001"/>
+    <doublevalue id="tol_2d" label="Tol 2D" min="1.e-5" default="0.0001" step="0.0001"/>
+    <doublevalue id="tol_3d" label="Tol 3D" min="1.e-5" default="0.0001" step="0.0001"/>
     <boolvalue id="approximation" label="Approximation"/>
   </optionalbox>
+  <validator id="GeomValidators_MinObjectsSelected" parameters="base_objects,2"/>
 </source>