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
Notes:
No support, print in place.
Category: HouseholdThe author marked this model as their own original creation. Imported from Thingiverse.