customize your own container with thread.
Please find attached a example that i needed to cover my 58mm camera lens.
The author remixed this model.
Replace assign() with let() in reason it will be removed in future releases of OpenSCAD.
Replace line function height()=max(2*(thread_height+bottom_thick),height); with function height()=max(1*(thread_height+bottom_thick),height); in reason to offer flatter container.
correct license code in OpenSCAD file to same like offer in Thingiverse source. (cc-by-sa 3.0)