Change name of functions in geompy.py fo PAL12813.

This commit is contained in:
skl 2006-07-14 11:50:14 +00:00
parent 0170ada804
commit d5cc98ca4f
2 changed files with 4 additions and 4 deletions

View File

@ -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);

View File

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