summaryrefslogtreecommitdiffabout
authorMichael Krelin <hacker@klever.net>2016-06-13 16:01:15 (UTC)
committer Michael Krelin <hacker@klever.net>2016-06-13 16:01:15 (UTC)
commit1afb1ce3d5afc54358f94b19e45d73f382a8246a (patch) (side-by-side diff)
tree8d6d69884b968cc5fa131b5b6e5cf09da46a3922
parentdb98325df397142e712aceca25a822c84a742b45 (diff)
downloadfanductory-1afb1ce3d5afc54358f94b19e45d73f382a8246a.zip
fanductory-1afb1ce3d5afc54358f94b19e45d73f382a8246a.tar.gz
fanductory-1afb1ce3d5afc54358f94b19e45d73f382a8246a.tar.bz2
dualism: no duct tails
for now
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--fanduct.scad4
1 files changed, 4 insertions, 0 deletions
diff --git a/fanduct.scad b/fanduct.scad
index 1090e95..fc57c57 100644
--- a/fanduct.scad
+++ b/fanduct.scad
@@ -285,24 +285,28 @@ module fanduct(type=type,ductshape=ductshape,dual=dual) {
translate([0,-inlet_w/2+fanduct_shell,0])
cube(size=[1,inlet_w-2*fanduct_shell,fanduct_h]);
}
}
}
// *** DUCT TAILS!!! WOO-OO! (every day they're out there making duct tails…)
module tails(what) {
+ if(dual) {
+ // XXX: not sure if it will ever be
+ }else{
if(what=="in") {
for(mx=[0,1]) mirror([mx,0,0])
translate([fanduct_ir+fanduct_shell+fanduct_w/2,0,fanduct_shell+fanduct_h/2])
rotate([90,0,90])
translate([0,0,-snapper_d/2])
snapper(d=snapper_d,o=snapper_overlap,side=0,l=fanduct_h*3/2+fanduct_shell);
}
}
+ }
module parts(what) {
union() {
duct(what);
marks(what);
output(what);
intake(what);
tails(what);