From 4df278186e72a14f45636d0b92e08600aa6db08e Mon Sep 17 00:00:00 2001 From: rnc Date: Wed, 18 Jul 2012 15:26:35 +0000 Subject: [PATCH] EDF 2281 : dump fix --- src/GEOM_SWIG/geompyDC.py | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/src/GEOM_SWIG/geompyDC.py b/src/GEOM_SWIG/geompyDC.py index 1f48e8d2c..4b23d4eab 100644 --- a/src/GEOM_SWIG/geompyDC.py +++ b/src/GEOM_SWIG/geompyDC.py @@ -8548,16 +8548,17 @@ class geompyDC(GEOM._objref_GEOM_Gen): if Parameters: anObj[0].SetParameters(Parameters) return anObj - ## This function allows to create a disk already divided into blocks. It - # can be use to create divided pipes for later meshing in hexaedra. + ## This function allows creating a disk already divided into blocks. It + # can be used to create divided pipes for later meshing in hexaedra. # @param theR Radius of the disk - # @param theRatio Relative size of the central square diagonal against the disk diameter + # @param theOrientation Orientation of the plane on which the disk will be built + # 1 = XOY, 2 = OYZ, 3 = OZX # @return New GEOM_Object, containing the created shape. # # @ref tui_creation_divideddisk "Example" - def MakeDividedDisk(self, theR, theRatio): - theR, theRatio, Parameters = ParseParameters(theR, theRatio) - anObj = self.AdvOp.MakeDividedDisk(theR, theRatio) + def MakeDividedDisk(self, theR, theOrientation): + theR, theOrientation, Parameters = ParseParameters(theR, theOrientation) + anObj = self.AdvOp.MakeDividedDisk(theR, 50.0, theOrientation) RaiseIfFailed("MakeDividedDisk", self.AdvOp) if Parameters: anObj.SetParameters(Parameters) return anObj -- 2.39.2