summaryrefslogtreecommitdiffabout
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--fanduct.scad4
1 files changed, 2 insertions, 2 deletions
diff --git a/fanduct.scad b/fanduct.scad
index 41048bf..541a037 100644
--- a/fanduct.scad
+++ b/fanduct.scad
@@ -175,50 +175,50 @@ module fanduct(type=type) {
cube(size=[inlet_h,inlet_w,inlet_l+fanduct_shell]);
// supports
for(i=[-1,0,1])
translate([-fanduct_shell,
(i+1)*(inlet_w-extrusion_width)/2,
-inlet_away-fanduct_w/2])
cube(size=[fanduct_shell,
extrusion_width,
inlet_l+fanduct_shell+inlet_away+fanduct_w/2]);
}
hull() {
placeit() translate([-fanduct_shell,-inlet_w/2-fanduct_shell,0])
cube(size=[inlet_h+2*fanduct_shell,inlet_w+2*fanduct_shell,fanduct_shell]);
translate([-fanduct_ir-fanduct_shell-fanduct_w/2,0,0])
translate([0,-inlet_w/2-fanduct_shell/2,0])
cube(size=[1,inlet_w+fanduct_shell,fanduct_shell*2+fanduct_h]);
}
}else if(what=="out") {
placeit() translate([fanduct_shell,-inlet_w/2+fanduct_shell,0])
cube(size=[inlet_h-2*fanduct_shell,inlet_w-2*fanduct_shell,inlet_l+fanduct_shell+1]);
hull() {
placeit() translate([fanduct_shell,-inlet_w/2+fanduct_shell,0])
cube(size=[inlet_h-2*fanduct_shell,inlet_w-2*fanduct_shell,fanduct_shell]);
translate([-fanduct_ir-fanduct_shell-fanduct_w/2,0,fanduct_shell])
- translate([0,-inlet_w/2,0])
- cube(size=[1,inlet_w,fanduct_h]);
+ 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(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);
}
}