Another huge thanks to vexst on discord for the electromagnet recommendation and cad model!
This file includes models for hinges each using 1x de-flanged 9mm gt2 pulley, 1x 6mm de-flanged idler, 1x m5 flange of any thickness ~1mm, and 1x 5mm pin 30-36mm.
Also included are 3 types of latches for keep the door shut. One is a modified version of the filament latches using m2.5 and m3 bolts as pivot points, the second uses cabinet door magnets https://www.amazon.com/dp/B0B8D262F9?ref=ppx_yo2ov_dt_b_fed_asin_title&th=1 (2x 20lb magnets is more than enough), and the fun option which uses a cheap electromagnet powered by a 12v fan header controlled by a cherry mx switch of your choice https://www.amazon.com/dp/B09XXK6XGZ?ref=ppx_yo2ov_dt_b_fed_asin_title
For the cabinet door magnets I used a sheet of paper to slightly offset the magnet contact point and compress the door foam more.
The electromagnet latch while fun comes with a few caveats. The electromagnet only fully engages when in direct contact with the front metal plate and produces almost no magnetic field to pull the door closed. Next issue is that the electromagnet is entirely software controlled so any other process running on klipper will stop you from being able to use the gcode button and open the door without fighting a 140lb magnet and restarting klipper will unlock the door unless you set the fan pin as always on when flashing your mcu. To those issues I've combined the normal magnets and electromagnet to help pull the door shut and keep it shut during restart.
If you buy the linked electromagnet, make sure to remove the white stopper and spring. You'd need to add a soft close mechanism with enough pressure to fully compress the spring.
If you want to have the ability to open the door at all times and restart klipper without it popping open you'll want to run a 24v-12v step down converter (2a should be good for the initial power draw) and use an inline 12v momentary switch. The door will still open if you power off the printer but otherwise it should stay operational at all times.
[output_pin Door_Latch]
pin:PF8 #fan control pin
shutdown_value:1
[gcode_button DOOR]
pin: ^PD13 #endstop pin with the proper pullup
press_gcode:
SET_PIN PIN=Door_Latch VALUE=0.0
G4 P2000 #leave the door unlocked for 2 seconds
SET_PIN PIN=Door_Latch VALUE=1.0
release_gcode:
The author remixed this model.
Huge thanks to vexst on discord for the electromagnet recommendation and cad model!
Used the siboor trident frame model as a base along with the clicky clacky door location as a reference. Swapped the side panels with CloakedWayne's monolith structural side panels at 3.2mm thick. Included a modified fridge door latch for the structural side panels.