This is a magnetic switch that uses cheap whiteboard magnets and standard #10 hex nuts to work. Demonstration: https://youtu.be/YaQXLcFUSg4
I originally saw https://www.youtube.com/watch?v=n9tZIFfM14o from Andrew Klein and wanted to make my own. I saw other users such as https://www.thingiverse.com/thing:3556210 had the idea to use standard nuts so it can be assembled at home easily.
This design takes it a few steps further by using space more efficiently to allow more magnets and therefore larger magnetic fields, an internal locking feature, and a snap-fit assembly made entirely of 3D printed parts.
I recommend using a bench vice to install the press-fit part, make sure it is fully seated.
Required Materials:
12x #10 Hex Nuts https://www.amazon.com/Hillman-140021-Hex-Machine-Screw/dp/B000BQ8DE8/ref=as_li_ss_tl?dchild=1&keywords=#10-24+Machine+Hex+Nut&qid=1589223393&sr=8-6&linkCode=sl1&tag=povsky-20&linkId=ed135f5e240656b1d75f47b8780f6c61&language=en_US
24x 10x5x3mm Magnets https://www.amazon.com/Rectangular-refrigerators-whiteboards-projects-rectangular/dp/B07KP2XLYY
The provided g-code prints the handle body with supports, this isn't necessary and it can be printed without them if the orientation is reversed.
If you make it post a picture!
Captive_Press-Fit_Column.stl | 792.5KB | |
Handle_and_Top.stl | 396.5KB | |
Lower_Body.stl | 111.4KB | |
Magnetic_Switch_v4_0.15mm_PLA_MK3S_2h28m.gcode | 4.5MB |