Ring for Qearal endoscope

I have an industrial endoscope of the brand Qearal, it is possible to adapt some accessories such as a hook to head and secure it with a small ring, unfortunately I broke this ring.

I designed a model with OpenSCAD and could print it with my little Artillery Hornet.

In case this happens to someone else, here it is (STL and source).