Wanted to stick some small metal tools up on my storage wall and had some 10x6x2mm rectangle magnets left over from another project. A small drop of glue and the magnet stays in nicely.
Should work with PLA/PETG/ABS nicely. You should not need supports.
The author remixed this model.