6 from salome.geom
import geomBuilder
7 geompy = geomBuilder.New(salome.myStudy)
10 box = geompy.MakeBoxDXDYDZ(100,30,100)
11 Toler = geompy.Tolerance(box)
12 print "\nBox 100x30x100 tolerance:"
13 print " Face min. tolerance: ", Toler[0]
14 print " Face max. tolerance: ", Toler[1]
15 print " Edge min. tolerance: ", Toler[2]
16 print " Edge max. tolerance: ", Toler[3]
17 print " Vertex min. tolerance: ", Toler[4]
18 print " Vertex max. tolerance: ", Toler[5]