I bought a bicycle light on Aliexpress but it came with mounting bracket that points the light straight. It is ok if it is mounted in the center of the handlebar. But I needed to mount it on the side where the handlebar is at some angle. I designed a plastic attachment that replaces the original one but allows small angle adjustment (around 10 degrees). With it the light is mounted on the side of the handlebar and points straight.
Needs to be printed as shown on the photo with supports.
I used ABS plastic with 0.15 layer height.
Some filing might be needed for perfect fit.
The author marked this model as their own original creation.