This is a first version to be tested and might be upgraded,
if you try it, send feedback so I can keep upgrading.
Design to hold Omron D2F-01
A simple M3 screw is used as a lever, two 3*5 magnet hold the assembly locked,
another M3 can be used under the box to assemble it tightly to the frame or any support you want to use.
when tangled the wired shool tear open the box and act as a runout detection.
/!\ Warning the position of the spool will directly affect the way the detection work.
The author hasn't provided the model origin yet.