summaryrefslogtreecommitdiffabout
authorMichael Krelin <hacker@klever.net>2016-05-30 22:56:06 (UTC)
committer Michael Krelin <hacker@klever.net>2016-05-30 22:56:06 (UTC)
commit6710a3a6d827f828c69d782450e02432ee1f0aa2 (patch) (unidiff)
tree4fab66838c6fc2dd744ca40e66f781733af1737d
parent72c91c8ba5fb5601fbb2d43e05dd79dc0b441348 (diff)
downloadfanductory-6710a3a6d827f828c69d782450e02432ee1f0aa2.zip
fanductory-6710a3a6d827f828c69d782450e02432ee1f0aa2.tar.gz
fanductory-6710a3a6d827f828c69d782450e02432ee1f0aa2.tar.bz2
thicken intake walls a tiny bit
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
@@ -167,66 +167,66 @@ module fanduct(type=type) {
167 module intake(what) { 167 module intake(what) {
168 module placeit() { 168 module placeit() {
169 translate([-fanduct_ir-2*fanduct_shell-fanduct_w-inlet_away,0,fanduct_shell]) 169 translate([-fanduct_ir-2*fanduct_shell-fanduct_w-inlet_away,0,fanduct_shell])
170 rotate([0,-90,0]) 170 rotate([0,-90,0])
171 children(); 171 children();
172 } 172 }
173 if(what=="in") { 173 if(what=="in") {
174 placeit() translate([0,-inlet_w/2,0]) { 174 placeit() translate([0,-inlet_w/2,0]) {
175 cube(size=[inlet_h,inlet_w,inlet_l+fanduct_shell]); 175 cube(size=[inlet_h,inlet_w,inlet_l+fanduct_shell]);
176 // supports 176 // supports
177 for(i=[-1,0,1]) 177 for(i=[-1,0,1])
178 translate([-fanduct_shell, 178 translate([-fanduct_shell,
179 (i+1)*(inlet_w-extrusion_width)/2, 179 (i+1)*(inlet_w-extrusion_width)/2,
180 -inlet_away-fanduct_w/2]) 180 -inlet_away-fanduct_w/2])
181 cube(size=[fanduct_shell, 181 cube(size=[fanduct_shell,
182 extrusion_width, 182 extrusion_width,
183 inlet_l+fanduct_shell+inlet_away+fanduct_w/2]); 183 inlet_l+fanduct_shell+inlet_away+fanduct_w/2]);
184 } 184 }
185 hull() { 185 hull() {
186 placeit() translate([-fanduct_shell,-inlet_w/2-fanduct_shell,0]) 186 placeit() translate([-fanduct_shell,-inlet_w/2-fanduct_shell,0])
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);
213 } 213 }
214 } 214 }
215 215
216 module parts(what) { 216 module parts(what) {
217 union() { 217 union() {
218 duct(what); 218 duct(what);
219 marks(what); 219 marks(what);
220 output(what); 220 output(what);
221 intake(what); 221 intake(what);
222 tails(what); 222 tails(what);
223 } 223 }
224 } 224 }
225 225
226 difference() { 226 difference() {
227 parts("in"); 227 parts("in");
228 parts("out"); 228 parts("out");
229 } 229 }
230 230
231} 231}
232 232