Files
threadlib/design/autogenerate.awk
Adrian Schlatter 315d3b96fb Release 0.3
Enhancements
===========

- Unified Inch Screw Threads

Fixes
===========

- PCO-1881 internal (minor diameter was too small)
- Dpitch problem with G-ext threads

Improvements
===========

- developer docs
- build system
- unit tests
- user does not need to rotate internal threads by 180 deg anymore
to fit external thread

!! Incompatibel changes !!
====================

We take the liberty to do this while the major version is still 0:

- internal thread is rotated by 180 deg (see improvements). nut() and bolt() are not affected by this
2019-11-13 21:17:52 +01:00

15 lines
341 B
Awk

BEGIN {
FS = ",";
print "/* This script is auto-generated - do not edit"
print " :License: 3-clause BSD. See LICENSE. */"
printf "\nTHREAD_TABLE = ["
}
// {
gsub(/\r/, "");
print "[\"" $1 "\", [" $2 ", " $3 ", " $4 ", [[" $5 ", " $6 "], [" \
$7 ", " $8 "], [" $9 ", " $10 "], [" $11 ", " $12 "]]]],";
}
END { print "];" }