From 06e591937c05632d30254918d9852fbc3617ca50 Mon Sep 17 00:00:00 2001 From: skl Date: Fri, 3 Nov 2006 08:04:09 +0000 Subject: [PATCH] Update test for new version of PartitionAlgo. --- src/GEOM_SWIG/GEOM_Partition1.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/GEOM_SWIG/GEOM_Partition1.py b/src/GEOM_SWIG/GEOM_Partition1.py index 556342a84..bc8e4c138 100755 --- a/src/GEOM_SWIG/GEOM_Partition1.py +++ b/src/GEOM_SWIG/GEOM_Partition1.py @@ -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") -- 2.39.2