3 \page tui_check_compound_of_blocks_page Check Compound of Blocks
8 gg = salome.ImportComponentGUI("GEOM")
11 box1 = geompy.MakeBox(0,0,0,100,50,100)
12 box2 = geompy.MakeBox(100,0,0,250,50,100)
15 compound = geompy.MakeCompound([box1, box2])
17 # glue the faces of the compound
19 glue = geompy.MakeGlueFaces(compound, tolerance)
20 IsValid = geompy.CheckCompoundOfBlocks(glue)
22 raise RuntimeError, "Invalid compound created"
24 print "\nCompound is valid"