-rw-r--r-- | fanduct.scad | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/fanduct.scad b/fanduct.scad index 541a037..b8994d4 100644 --- a/fanduct.scad +++ b/fanduct.scad | |||
@@ -92,15 +92,12 @@ module fanduct(type=type) { | |||
92 | cylinder(r=fanduct_ir+fanduct_shell+1,h=fanduct_elevation+.1+2); | 92 | cylinder(r=fanduct_ir+fanduct_shell+1,h=fanduct_elevation+.1+2); |
93 | } | 93 | } |
94 | }else if(what=="out") { | 94 | }else if(what=="out") { |
95 | difference() { | 95 | rotate_extrude($fn=smooth_f) |
96 | rotate_extrude($fn=smooth_f) | 96 | polygon([ |
97 | polygon([ | 97 | [0,-fanduct_elevation], |
98 | [0,-fanduct_elevation], | 98 | [fanduct_ir+fanduct_shell+1,fanduct_h/2], |
99 | [fanduct_ir+fanduct_shell+1,fanduct_h/2], | 99 | [fanduct_ir+fanduct_w/2+fanduct_shell+1,fanduct_shell], |
100 | [fanduct_ir+fanduct_w/2+fanduct_shell+1,fanduct_shell], | 100 | [0,-fanduct_elevation-.1]]); |
101 | [0,-fanduct_elevation-.1]]); | ||
102 | circus("airguides"); | ||
103 | } | ||
104 | }else if(what=="airguides") { | 101 | }else if(what=="airguides") { |
105 | inr = fanduct_ir+fanduct_shell; our = inr+fanduct_w; | 102 | inr = fanduct_ir+fanduct_shell; our = inr+fanduct_w; |
106 | union() { | 103 | union() { |
@@ -227,7 +224,12 @@ module fanduct(type=type) { | |||
227 | parts("in"); | 224 | parts("in"); |
228 | parts("out"); | 225 | parts("out"); |
229 | } | 226 | } |
230 | 227 | intersection() { | |
228 | output("airguides"); | ||
229 | union() { | ||
230 | duct("in"); output("in"); intake("in"); | ||
231 | } | ||
232 | } | ||
231 | } | 233 | } |
232 | 234 | ||
233 | view="full"; // hcut|vcut|* | 235 | view="full"; // hcut|vcut|* |