X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FGEOM_SWIG%2FGEOM_Partition1.py;h=bc8e4c138fd3dd5bc31d64f98fd6d0636ee5aa56;hb=6c057505a6e4bcff162cfb8b86deeda0eefff60a;hp=556342a849fe5c975c66fc36286c223a25eda86d;hpb=9499b99fe2dcb53e1ea364f97986f8f432b04600;p=modules%2Fgeom.git 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")