Slide bolt and receiver (print-in-place)

This is a handy latch, which I've used on toys I've made for the kids (a horse stable and a paddock gate), but you can use it wherever you need a door closer!
It's print-in-place, so no brim ideally (especially not on the insides), and you'll need some support for the slide lever, since it's kind of floating in space :)

The receiver slot is slightly curved on one side, to make it easier for the bolt to slide home.