summaryrefslogtreecommitdiffabout
Side-by-side diff
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) {
}
// *** air intake
module intake(what) {
module placeit() {
translate([-fanduct_ir-2*fanduct_shell-fanduct_w-inlet_away,0,fanduct_shell])
rotate([0,-90,0])
children();
}
if(what=="in") {
placeit() translate([0,-inlet_w/2,0]) {
difference() {
- cube(size=[inlet_h,inlet_w,inlet_long_l+fanduct_shell]);
- translate([inlet_h+fanduct_shell,0,inlet_long_l+fanduct_shell])
+ cube(size=[inlet_h,inlet_w,inlet_long_l+fanduct_shell]); translate([inlet_h+fanduct_shell,0,inlet_long_l+fanduct_shell])
rotate([-90,0,0])
translate([0,0,-1])
cylinder(r=inlet_h,h=inlet_w+2*fanduct_shell+2,$fn=inlet_h*4);
}
// supports
for(i=[-1,0,1])
translate([-fanduct_shell,
(i+1)*(inlet_w-extrusion_width)/2,
-inlet_away-fanduct_w/2])
cube(size=[fanduct_shell+1,
extrusion_width,
inlet_long_l+fanduct_shell+inlet_away+fanduct_w/2]);