]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
Fix MakeFillet1D and MakeFillet2D to work corectly with Notebook
authorgdd <gdd>
Thu, 18 Nov 2010 16:53:47 +0000 (16:53 +0000)
committergdd <gdd>
Thu, 18 Nov 2010 16:53:47 +0000 (16:53 +0000)
src/GEOM_SWIG/geompyDC.py

index afe0785c5538ce715340a83e6d558481f729a8c6..3726c741ee6d20552ae8aa5500d125ad86c23a85 100644 (file)
@@ -2979,8 +2979,10 @@ class geompyDC(GEOM._objref_GEOM_Gen):
         #  @ref tui_fillet2d "Example"
         def MakeFillet1D(self,theShape, theR, theListOfVertexes):
             # Example: see GEOM_TestAll.py
+            theR,Parameters = ParseParameters(theR)
             anObj = self.LocalOp.MakeFillet1D(theShape, theR, theListOfVertexes)
             RaiseIfFailed("MakeFillet1D", self.LocalOp)
+            anObj.SetParameters(Parameters)
             return anObj
 
         ## Perform a fillet on the specified edges/faces of the given shape
@@ -2993,8 +2995,10 @@ class geompyDC(GEOM._objref_GEOM_Gen):
         #  @ref tui_fillet2d "Example"
         def MakeFillet2D(self,theShape, theR, theListOfVertexes):
             # Example: see GEOM_TestAll.py
+            theR,Parameters = ParseParameters(theR)
             anObj = self.LocalOp.MakeFillet2D(theShape, theR, theListOfVertexes)
             RaiseIfFailed("MakeFillet2D", self.LocalOp)
+            anObj.SetParameters(Parameters)
             return anObj
 
         ## Perform a symmetric chamfer on all edges of the given shape.