I always like a nice mechanism and with 3D printing you can create a lot. Based on some examples from the internet I have designed my own model. It was a bit of a hassle to get the dimension right but after the second print I was very pleased with the result. Therefore I am sharing the model.
For the complete model you need to print:
The assembly is straight forward. I have attached an exploded view image. I also made a short instruction video. Everything fits quite tight together. A bit of glue can be used to fit the top plate into the bottom plate.
The author marked this model as their own original creation.