summaryrefslogtreecommitdiffabout
path: root/fanduct.scad
Side-by-side diff
Diffstat (limited to 'fanduct.scad') (more/less context) (show whitespace changes)
-rw-r--r--fanduct.scad3
1 files changed, 3 insertions, 0 deletions
diff --git a/fanduct.scad b/fanduct.scad
index f4bb705..563920c 100644
--- a/fanduct.scad
+++ b/fanduct.scad
@@ -213,33 +213,36 @@ module fanduct(type=type) {
module parts(what) {
union() {
duct(what);
marks(what);
output(what);
intake(what);
tails(what);
}
}
difference() {
parts("in");
parts("out");
}
intersection() {
+ union() {
output("airguides");
+ sphere(d=epsilon);
+ }
union() {
duct("in"); output("in"); intake("in");
}
}
}
view="full"; // hcut|vcut|*
hinfinity=4*(fanduct_ir+fanduct_shell*2+fanduct_w+inlet_away);
vinfinity=2*(fanduct_shell*2+fanduct_h+inlet_h);
if(view=="hcut") {
difference() {
fanduct();
translate([-hinfinity/2,-hinfinity/2,fanduct_shell+fanduct_h/2])
cube(size=[hinfinity,hinfinity,vinfinity]);
}