The case is a print-in-place model which should be quite easy to achieve.
You will need a geomag stick (2 6x6x4 magnets) and a little bit of super glue. Please note that your printer must be quite precise as the tolerances are pretty tight (0.1-0.15mm).
After printing everything, put a very tiny drop of super glue in each magnet hole and push the magnets in separately (be careful about the polarity). If the inner container is too loose, you can also add glue between the case and the bottom of the internal holder.
The author remixed this model.