mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-11-15 10:08:35 +05:00
Change name of functions in geompy.py fo PAL12813.
This commit is contained in:
parent
0170ada804
commit
d5cc98ca4f
@ -819,7 +819,7 @@ Handle(GEOM_Object) GEOMImpl_IHealingOperations::ChangeOrientation (Handle(GEOM_
|
|||||||
}
|
}
|
||||||
|
|
||||||
//Make a Python command
|
//Make a Python command
|
||||||
GEOM::TPythonDump(aFunction) << "geompy.ChangeOrientation("
|
GEOM::TPythonDump(aFunction) << "geompy.ChangeOrientationShell("
|
||||||
<< theObject << ")";
|
<< theObject << ")";
|
||||||
|
|
||||||
SetErrorCode(OK);
|
SetErrorCode(OK);
|
||||||
@ -874,7 +874,7 @@ Handle(GEOM_Object) GEOMImpl_IHealingOperations::ChangeOrientationCopy (Handle(G
|
|||||||
}
|
}
|
||||||
|
|
||||||
//Make a Python command
|
//Make a Python command
|
||||||
GEOM::TPythonDump(aFunction) << aNewObject << " = geompy.ChangeOrientationCopy("
|
GEOM::TPythonDump(aFunction) << aNewObject << " = geompy.ChangeOrientationShellCopy("
|
||||||
<< theObject << ")";
|
<< theObject << ")";
|
||||||
|
|
||||||
SetErrorCode(OK);
|
SetErrorCode(OK);
|
||||||
|
@ -1202,7 +1202,7 @@ def DivideEdge(theObject, theEdgeIndex, theValue, isByParameter):
|
|||||||
## Change orientation of the given object.
|
## Change orientation of the given object.
|
||||||
# @param theObject Shape to be processed.
|
# @param theObject Shape to be processed.
|
||||||
# @update given shape
|
# @update given shape
|
||||||
def ChangeOrientation(theObject):
|
def ChangeOrientationShell(theObject):
|
||||||
theObject = HealOp.ChangeOrientation(theObject)
|
theObject = HealOp.ChangeOrientation(theObject)
|
||||||
if HealOp.IsDone() == 0:
|
if HealOp.IsDone() == 0:
|
||||||
print "ChangeOrientation : ", HealOp.GetErrorCode()
|
print "ChangeOrientation : ", HealOp.GetErrorCode()
|
||||||
@ -1210,7 +1210,7 @@ def ChangeOrientation(theObject):
|
|||||||
## Change orientation of the given object.
|
## Change orientation of the given object.
|
||||||
# @param theObject Shape to be processed.
|
# @param theObject Shape to be processed.
|
||||||
# @return New GEOM_Object, containing processed shape.
|
# @return New GEOM_Object, containing processed shape.
|
||||||
def ChangeOrientationCopy(theObject):
|
def ChangeOrientationShellCopy(theObject):
|
||||||
anObj = HealOp.ChangeOrientation(theObject)
|
anObj = HealOp.ChangeOrientation(theObject)
|
||||||
if HealOp.IsDone() == 0:
|
if HealOp.IsDone() == 0:
|
||||||
print "ChangeOrientation : ", HealOp.GetErrorCode()
|
print "ChangeOrientation : ", HealOp.GetErrorCode()
|
||||||
|
Loading…
Reference in New Issue
Block a user