-rw-r--r-- | fanduct.scad | 16 |
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 @@ -291,10 +291,14 @@ module fanduct(type=type,ductshape=ductshape,dual=dual) { // *** DUCT TAILS!!! WOO-OO! (every day they're out there making duct tails…) module tails(what) { - 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); + 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); + } } } |