summaryrefslogtreecommitdiffabout
authorMichael Krelin <hacker@klever.net>2016-06-13 19:51:08 (UTC)
committer Michael Krelin <hacker@klever.net>2016-06-13 19:51:08 (UTC)
commit6129dba8296f318d9791769bbeb9304ba43f3d98 (patch) (unidiff)
treeaaa6d0bd7e9e8eb889f5298d99e6386a61dafc62
parentc1cf1db2fe6d4bb3450f6f94e806eca04955be3b (diff)
downloadfanductory-6129dba8296f318d9791769bbeb9304ba43f3d98.zip
fanductory-6129dba8296f318d9791769bbeb9304ba43f3d98.tar.gz
fanductory-6129dba8296f318d9791769bbeb9304ba43f3d98.tar.bz2
make support overlap with supported
otherwise slic3r fails to properly bridge
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--fanduct.scad2
1 files changed, 1 insertions, 1 deletions
diff --git a/fanduct.scad b/fanduct.scad
index 49ab4c2..302ea07 100644
--- a/fanduct.scad
+++ b/fanduct.scad
@@ -256,49 +256,49 @@ module fanduct(type=type,ductshape=ductshape,dual=dual) {
256 else if(type=="3jets") jets(what); 256 else if(type=="3jets") jets(what);
257 } 257 }
258 258
259 // ***air intake 259 // ***air intake
260 module intake(what) { 260 module intake(what) {
261 module placeit() { 261 module placeit() {
262 translate([-fanduct_ir-2*fanduct_shell-fanduct_w-inlet_away,0,fanduct_shell]) 262 translate([-fanduct_ir-2*fanduct_shell-fanduct_w-inlet_away,0,fanduct_shell])
263 rotate([0,-90,0]) 263 rotate([0,-90,0])
264 children(); 264 children();
265 } 265 }
266 if(what=="in") { 266 if(what=="in") {
267 placeit() translate([0,-inlet_w/2,0]) { 267 placeit() translate([0,-inlet_w/2,0]) {
268 difference() { 268 difference() {
269 cube(size=[inlet_h,inlet_w,inlet_long_l+fanduct_shell]); 269 cube(size=[inlet_h,inlet_w,inlet_long_l+fanduct_shell]);
270 translate([inlet_h+fanduct_shell,0,inlet_long_l+fanduct_shell]) 270 translate([inlet_h+fanduct_shell,0,inlet_long_l+fanduct_shell])
271 rotate([-90,0,0]) 271 rotate([-90,0,0])
272 translate([0,0,-1]) 272 translate([0,0,-1])
273 cylinder(r=inlet_h,h=inlet_w+2*fanduct_shell+2,$fn=inlet_h*4); 273 cylinder(r=inlet_h,h=inlet_w+2*fanduct_shell+2,$fn=inlet_h*4);
274 } 274 }
275 // supports 275 // supports
276 for(i=[-1,0,1]) 276 for(i=[-1,0,1])
277 translate([-fanduct_shell, 277 translate([-fanduct_shell,
278 (i+1)*(inlet_w-extrusion_width)/2, 278 (i+1)*(inlet_w-extrusion_width)/2,
279 -inlet_away-fanduct_w/2]) 279 -inlet_away-fanduct_w/2])
280 cube(size=[fanduct_shell, 280 cube(size=[fanduct_shell+1,
281 extrusion_width, 281 extrusion_width,
282 inlet_long_l+fanduct_shell+inlet_away+fanduct_w/2]); 282 inlet_long_l+fanduct_shell+inlet_away+fanduct_w/2]);
283 } 283 }
284 hull() { 284 hull() {
285 placeit() translate([-fanduct_shell,-inlet_w/2-fanduct_shell,0]) 285 placeit() translate([-fanduct_shell,-inlet_w/2-fanduct_shell,0])
286 cube(size=[inlet_h+2*fanduct_shell,inlet_w+2*fanduct_shell,fanduct_shell]); 286 cube(size=[inlet_h+2*fanduct_shell,inlet_w+2*fanduct_shell,fanduct_shell]);
287 translate([-fanduct_ir-fanduct_shell-fanduct_w/2,0,0]) 287 translate([-fanduct_ir-fanduct_shell-fanduct_w/2,0,0])
288 translate([0,-inlet_w/2-fanduct_shell/2,0]) 288 translate([0,-inlet_w/2-fanduct_shell/2,0])
289 cube(size=[1,inlet_w+fanduct_shell,fanduct_shell*2+fanduct_h]); 289 cube(size=[1,inlet_w+fanduct_shell,fanduct_shell*2+fanduct_h]);
290 } 290 }
291 }else if(what=="out") { 291 }else if(what=="out") {
292 placeit() translate([fanduct_shell,-inlet_w/2+fanduct_shell,0]) 292 placeit() translate([fanduct_shell,-inlet_w/2+fanduct_shell,0])
293 cube(size=[inlet_h-2*fanduct_shell,inlet_w-2*fanduct_shell,inlet_long_l+fanduct_shell+1]); 293 cube(size=[inlet_h-2*fanduct_shell,inlet_w-2*fanduct_shell,inlet_long_l+fanduct_shell+1]);
294 hull() { 294 hull() {
295 placeit() translate([fanduct_shell,-inlet_w/2+fanduct_shell,0]) 295 placeit() translate([fanduct_shell,-inlet_w/2+fanduct_shell,0])
296 cube(size=[inlet_h-2*fanduct_shell,inlet_w-2*fanduct_shell,fanduct_shell]); 296 cube(size=[inlet_h-2*fanduct_shell,inlet_w-2*fanduct_shell,fanduct_shell]);
297 translate([-fanduct_ir-fanduct_shell-fanduct_w/2,0,fanduct_shell]) 297 translate([-fanduct_ir-fanduct_shell-fanduct_w/2,0,fanduct_shell])
298 translate([0,-inlet_w/2+fanduct_shell,0]) 298 translate([0,-inlet_w/2+fanduct_shell,0])
299 cube(size=[1,inlet_w-2*fanduct_shell,fanduct_h]); 299 cube(size=[1,inlet_w-2*fanduct_shell,fanduct_h]);
300 } 300 }
301 } 301 }
302 } 302 }
303 303
304 // ***DUCT TAILS!!! WOO-OO! (every day they're out there making duct tails…) 304 // ***DUCT TAILS!!! WOO-OO! (every day they're out there making duct tails…)