1 # Creation of a box using the end-user API
2 # Author: Daniel Brunier-Coulin
3 # -----------------------------
12 mypartset = modeler.moduleDocument()
17 mypart = modeler.addPart(mypartset).document()
20 # Creating the base of the box
22 extension.addBox( mypart, 10, 20, 30 )