summaryrefslogtreecommitdiffabout
Unidiff
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--fanduct.scad9
1 files changed, 5 insertions, 4 deletions
diff --git a/fanduct.scad b/fanduct.scad
index 7fc1ff4..f4bb705 100644
--- a/fanduct.scad
+++ b/fanduct.scad
@@ -8,6 +8,7 @@ heater_l = 20; // heatblock length
8 nozzle_offset=4.5;// nozzle offset from the edge of heatblock 8 nozzle_offset=4.5;// nozzle offset from the edge of heatblock
9 9
10 fanduct_elevation = 3; // fanduct elevation above nozzle tip 10 fanduct_elevation = 3; // fanduct elevation above nozzle tip
11 fanduct_blowtarget = -2; // what to blow at
11 fanduct_h = 6; // inner height of the duct 12 fanduct_h = 6; // inner height of the duct
12 fanduct_w = 7; // inner width of the duct 13 fanduct_w = 7; // inner width of the duct
13 fanduct_shell=1.2; // shell thickness 14 fanduct_shell=1.2; // shell thickness
@@ -81,10 +82,10 @@ module fanduct(type=type) {
81 difference() { 82 difference() {
82 rotate_extrude($fn=smooth_f) 83 rotate_extrude($fn=smooth_f)
83 polygon([ 84 polygon([
84 [0,-fanduct_elevation], 85 [0,-fanduct_elevation+fanduct_blowtarget+epsilon],
85 [fanduct_ir+fanduct_shell,fanduct_shell+fanduct_h/2], 86 [fanduct_ir+fanduct_shell,fanduct_shell+fanduct_h/2],
86 [fanduct_ir+fanduct_shell+fanduct_w/2,0], 87 [fanduct_ir+fanduct_shell+fanduct_w/2,0],
87 [0,-fanduct_elevation-.1]]); 88 [0,-fanduct_elevation+fanduct_blowtarget-epsilon]]);
88 translate([0,0,-1]) 89 translate([0,0,-1])
89 cylinder(r=hotend_clearance,h=fanduct_h+2*fanduct_shell+2,$fn=smooth_f); 90 cylinder(r=hotend_clearance,h=fanduct_h+2*fanduct_shell+2,$fn=smooth_f);
90 mirror([0,0,1]) 91 mirror([0,0,1])
@@ -94,10 +95,10 @@ module fanduct(type=type) {
94 }else if(what=="out") { 95 }else if(what=="out") {
95 rotate_extrude($fn=smooth_f) 96 rotate_extrude($fn=smooth_f)
96 polygon([ 97 polygon([
97 [0,-fanduct_elevation], 98 [0,-fanduct_elevation+fanduct_blowtarget+epsilon],
98 [fanduct_ir+fanduct_shell+1,fanduct_h/2], 99 [fanduct_ir+fanduct_shell+1,fanduct_h/2],
99 [fanduct_ir+fanduct_w/2+fanduct_shell+1,fanduct_shell], 100 [fanduct_ir+fanduct_w/2+fanduct_shell+1,fanduct_shell],
100 [0,-fanduct_elevation-.1]]); 101 [0,-fanduct_elevation+fanduct_blowtarget-epsilon]]);
101 }else if(what=="airguides") { 102 }else if(what=="airguides") {
102 inr = fanduct_ir+fanduct_shell; our = inr+fanduct_w; 103 inr = fanduct_ir+fanduct_shell; our = inr+fanduct_w;
103 union() { 104 union() {