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()