This is a parametric design of a hole cover with thread developed in Freecad, and the source code is here:…
Are you sure you want to continue?