summaryrefslogtreecommitdiffabout
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--fanduct.scad3
1 files changed, 1 insertions, 2 deletions
diff --git a/fanduct.scad b/fanduct.scad
index 8d0414f..52aee0e 100644
--- a/fanduct.scad
+++ b/fanduct.scad
@@ -261,26 +261,25 @@ module fanduct(type=type,ductshape=ductshape,dual=dual) {
261 } 261 }
262 262
263 // ***air intake 263 // ***air intake
264 module intake(what) { 264 module intake(what) {
265 module placeit() { 265 module placeit() {
266 translate([-fanduct_ir-2*fanduct_shell-fanduct_w-inlet_away,0,fanduct_shell]) 266 translate([-fanduct_ir-2*fanduct_shell-fanduct_w-inlet_away,0,fanduct_shell])
267 rotate([0,-90,0]) 267 rotate([0,-90,0])
268 children(); 268 children();
269 } 269 }
270 if(what=="in") { 270 if(what=="in") {
271 placeit() translate([0,-inlet_w/2,0]) { 271 placeit() translate([0,-inlet_w/2,0]) {
272 difference() { 272 difference() {
273 cube(size=[inlet_h,inlet_w,inlet_long_l+fanduct_shell]); 273 cube(size=[inlet_h,inlet_w,inlet_long_l+fanduct_shell]); translate([inlet_h+fanduct_shell,0,inlet_long_l+fanduct_shell])
274 translate([inlet_h+fanduct_shell,0,inlet_long_l+fanduct_shell])
275 rotate([-90,0,0]) 274 rotate([-90,0,0])
276 translate([0,0,-1]) 275 translate([0,0,-1])
277 cylinder(r=inlet_h,h=inlet_w+2*fanduct_shell+2,$fn=inlet_h*4); 276 cylinder(r=inlet_h,h=inlet_w+2*fanduct_shell+2,$fn=inlet_h*4);
278 } 277 }
279 // supports 278 // supports
280 for(i=[-1,0,1]) 279 for(i=[-1,0,1])
281 translate([-fanduct_shell, 280 translate([-fanduct_shell,
282 (i+1)*(inlet_w-extrusion_width)/2, 281 (i+1)*(inlet_w-extrusion_width)/2,
283 -inlet_away-fanduct_w/2]) 282 -inlet_away-fanduct_w/2])
284 cube(size=[fanduct_shell+1, 283 cube(size=[fanduct_shell+1,
285 extrusion_width, 284 extrusion_width,
286 inlet_long_l+fanduct_shell+inlet_away+fanduct_w/2]); 285 inlet_long_l+fanduct_shell+inlet_away+fanduct_w/2]);