Designed to friction fit 10x3mm neodymium magnets. 1 in each part - no glue required
no supports needed
If you need a stronger latch, I have modified this design to fit 2 magnets on each part:
https://www.thingiverse.com/thing:6777932
door_latch_magnet.stl | 122.7KB |