I design this in Fusion 360 for my own collection of nozzles.
I upload the Fusion 360.f3d file for anyone want to modify to their own need.
The hinge hole is about 2mm. If the pin (stl provided) not strong enough, you can use any nail or hobby stick/carbon fiber stick like i did.
The lid has abit of friction for tight close and open.
This is my second design, i design a smaller size but the hinge didn't work probably
Box size 130mm (L) x 90mm (W) x 39mm (H) - 4mm thickness of wall
Slice with Slic3r standard setting.
the base doesn't need support, but the lid need support where the hinges are.