]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
Correct test script according to the latest changes in the engine
authorvsr <vsr@opencascade.com>
Mon, 13 Dec 2010 16:22:54 +0000 (16:22 +0000)
committervsr <vsr@opencascade.com>
Mon, 13 Dec 2010 16:22:54 +0000 (16:22 +0000)
src/GEOM_SWIG/GEOM_TestOthers.py

index e0050e398ab45f6d0e5ae53e2fe535a6f9ef711c..1b09785d08b805a6d3cc180a542c01a0ed9d5668 100644 (file)
@@ -654,10 +654,10 @@ def TestOtherOperations (geompy, math):
   pcyl = geompy.MakeVertex(50, 50, -50)
   cyli = geompy.MakeCylinder(pcyl, vz, 40, 100)
   fuse = geompy.MakeFuse(sph1, cyli)
-  fuse = geompy.MakeFuse(fuse, sph2)
+  sh_1 = geompy.MakeFuse(fuse, sph2)
   # As after Fuse we have a compound, we need to obtain a solid from it
-  shsh = geompy.SubShapeAll(fuse, geompy.ShapeType["SOLID"])
-  sh_1 = shsh[0]
+  #shsh = geompy.SubShapeAll(fuse, geompy.ShapeType["SOLID"])
+  #sh_1 = shsh[0]
   geompy.addToStudy(sh_1, "sh_1")
 
   # GetShapesOnShape