author | Michael Krelin <hacker@klever.net> | 2016-05-27 21:06:11 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2016-05-27 21:06:11 (UTC) |
commit | d6c42dc3c0c88a836d255a349588be3c38111093 (patch) (side-by-side diff) | |
tree | 1f6148fa14da8d39a55abbedc0c7d71ad7ec4b56 | |
parent | ead35d4dd76ff079399b9ac6272fa86d3b23a2dc (diff) | |
download | fanductory-d6c42dc3c0c88a836d255a349588be3c38111093.zip fanductory-d6c42dc3c0c88a836d255a349588be3c38111093.tar.gz fanductory-d6c42dc3c0c88a836d255a349588be3c38111093.tar.bz2 |
reprettified air intake
-rw-r--r-- | fanduct.scad | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fanduct.scad b/fanduct.scad index d711166..6eef682 100644 --- a/fanduct.scad +++ b/fanduct.scad @@ -166,26 +166,26 @@ module fanduct(type=type) { placeit() translate([0,-inlet_w/2,0]) { cube(size=[inlet_h,inlet_w,inlet_l+fanduct_shell]); // supports for(i=[-1,0,1]) translate([-fanduct_shell, (i+1)*(inlet_w-extrusion_width)/2, -inlet_away-fanduct_w/2]) cube(size=[fanduct_shell, extrusion_width, inlet_l+fanduct_shell+inlet_away+fanduct_w/2]); } hull() { - placeit() translate([-fanduct_shell,-inlet_w/2-fanduct_shell/2,0]) - cube(size=[inlet_h+fanduct_shell,inlet_w+fanduct_shell,fanduct_shell]); + placeit() translate([-fanduct_shell,-inlet_w/2-fanduct_shell,0]) + cube(size=[inlet_h+2*fanduct_shell,inlet_w+2*fanduct_shell,fanduct_shell]); translate([-fanduct_ir-fanduct_shell-fanduct_w/2,0,0]) translate([0,-inlet_w/2-fanduct_shell/2,0]) cube(size=[1,inlet_w+fanduct_shell,fanduct_shell*2+fanduct_h]); } }else if(what=="out") { placeit() translate([fanduct_shell,-inlet_w/2+fanduct_shell,0]) cube(size=[inlet_h-2*fanduct_shell,inlet_w-2*fanduct_shell,inlet_l+fanduct_shell+1]); hull() { placeit() translate([fanduct_shell,-inlet_w/2+fanduct_shell,0]) cube(size=[inlet_h-2*fanduct_shell,inlet_w-2*fanduct_shell,fanduct_shell]); translate([-fanduct_ir-fanduct_shell-fanduct_w/2,0,fanduct_shell]) translate([0,-inlet_w/2,0]) @@ -213,25 +213,25 @@ module fanduct(type=type) { intake(what); tails(what); } } difference() { parts("in"); parts("out"); } } -view=""; // hcut|vcut|* +view="full"; // hcut|vcut|* hinfinity=4*(fanduct_ir+fanduct_shell*2+fanduct_w+inlet_away); vinfinity=2*(fanduct_shell*2+fanduct_h+inlet_h); if(view=="hcut") { difference() { fanduct(); translate([-hinfinity/2,-hinfinity/2,fanduct_shell+fanduct_h/2]) cube(size=[hinfinity,hinfinity,vinfinity]); } }else if(view=="vcut") { difference() { fanduct(); |