Salome HOME
0014047: EDF PAL 334 : Problem to select merged face with Create group window
[modules/geom.git] / 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")