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
@@ -249,50 +249,49 @@ module fanduct(type=type,ductshape=ductshape,dual=dual) {
[-near ,to_midduct/2] ]);
guideline([ [-near-fanduct_w/3, to_midduct/2 ],
[-near ,nozzles_apart/2+near ] ]);
guideline([ [0 ,nozzles_apart/2+near+fanduct_w*space_behind_nozzle/to_midduct] ]);
}
}
}
}
if(dual) dual(what);
else if(type=="circular") circus(what);
else if(type=="3jets") jets(what);
}
// *** 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]);
}
hull() {
placeit() translate([-fanduct_shell,-inlet_w/2-fanduct_shell,0])
cube(size=[inlet_h+2*fanduct_shell,inlet_w+2*fanduct_shell,fanduct_shell]);
translate([-fanduct_ir-fanduct_shell-fanduct_w/2,0,0])
translate([0,-inlet_w/2-fanduct_shell/2,0])
cube(size=[1,inlet_w+fanduct_shell,fanduct_shell*2+fanduct_h]);
}
}else if(what=="out") {
placeit() translate([fanduct_shell,-inlet_w/2+fanduct_shell,0])
cube(size=[inlet_h-2*fanduct_shell,inlet_w-2*fanduct_shell,inlet_long_l+fanduct_shell+1]);
hull() {