6 from salome.geom
import geomBuilder
7 geompy = geomBuilder.New(salome.myStudy)
10 box = geompy.MakeBoxDXDYDZ(100,100,100)
12 cylinder = geompy.MakeCylinderRH(100, 300)
14 compound = geompy.MakeCompound([box, cylinder])
17 IsValid = geompy.CheckSelfIntersectionsFast(compound)
19 print "Shape is self-intersected!"
21 print "No self-intersection detected in a shape"