mirror of
https://github.com/adrianschlatter/threadlib.git
synced 2025-08-02 22:37:35 +02:00
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
15 lines
341 B
Awk
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 "];" }
|