print in flexible TPU and insert the magnet during print.
In the 3mf-slicer file there is a pause configured so you have time to insert the magnets before you resume the print.![]()
Take care to put in the magnets in correct orientation. The top visible magnet surfaces should attract each other.
This design works best with strong neodymium magnets.
There are differences in quality. Magnet strength is standardized in grades (e.g. N35, N42, N52). Higher numbers indicate stronger magnets under the same size and shape. ![]() Image source: https://totalelement.com/blogs/about-neodymium-magnets/what-does-the-n-rating-on-neodymium-magnets-mean |
N52 magnets are expensive but they are worth it. I decided for 2x20mm N52 magnets for my application fixing blankets on a baby buggy. I paid 1€ per magnet.
For most common magnet sizes the models are available to download.
Download the fully parametric FreeCAD design model if you want to adapt to a specific magnet size.
The author marked this model as their own original creation.