Unified Inch Screw Threads (#29)

Unified Inch Screw Threads
++++++++++++++++++++++++++

Added unified inch screw threads. Namely UNC, UNF, UNEF, 4-UN, 6-UN,
8-UN, 12-UN, 16-UN, 20-UN, 28-UN, and 32-UN.

Also, removed reference to long-gone Excel table.

solves #11 
solves #12 
solves #13
This commit is contained in:
Adrian Schlatter
2019-11-11 21:20:33 +01:00
committed by GitHub
parent 7e30d8e824
commit 55e360d76b
7 changed files with 1287 additions and 12 deletions

View File

@@ -77,8 +77,8 @@ BEGIN {
NR_OF_TESTS += 2;
}
/M[0-9.x-]+-ext/ {
# ext M threads have +/-60 deg slopes, horizontal crest / valley
/((M[0-9.x-]+)|(UN([CF]|EF)[\/\#0-9-]+)|([0-9]+-UN-[\/\#0-9-]+))ext/ {
# ext M, UN*, and *-UN threads have +/-60 deg slopes, horizontal crest / valley
parse();
m1 = slope(v0, v3) / deg;
m2 = slope(v2, v1) / deg;
@@ -91,9 +91,9 @@ BEGIN {
tested = 1;
NR_OF_TESTS += 2;
}
/M[0-9.x-]+-int/ {
# int M threads have +/-60 deg slopes, horizontal crest / valley
/((M[0-9.x-]+)|(UN([CF]|EF)[\/\#0-9-]+)|([0-9]+-UN-[\/\#0-9-]+))int/ {
# int M, UN*, and *-UN threads have +/-60 deg slopes, horizontal crest / valley
parse();
m1 = slope(v3, v0) / deg;
m2 = slope(v1, v2) / deg;