I believe most people owning a MK3 VW Golf is familiar with these. Either by overtightening or simply due to the part being too old, these end up breaking and making the headlight feel “loose”.
Tried with ABS myself. ASA should work, I guess PETG too, I'd avoid PLA. Use at least 4 perimeters with ≥30% gyroid/grid infill.
Printing orientation can be tricky, I suggest printing as shown in the pictures.
Both screw-directly-on-plastic and heat insert (2 M5x6) versions are provided. I've daily driven both variants for years with no issues. OpenSCAD source files are included should you need to make any adjustments. If editing the non heat insert versions, the BOSL library (version 1.0.3) is needed.
For the conical cover you'll need some kind of gasket as seen in the pictures (should be easily sourced in your local hardware store), only need to have the same inner diameter so it's able to seal.
The author marked this model as their own original creation.