]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
Change name of functions in geompy.py fo PAL12813.
authorskl <skl@opencascade.com>
Fri, 14 Jul 2006 11:50:14 +0000 (11:50 +0000)
committerskl <skl@opencascade.com>
Fri, 14 Jul 2006 11:50:14 +0000 (11:50 +0000)
src/GEOMImpl/GEOMImpl_IHealingOperations.cxx
src/GEOM_SWIG/geompy.py

index 4f35762f908df6fc01552eeaa37e568ece7c32cc..00abf47d72ff006541829edd5bebc60e8806c5ce 100644 (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);
index d22a825a4d73e55cae9c7d7dfa840b9cff6604ea..4320b52ee169d1a755c7eb42c71ebc9a199b206c 100644 (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()