]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
Update test for new version of PartitionAlgo.
authorskl <skl@opencascade.com>
Fri, 3 Nov 2006 08:04:09 +0000 (08:04 +0000)
committerskl <skl@opencascade.com>
Fri, 3 Nov 2006 08:04:09 +0000 (08:04 +0000)
src/GEOM_SWIG/GEOM_Partition1.py

index 556342a849fe5c975c66fc36286c223a25eda86d..bc8e4c138fd3dd5bc31d64f98fd6d0636ee5aa56 100755 (executable)
@@ -76,7 +76,10 @@ colis_cc_multi = geompy.MultiRotate1D(colis_cc, vecz, 4)
 
 # --
 
-alveole = geompy.MakePartition([colis_cc_multi, barier])
+Compound1 = geompy.MakeCompound([colis_cc_multi, barier])
+SubShape_theShape = geompy.SubShapeAll(Compound1,geompy.ShapeType["SOLID"])
+alveole = geompy.MakePartition(SubShape_theShape)
+#alveole = geompy.MakePartition([colis_cc_multi, barier])
 
 geompy.addToStudy(alveole, "alveole before explode")