Universal generator for screw caps for OpenSCAD

When creating or repairing something it often happens that I need different caps to cover up screws. What´s easier than print a perfectly fitting one. Although it is not a big feature to draw them in any CAD application, it is even faster and more elegant to have a parametric generator. A perfect job for OpenSCAD.

The script is not higly sophisticated code but I think it can be helpful for those not so familiar with coding.

Simply put in the parameters and generate your individual cap. Minimum parameter is "screw_diameter" and eventually "height". Rest is for fine tuning.