adrianschlatter / threadlib

thread library for OpenSCAD
BSD 3-Clause "New" or "Revised" License
351 stars 34 forks source link

Eliminate threads.xlsx #20

Closed adrianschlatter closed 5 years ago

adrianschlatter commented 5 years ago

Replaces threads.xlsx by one .csv file and one awk script per thread type. The script calculates threadlib specs from the data in the .csv file. Finally and as before, autogenerate.awk generates the OpenSCAD code (i.e. THREAD_TABLE.scad).

A new Makefile automates this process: make does what is needed. It also provides a target 'test' to run the (existing) tests.

To add a new thread type:

Additionally: