1 from GeomAlgoAPI import GeomAlgoAPI_ShapeAPI as shaperpy
2 from GeomAlgoAPI import GeomAlgoAPI_Exception as myExcept
3 from GeomAPI import GeomAPI_Pnt as pnt
5 # Create a box with dimensions
7 box1 = shaperpy.makeBox(5.,15.,5.)
12 # Create a box with two points defining the diagonal
15 pnt2 = pnt(10.,10.,10.)
16 box2 = shaperpy.makeBox(pnt1,pnt2)
22 # Create a box with null dimensions
24 box3 = shaperpy.makeBox(0.,0.,0.)