-rw-r--r-- | fanduct.scad | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/fanduct.scad b/fanduct.scad index 75a3bb1..7a9e205 100644 --- a/fanduct.scad +++ b/fanduct.scad | |||
@@ -24,5 +24,6 @@ inlet_w = 12.5; // inlet width | |||
24 | inlet_h = 17; // inlet height | 24 | inlet_h = 17; // inlet height |
25 | inlet_l = 7; // inlet length of protrusion (or depth of intrusion:)) | 25 | inlet_short_l = 7;// inlet length of protrusion (or depth of intrusion:)) |
26 | inlet_away = 15;// how far away inlet is | 26 | inlet_away = 15;// how far away inlet is |
27 | 27 | ||
28 | inlet_long_l = inlet_short_l+inlet_h; | ||
28 | hotend_clearance = heater_clearance; | 29 | hotend_clearance = heater_clearance; |
@@ -190,3 +191,9 @@ module fanduct(type=type,ductshape=ductshape) { | |||
190 | placeit() translate([0,-inlet_w/2,0]) { | 191 | placeit() translate([0,-inlet_w/2,0]) { |
191 | cube(size=[inlet_h,inlet_w,inlet_l+fanduct_shell]); | 192 | difference() { |
193 | cube(size=[inlet_h,inlet_w,inlet_long_l+fanduct_shell]); | ||
194 | translate([inlet_h+fanduct_shell,0,inlet_long_l+fanduct_shell]) | ||
195 | rotate([-90,0,0]) | ||
196 | translate([0,0,-1]) | ||
197 | cylinder(r=inlet_h,h=inlet_w+2*fanduct_shell+2,$fn=inlet_h*4); | ||
198 | } | ||
192 | // supports | 199 | // supports |
@@ -198,3 +205,3 @@ module fanduct(type=type,ductshape=ductshape) { | |||
198 | extrusion_width, | 205 | extrusion_width, |
199 | inlet_l+fanduct_shell+inlet_away+fanduct_w/2]); | 206 | inlet_long_l+fanduct_shell+inlet_away+fanduct_w/2]); |
200 | } | 207 | } |
@@ -209,3 +216,3 @@ module fanduct(type=type,ductshape=ductshape) { | |||
209 | placeit() translate([fanduct_shell,-inlet_w/2+fanduct_shell,0]) | 216 | placeit() translate([fanduct_shell,-inlet_w/2+fanduct_shell,0]) |
210 | cube(size=[inlet_h-2*fanduct_shell,inlet_w-2*fanduct_shell,inlet_l+fanduct_shell+1]); | 217 | cube(size=[inlet_h-2*fanduct_shell,inlet_w-2*fanduct_shell,inlet_long_l+fanduct_shell+1]); |
211 | hull() { | 218 | hull() { |
@@ -256,3 +263,3 @@ module fanduct(type=type,ductshape=ductshape) { | |||
256 | 263 | ||
257 | view="vcut"; // hcut|vcut|* | 264 | view="*"; // hcut|vcut|* |
258 | 265 | ||