summaryrefslogtreecommitdiffabout
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--fanduct.scad16
1 files changed, 10 insertions, 6 deletions
diff --git a/fanduct.scad b/fanduct.scad
index 1090e95..fc57c57 100644
--- a/fanduct.scad
+++ b/fanduct.scad
@@ -287,18 +287,22 @@ module fanduct(type=type,ductshape=ductshape,dual=dual) {
287 } 287 }
288 } 288 }
289 } 289 }
290 290
291 // ***DUCT TAILS!!! WOO-OO! (every day they're out there making duct tails…) 291 // ***DUCT TAILS!!! WOO-OO! (every day they're out there making duct tails…)
292 module tails(what) { 292 module tails(what) {
293 if(what=="in") { 293 if(dual) {
294 for(mx=[0,1]) mirror([mx,0,0]) 294 // XXX: not sure if it will ever be
295 translate([fanduct_ir+fanduct_shell+fanduct_w/2,0,fanduct_shell+fanduct_h/2]) 295 }else{
296 rotate([90,0,90]) 296 if(what=="in") {
297 translate([0,0,-snapper_d/2]) 297 for(mx=[0,1]) mirror([mx,0,0])
298 snapper(d=snapper_d,o=snapper_overlap,side=0,l=fanduct_h*3/2+fanduct_shell); 298 translate([fanduct_ir+fanduct_shell+fanduct_w/2,0,fanduct_shell+fanduct_h/2])
299 rotate([90,0,90])
300 translate([0,0,-snapper_d/2])
301 snapper(d=snapper_d,o=snapper_overlap,side=0,l=fanduct_h*3/2+fanduct_shell);
302 }
299 } 303 }
300 } 304 }
301 305
302 module parts(what) { 306 module parts(what) {
303 union() { 307 union() {
304 duct(what); 308 duct(what);