Quick Change Sample Spool Holder customised with magnet 8x3mm using scad code by Greg's Maker Corner
Print 2 of these stick 4 8x3mm magnets (requires 8) into the holes.
Please check out the original https://www.prusaprinters.org/prints/79172-quick-change-sample-spool-holder
The author remixed this model.