-rw-r--r-- | fanduct.scad | 4 |
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 | |||
@@ -187,26 +187,26 @@ module fanduct(type=type) { | |||
187 | cube(size=[inlet_h+2*fanduct_shell,inlet_w+2*fanduct_shell,fanduct_shell]); | 187 | cube(size=[inlet_h+2*fanduct_shell,inlet_w+2*fanduct_shell,fanduct_shell]); |
188 | translate([-fanduct_ir-fanduct_shell-fanduct_w/2,0,0]) | 188 | translate([-fanduct_ir-fanduct_shell-fanduct_w/2,0,0]) |
189 | translate([0,-inlet_w/2-fanduct_shell/2,0]) | 189 | translate([0,-inlet_w/2-fanduct_shell/2,0]) |
190 | cube(size=[1,inlet_w+fanduct_shell,fanduct_shell*2+fanduct_h]); | 190 | cube(size=[1,inlet_w+fanduct_shell,fanduct_shell*2+fanduct_h]); |
191 | } | 191 | } |
192 | }else if(what=="out") { | 192 | }else if(what=="out") { |
193 | placeit() translate([fanduct_shell,-inlet_w/2+fanduct_shell,0]) | 193 | placeit() translate([fanduct_shell,-inlet_w/2+fanduct_shell,0]) |
194 | cube(size=[inlet_h-2*fanduct_shell,inlet_w-2*fanduct_shell,inlet_l+fanduct_shell+1]); | 194 | cube(size=[inlet_h-2*fanduct_shell,inlet_w-2*fanduct_shell,inlet_l+fanduct_shell+1]); |
195 | hull() { | 195 | hull() { |
196 | placeit() translate([fanduct_shell,-inlet_w/2+fanduct_shell,0]) | 196 | placeit() translate([fanduct_shell,-inlet_w/2+fanduct_shell,0]) |
197 | cube(size=[inlet_h-2*fanduct_shell,inlet_w-2*fanduct_shell,fanduct_shell]); | 197 | cube(size=[inlet_h-2*fanduct_shell,inlet_w-2*fanduct_shell,fanduct_shell]); |
198 | translate([-fanduct_ir-fanduct_shell-fanduct_w/2,0,fanduct_shell]) | 198 | translate([-fanduct_ir-fanduct_shell-fanduct_w/2,0,fanduct_shell]) |
199 | translate([0,-inlet_w/2,0]) | 199 | translate([0,-inlet_w/2+fanduct_shell,0]) |
200 | cube(size=[1,inlet_w,fanduct_h]); | 200 | cube(size=[1,inlet_w-2*fanduct_shell,fanduct_h]); |
201 | } | 201 | } |
202 | } | 202 | } |
203 | } | 203 | } |
204 | 204 | ||
205 | // ***DUCT TAILS!!! WOO-OO! (every day they're out there making duct tails…) | 205 | // ***DUCT TAILS!!! WOO-OO! (every day they're out there making duct tails…) |
206 | module tails(what) { | 206 | module tails(what) { |
207 | if(what=="in") { | 207 | if(what=="in") { |
208 | for(mx=[0,1]) mirror([mx,0,0]) | 208 | for(mx=[0,1]) mirror([mx,0,0]) |
209 | translate([fanduct_ir+fanduct_shell+fanduct_w/2,0,fanduct_shell+fanduct_h/2]) | 209 | translate([fanduct_ir+fanduct_shell+fanduct_w/2,0,fanduct_shell+fanduct_h/2]) |
210 | rotate([90,0,90]) | 210 | rotate([90,0,90]) |
211 | translate([0,0,-snapper_d/2]) | 211 | translate([0,0,-snapper_d/2]) |
212 | snapper(d=snapper_d,o=snapper_overlap,side=0,l=fanduct_h*3/2+fanduct_shell); | 212 | snapper(d=snapper_d,o=snapper_overlap,side=0,l=fanduct_h*3/2+fanduct_shell); |