-rw-r--r-- | fanduct.scad | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/fanduct.scad b/fanduct.scad index fa14b7a..75a3bb1 100644 --- a/fanduct.scad +++ b/fanduct.scad | |||
@@ -140,15 +140,15 @@ module fanduct(type=type,ductshape=ductshape) { | |||
140 | } | 140 | } |
141 | 141 | ||
142 | module jets(what) { | 142 | module jets(what) { |
143 | od = fanduct_h/2+fanduct_shell; | 143 | od = fanduct_h*2/3+fanduct_shell; |
144 | md = fanduct_ir+fanduct_shell+fanduct_w/2; | 144 | md = fanduct_ir+fanduct_shell+fanduct_w/2; |
145 | jww = 2*md*sin(jet_angle/2); | 145 | jww = 2*md*sin(jet_angle/2); |
146 | render(convexity=8) difference() { | 146 | difference() { |
147 | for(a=[0:120:359]) rotate([0,0,a]) { | 147 | for(a=[0:120:359]) rotate([0,0,a]) { |
148 | if(what=="in") { | 148 | if(what=="in") { |
149 | hull() { | 149 | hull() { |
150 | render(convexity=4) intersection() { | 150 | intersection() { |
151 | translate([md-fanduct_shell-fanduct_w/2,-jww/2,0]) | 151 | translate([md-fanduct_w/2,-jww/2,0]) |
152 | cube(size=[fanduct_shell+fanduct_w/2,jww,od]); | 152 | cube(size=[fanduct_shell+fanduct_w/2,jww,od]); |
153 | duct(what=what); | 153 | duct(what=what); |
154 | } | 154 | } |
@@ -156,9 +156,9 @@ module fanduct(type=type,ductshape=ductshape) { | |||
156 | } | 156 | } |
157 | }else if(what=="out") { | 157 | }else if(what=="out") { |
158 | hull() { | 158 | hull() { |
159 | render(convexity=4) intersection() { | 159 | intersection() { |
160 | translate([md-fanduct_w/2-fanduct_shell,-jww/2+fanduct_shell,fanduct_shell]) | 160 | translate([md-fanduct_w/2,-jww/2+fanduct_shell,fanduct_shell]) |
161 | cube(size=[fanduct_w/2+fanduct_shell,jww-2*fanduct_shell,od-2*fanduct_shell]); | 161 | cube(size=[fanduct_w/2,jww-2*fanduct_shell,od-2*fanduct_shell]); |
162 | duct(what=what); | 162 | duct(what=what); |
163 | } | 163 | } |
164 | translate([0,0,-fanduct_elevation]) sphere(r=.2); | 164 | translate([0,0,-fanduct_elevation]) sphere(r=.2); |