It's often recommended to have a spare derailleur hanger for your bike, because if it breaks it can take weeks for you to get one. So, before mine broke I measured mine and modeled it in FreeCAD so I can get it machined if need be. I printed a plastic specimen. In order to make it more rigid I deleted the large lightening cutout in the middle. The plastic hanger in PET-G is very flexy, but sorta works, the gears run up and down just fine.
After printing tap the small holes M3, and the big hole M10x1.
The author marked this model as their own original creation.