summaryrefslogtreecommitdiff
authorMichael Krelin <hacker@klever.net>2018-07-25 21:42:12 (UTC)
committer Michael Krelin <hacker@klever.net>2018-07-25 21:42:12 (UTC)
commit66ee4d791039758827518a354b2d964348c863b6 (patch) (unidiff)
tree6a48d998dfc99cb97545a1b03c96c5ce5172ab8c
parent5ab7711ef9b9180121e7dc4e8d33afd5a5ff97d1 (diff)
downloadextrudery-66ee4d791039758827518a354b2d964348c863b6.zip
extrudery-66ee4d791039758827518a354b2d964348c863b6.tar.gz
extrudery-66ee4d791039758827518a354b2d964348c863b6.tar.bz2
add liner tolerance
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--multimixer.scad13
1 files changed, 8 insertions, 5 deletions
diff --git a/multimixer.scad b/multimixer.scad
index 80f41f1..c7b3489 100644
--- a/multimixer.scad
+++ b/multimixer.scad
@@ -16,2 +16,4 @@ module multimixer(
16 print = false, 16 print = false,
17
18 liner_d_tolerance=.2
17) { 19) {
@@ -24,2 +26,3 @@ module multimixer(
24 inputogon_angle = 180*(inputs-2)/inputs; 26 inputogon_angle = 180*(inputs-2)/inputs;
27 lod = liner_od+liner_d_tolerance; // effective liner diameter
25 28
@@ -27,6 +30,6 @@ module multimixer(
27 function l_to(d) = d*cos(asin(sinsin))/sinsin; 30 function l_to(d) = d*cos(asin(sinsin))/sinsin;
28 l_output = liner_od; 31 l_output = lod;
29 l_input = l_to(pushfit_d/2+minshell); 32 l_input = l_to(pushfit_d/2+minshell);
30 l_fork = l_to(liner_id/2); 33 l_fork = l_to(liner_id/2);
31 l_narrow = l_to(liner_od/2+minshell); 34 l_narrow = l_to(lod/2+minshell);
32 35
@@ -78,5 +81,5 @@ module multimixer(
78 translate([0,0,l_narrow]) { 81 translate([0,0,l_narrow]) {
79 cylinder(d=liner_od,h=l_input+1-l_narrow,$fn=liner_od*fnd); 82 cylinder(d=lod,h=l_input+1-l_narrow,$fn=lod*fnd);
80 mirror([0,0,1]) translate([0,0,-epsilon]) 83 mirror([0,0,1]) translate([0,0,-epsilon])
81 cylinder(d1=(liner_id+liner_od)/2,d2=liner_id,h=liner_id,$fn=liner_od*fnd); 84 cylinder(d1=(liner_id+lod)/2,d2=liner_id,h=liner_id,$fn=lod*fnd);
82 } 85 }
@@ -86,3 +89,3 @@ module multimixer(
86 translate([0,0,l_output]) pushfit(pf); 89 translate([0,0,l_output]) pushfit(pf);
87 cylinder(d=liner_od,h=l_input+1,$fn=liner_od*fnd); 90 cylinder(d=lod,h=l_output+1,$fn=lod*fnd);
88 } 91 }