Put your little magnet in slot, then assemble parts with hot glue/CA glue. Feel free to scale up the model.
If you are going to use hot glue on PLA prints, it can deform a bit, so parts can not be assembled right anymore
inset.stl | 36.2KB | |
offset.stl | 85.2KB | |
pin_main.stl | 119.9KB |