From: skl Date: Fri, 3 Nov 2006 08:04:09 +0000 (+0000) Subject: Update test for new version of PartitionAlgo. X-Git-Tag: V3_2_3pre2~5 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=06e591937c05632d30254918d9852fbc3617ca50;p=modules%2Fgeom.git Update test for new version of PartitionAlgo. --- 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")