From: jfa Date: Thu, 12 Jul 2012 08:00:08 +0000 (+0000) Subject: 0021715: EDF 1661: Have default parameters for TUI function MakeFilling X-Git-Tag: V6_6_0a1~87 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=eead87bab45e9322b29e3fa59e3157f4cff6551b;p=modules%2Fgeom.git 0021715: EDF 1661: Have default parameters for TUI function MakeFilling --- diff --git a/src/GEOM_SWIG/geompyDC.py b/src/GEOM_SWIG/geompyDC.py index 88a05c1bc..3f830aa7f 100644 --- a/src/GEOM_SWIG/geompyDC.py +++ b/src/GEOM_SWIG/geompyDC.py @@ -2487,8 +2487,8 @@ class geompyDC(GEOM._objref_GEOM_Gen): # @return New GEOM.GEOM_Object, containing the created filling surface. # # @ref tui_creation_filling "Example" - def MakeFilling(self, theShape, theMinDeg, theMaxDeg, theTol2D, - theTol3D, theNbIter, theMethod=GEOM.FOM_Default, isApprox=0): + def MakeFilling(self, theShape, theMinDeg=2, theMaxDeg=5, theTol2D=0.0001, + theTol3D=0.0001, theNbIter=0, theMethod=GEOM.FOM_Default, isApprox=0): """ Create a filling from the given compound of contours. @@ -2531,7 +2531,7 @@ class geompyDC(GEOM._objref_GEOM_Gen): # @return New GEOM.GEOM_Object, containing the created filling surface. # # @ref tui_creation_filling "Example" - def MakeFillingNew(self, theShape, theMinDeg, theMaxDeg, theTol3D): + def MakeFillingNew(self, theShape, theMinDeg=2, theMaxDeg=5, theTol3D=0.0001): """ Create a filling from the given compound of contours. This method corresponds to MakeFilling with isApprox=True