Helmet Mirror Ball Socket

I have one of these helmet mirrors (https://a.co/d/2s7o2q4) and the ball joint that holds the mirror cracked. This is a replacement for that piece.

Printed with variable layer height to maximize the curvature of the ball joint.