The OpenSCAD file generates STL files for stackable parts bins. You can specify the size of the box in addition to the number of compartments (rows and columns). There's also control over the wall thickness and the radius of the internal fillets. To top it all off (pun intended), there's an option for a lid.
The script will work with whatever parameters you specify, whether they are valid or not.
The files include a few bug fixes from the initial posting that should now make the parts stack better.