internal threads => negative radius of rotation

user does not need to rotate internal threads by 180 deg anymore
to fit external thread. nut module also does not need to rotate
anymore
This commit is contained in:
Adrian Schlatter
2019-04-14 16:45:34 +02:00
parent 46fcbc9395
commit e4faa5ab0c
4 changed files with 555 additions and 529 deletions

File diff suppressed because it is too large Load Diff

Binary file not shown.

View File

@@ -58,8 +58,8 @@ BEGIN {
parse();
m1 = slope(v3, v0) / deg;
m2 = slope(v1, v2) / deg;
if (m1 > 60 + dphi || m1 < 60 - dphi \
|| m2 < -60 - dphi || m2 > -60 + dphi)
if (m1 > -60 + dphi || m1 < -60 - dphi \
|| m2 < 60 - dphi || m2 > 60 + dphi)
print designator " FAIL: " m1 ", " m2 " deg";
test_horizontal();
tested = 1;
@@ -82,8 +82,34 @@ BEGIN {
parse();
m1 = slope(v3, v0) / deg;
m2 = slope(v1, v2) / deg;
if (m1 > 62.5 + dphi || m1 < 62.5 - dphi \
|| m2 < -62.5 - dphi || m2 > -62.5 + dphi)
if (m1 > -62.5 + dphi || m1 < -62.5 - dphi \
|| m2 < 62.5 - dphi || m2 > 62.5 + dphi)
print designator " FAIL: " m1 ", " m2 " deg";
test_horizontal();
tested = 1;
}
/PCO.+-ext/ {
# PCO-1881 threads have slopes of -80 deg (on the load side) and 70 deg
# (on the other side) + horizontal crest / valley
parse();
m1 = slope(v0, v3) / deg;
m2 = slope(v2, v1) / deg;
if (m1 > 70 + dphi || m1 < 70 - dphi \
|| m2 < -80 - dphi || m2 > -80 + dphi)
print designator " FAIL: " m1 ", " m2 " deg";
test_horizontal();
tested = 1;
}
/PCO.+-int/ {
# PCO-1881 threads have slopes of 80 deg (on the load side) and -70 deg
# (on the other side) + horizontal crest / valley
parse();
m1 = slope(v3, v0) / deg;
m2 = slope(v1, v2) / deg;
if (m1 > -70 + dphi || m1 < -70 - dphi \
|| m2 < 80 - dphi || m2 > 80 + dphi)
print designator " FAIL: " m1 ", " m2 " deg";
test_horizontal();
tested = 1;
@@ -97,3 +123,4 @@ BEGIN {
print designator " FAIL: not tested";
};
}

View File

@@ -49,8 +49,7 @@ module nut(designator, turns, Douter, higbee_arc=20, fn=120, table=THREAD_TABLE)
specs = thread_specs(str(designator, "-int"), table=table);
P = specs[0]; Dsupport = specs[2];
H = (turns + 1) * P;
rotate(180)
thread(str(designator, "-int"), turns=turns, higbee_arc=higbee_arc, fn=fn, table=table);
thread(str(designator, "-int"), turns=turns, higbee_arc=higbee_arc, fn=fn, table=table);
translate([0, 0, -P / 2])
difference() {