Just a remix of great filament cleaner. I haven't had any 5x3 magnets so i made version for 8x3 magnets, that are also used in stepper motor vizualizers.
Print settings:
IMPORTANT!! Walls for magnets are thin, so use 0.4mm (or thinner) External perimeter extrusion width. Otherwise you would have only one wall.