This thing is inspired by https://www.thingiverse.com/thing:655519. I needed to customize it a bit and I also wanted to add a stopper mechanism. This is what I came up with.
You can change the parameters in the .scad
file to your likings. I've added 2 example .stl
files just to give an idea.
I'm using this latch on the door to my chilidome https://www.thingiverse.com/thing:2576607
Update 2018-07-22: Uploaded new and working example .stl
files
customizable-door-latch-left-side.stl | 318.9KB | |
customizable-door-latch-right-side.stl | 318.5KB | |
customizable-door-latch.scad | 2.4KB |