Rhinoceros (Rhino) is a computer 3D design program used by architects and others.
This is a simple Grasshopper script to build a set of boxes.
Grasshopper
Grasshopper is an add-on for controlling Rhino via scripts and visual programming with data pipes.