check out companion model cloud organiser · modular
this is a modular design that consists of the boxes themselves, lid, and as options you have feet and inserts. the stacking between the boxes, lid and feet is achieved through the use of 6x3mm magnets. These are affordable and readily available in many stores (i purchased mine from amazon in a pack of 100), and enable the stacking of the components, resulting in a satisfying "thock" sound and smooth action.
You'll need 16 6x3mm magnets to achieve the same result as shown in the pictures and included in the print profile, as well as some drops of super glue to ensure they really stay in their position and don't get pulled away from the slot.
please make sure that you are very mindful of the polarities of the magnet when assembling and gluing in their spots as you want to make sure that each section atracts and not repels the one that will sit above/below
print profile consists of 4 plates as seen below. the feet and inserts are optional, but for me the inserts really make the finishing touch and increase the flexibility. there is 3 different designs of inserts, and they all have 1mm thickness walls, and are design with very small tolerances to ensure a perfect tight fit, so make sure that you have your machine calibrated and filament dry so that you don't run into any tolerance issues
photos shows printed in matte white pla, matte black pla and bronze silk pla
note: all photos uploaded are of the actual printed model, taken inside a lightbox or in home studio