summaryrefslogtreecommitdiffabout
Side-by-side diff
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--fanduct.scad1
1 files changed, 1 insertions, 0 deletions
diff --git a/fanduct.scad b/fanduct.scad
index 6eef682..d467c60 100644
--- a/fanduct.scad
+++ b/fanduct.scad
@@ -218,24 +218,25 @@ module fanduct(type=type) {
difference() {
parts("in");
parts("out");
}
}
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]);
}
}else if(view=="vcut") {
difference() {
fanduct();
translate([-hinfinity/2,0,-vinfinity/2])
cube(size=[hinfinity,hinfinity,vinfinity]);
}
}else fanduct();
+/* vim:set sw=1 ai: */