Skip to content

Commit

Permalink
Attempt to fix 2-manifold issue
Browse files Browse the repository at this point in the history
  • Loading branch information
polyfloyd committed Aug 21, 2024
1 parent aac586a commit dc391b1
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
20 changes: 10 additions & 10 deletions THREAD_TABLE.scad
Original file line number Diff line number Diff line change
Expand Up @@ -1902,24 +1902,24 @@ THREAD_TABLE = [
["32-UN-13/16-int", [0.79375, -10.3492, 20.6914, [[0, 0.3473], [0, -0.3473], [0.4296, -0.0992], [0.4296, 0.0992]]]],
["RMS-ext", [0.7056, 9.5829, 19.1859, [[0.0, -0.3274], [0.0, 0.3273], [0.4932, 0.0706], [0.4932, -0.0706]]]],
["RMS-int", [0.7055, -10.3042, 20.5085, [[0.0, 0.2630], [0.0, -0.2630], [0.4808, -0.0127], [0.4808, 0.0127]]]],
["PG7-ext", [1.27, 5.640000, 11.280000, [[0, -0.5797], [0, 0.5797], [0.7568, 0.0757], [0.7568, -0.0757]]]],
["PG7-ext", [1.27, 5.640000, 11.280000, [[-0.0001, -0.5797], [-0.0001, 0.5797], [0.7568, 0.0757], [0.7568, -0.0757]]]],
["PG7-int", [1.27, -6.250000, 12.500000, [[0, 0.5797], [0, -0.5797], [0.7568, -0.0757], [0.7568, 0.0757]]]],
["PG9-ext", [1.4112, 6.930000, 13.860000, [[0, -0.6441], [0, 0.6441], [0.8408, 0.0841], [0.8408, -0.0841]]]],
["PG9-ext", [1.4112, 6.930000, 13.860000, [[-0.0001, -0.6441], [-0.0001, 0.6441], [0.8408, 0.0841], [0.8408, -0.0841]]]],
["PG9-int", [1.4112, -7.600000, 15.200000, [[0, 0.6441], [0, -0.6441], [0.8408, -0.0841], [0.8408, 0.0841]]]],
["PG11-ext", [1.4112, 8.630000, 17.260000, [[0, -0.6441], [0, 0.6441], [0.8408, 0.0841], [0.8408, -0.0841]]]],
["PG11-ext", [1.4112, 8.630000, 17.260000, [[-0.0001, -0.6441], [-0.0001, 0.6441], [0.8408, 0.0841], [0.8408, -0.0841]]]],
["PG11-int", [1.4112, -9.300000, 18.600000, [[0, 0.6441], [0, -0.6441], [0.8408, -0.0841], [0.8408, 0.0841]]]],
["PG13.5-ext", [1.4112, 9.530000, 19.060000, [[0, -0.6441], [0, 0.6441], [0.8408, 0.0841], [0.8408, -0.0841]]]],
["PG13.5-ext", [1.4112, 9.530000, 19.060000, [[-0.0001, -0.6441], [-0.0001, 0.6441], [0.8408, 0.0841], [0.8408, -0.0841]]]],
["PG13.5-int", [1.4112, -10.200000, 20.400000, [[0, 0.6441], [0, -0.6441], [0.8408, -0.0841], [0.8408, 0.0841]]]],
["PG16-ext", [1.4112, 10.580000, 21.160000, [[0, -0.6441], [0, 0.6441], [0.8408, 0.0841], [0.8408, -0.0841]]]],
["PG16-ext", [1.4112, 10.580000, 21.160000, [[-0.0001, -0.6441], [-0.0001, 0.6441], [0.8408, 0.0841], [0.8408, -0.0841]]]],
["PG16-int", [1.4112, -11.250000, 22.500000, [[0, 0.6441], [0, -0.6441], [0.8408, -0.0841], [0.8408, 0.0841]]]],
["PG21-ext", [1.5875, 13.390000, 26.780000, [[0, -0.7246], [0, 0.7246], [0.9460, 0.0946], [0.9460, -0.0946]]]],
["PG21-ext", [1.5875, 13.390000, 26.780000, [[-0.0001, -0.7246], [-0.0001, 0.7246], [0.9460, 0.0946], [0.9460, -0.0946]]]],
["PG21-int", [1.5875, -14.150000, 28.300000, [[0, 0.7246], [0, -0.7246], [0.9460, -0.0946], [0.9460, 0.0946]]]],
["PG29-ext", [1.5875, 17.740000, 35.480000, [[0, -0.7246], [0, 0.7246], [0.9460, 0.0946], [0.9460, -0.0946]]]],
["PG29-ext", [1.5875, 17.740000, 35.480000, [[-0.0001, -0.7246], [-0.0001, 0.7246], [0.9460, 0.0946], [0.9460, -0.0946]]]],
["PG29-int", [1.5875, -18.500000, 37.000000, [[0, 0.7246], [0, -0.7246], [0.9460, -0.0946], [0.9460, 0.0946]]]],
["PG36-ext", [1.5875, 22.740000, 45.480000, [[0, -0.7246], [0, 0.7246], [0.9460, 0.0946], [0.9460, -0.0946]]]],
["PG36-ext", [1.5875, 22.740000, 45.480000, [[-0.0001, -0.7246], [-0.0001, 0.7246], [0.9460, 0.0946], [0.9460, -0.0946]]]],
["PG36-int", [1.5875, -23.500000, 47.000000, [[0, 0.7246], [0, -0.7246], [0.9460, -0.0946], [0.9460, 0.0946]]]],
["PG42-ext", [1.5875, 26.240000, 52.480000, [[0, -0.7246], [0, 0.7246], [0.9460, 0.0946], [0.9460, -0.0946]]]],
["PG42-ext", [1.5875, 26.240000, 52.480000, [[-0.0001, -0.7246], [-0.0001, 0.7246], [0.9460, 0.0946], [0.9460, -0.0946]]]],
["PG42-int", [1.5875, -27.000000, 54.000000, [[0, 0.7246], [0, -0.7246], [0.9460, -0.0946], [0.9460, 0.0946]]]],
["PG48-ext", [1.5875, 28.890000, 57.780000, [[0, -0.7246], [0, 0.7246], [0.9460, 0.0946], [0.9460, -0.0946]]]],
["PG48-ext", [1.5875, 28.890000, 57.780000, [[-0.0001, -0.7246], [-0.0001, 0.7246], [0.9460, 0.0946], [0.9460, -0.0946]]]],
["PG48-int", [1.5875, -29.650000, 59.300000, [[0, 0.7246], [0, -0.7246], [0.9460, -0.0946], [0.9460, 0.0946]]]],
];
6 changes: 3 additions & 3 deletions design/PG_electrical_thread.awk
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ function calculateThreadlibSpecs() {

RrotExt = InnerDiam / 2;
DSupportExt = InnerDiam;
drRootExt = 0;
drRootExt = -0.0001;
dzRootExt = cos(40*Pi/180)*H;
drCrestExt = H;
dzCrestExt = H*.1;
Expand Down Expand Up @@ -46,7 +46,7 @@ BEGIN {
printf "%.4f,", drCrestExt # r2
printf "%.4f,", dzCrestExt # z2
printf "%.4f,", drCrestExt # r3
printf "%.4f\n", -dzCrestExt; # z3
printf "%.4f\n", -dzCrestExt # z3

# Internal thread:
printf Designator "-int," # designator
Expand All @@ -60,5 +60,5 @@ BEGIN {
printf "%.4f,", drCrestInt # r2
printf "%.4f,", -dzCrestInt # z2
printf "%.4f,", drCrestInt # r3
printf "%.4f\n", dzCrestInt; # z3
printf "%.4f\n", dzCrestInt # z3
}

0 comments on commit dc391b1

Please sign in to comment.