From d5cc98ca4fc7c866ec41636f6b65b82d3eb3f6df Mon Sep 17 00:00:00 2001 From: skl Date: Fri, 14 Jul 2006 11:50:14 +0000 Subject: [PATCH] Change name of functions in geompy.py fo PAL12813. --- src/GEOMImpl/GEOMImpl_IHealingOperations.cxx | 4 ++-- src/GEOM_SWIG/geompy.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/GEOMImpl/GEOMImpl_IHealingOperations.cxx b/src/GEOMImpl/GEOMImpl_IHealingOperations.cxx index 4f35762f9..00abf47d7 100644 --- a/src/GEOMImpl/GEOMImpl_IHealingOperations.cxx +++ b/src/GEOMImpl/GEOMImpl_IHealingOperations.cxx @@ -819,7 +819,7 @@ Handle(GEOM_Object) GEOMImpl_IHealingOperations::ChangeOrientation (Handle(GEOM_ } //Make a Python command - GEOM::TPythonDump(aFunction) << "geompy.ChangeOrientation(" + GEOM::TPythonDump(aFunction) << "geompy.ChangeOrientationShell(" << theObject << ")"; SetErrorCode(OK); @@ -874,7 +874,7 @@ Handle(GEOM_Object) GEOMImpl_IHealingOperations::ChangeOrientationCopy (Handle(G } //Make a Python command - GEOM::TPythonDump(aFunction) << aNewObject << " = geompy.ChangeOrientationCopy(" + GEOM::TPythonDump(aFunction) << aNewObject << " = geompy.ChangeOrientationShellCopy(" << theObject << ")"; SetErrorCode(OK); diff --git a/src/GEOM_SWIG/geompy.py b/src/GEOM_SWIG/geompy.py index d22a825a4..4320b52ee 100644 --- a/src/GEOM_SWIG/geompy.py +++ b/src/GEOM_SWIG/geompy.py @@ -1202,7 +1202,7 @@ def DivideEdge(theObject, theEdgeIndex, theValue, isByParameter): ## Change orientation of the given object. # @param theObject Shape to be processed. # @update given shape -def ChangeOrientation(theObject): +def ChangeOrientationShell(theObject): theObject = HealOp.ChangeOrientation(theObject) if HealOp.IsDone() == 0: print "ChangeOrientation : ", HealOp.GetErrorCode() @@ -1210,7 +1210,7 @@ def ChangeOrientation(theObject): ## Change orientation of the given object. # @param theObject Shape to be processed. # @return New GEOM_Object, containing processed shape. -def ChangeOrientationCopy(theObject): +def ChangeOrientationShellCopy(theObject): anObj = HealOp.ChangeOrientation(theObject) if HealOp.IsDone() == 0: print "ChangeOrientation : ", HealOp.GetErrorCode() -- 2.39.2