With the source design I found that the hinge mechanism didn't last long.
This seperates both parts and then I use a cut piece of 1.75mm filament to hold the cover to the main body.