6 from salome.geom
import geomBuilder
7 geompy = geomBuilder.New(salome.myStudy)
10 box = geompy.MakeBoxDXDYDZ(100,30,100)
11 (IsValid, err) = geompy.CheckShape(box, 0, 2)
13 geompy.PrintShapeErrors(box, err)
14 raise RuntimeError,
"Invalid box created"
16 print "\nBox is valid"