We were working on a laser cut box and I modeled this hinge and it worked flawlessly.
You can use the sketch and implement it in your design.
I printed it with a material called HCPLA, but probably they work well on normal PLA too, keep in mind that ABS is much more brittle, so probably they'll not work at all or will not last more than 10 times, also ABS loses its flexibility overtime, so go with PLA.
The ones I printed still works, actually I use one as my everyday fidget toy. been on test more than 1000 times, fully bent and still they're fine.
Slicer settings affects performance in this one, so be sure to check'em out bellow.
Slice with Cura and change settings to these values.
Explanation on settings
The thickness of bend line is 0.5 mm. To have 4 layers in this small thickness, we calculate like 0.2+ 3*0.1
Probably the most important part of settings you need to print hinges successfully is top/bottom line directions. By default it is 45 and 135 degree, but for this one we need lines to attach two parts of hinge together and also create lines parallel to bend line, so it will bend straight. therefore 0, 90 will do the job. i haven't tried other setting, definitely they'll work but not as durable as the recommended 0,90 .
Draw a rectangle in the middle and on side of the base strip to reduce the thickness to 0.5mm.
Extrude it all the way and cut it from strip.
Add fillets on all edges, 4 fillets totally, 1mm radius is fine.