summaryrefslogtreecommitdiffabout
authorMichael Krelin <hacker@klever.net>2016-05-30 22:59:06 (UTC)
committer Michael Krelin <hacker@klever.net>2016-05-30 22:59:06 (UTC)
commit045e95f7882a47bd5dc017705f6743a61e6a5214 (patch) (unidiff)
treea9ae1e95ef98e825d67bb5057f3b46a1a312c8ec
parent6710a3a6d827f828c69d782450e02432ee1f0aa2 (diff)
downloadfanductory-045e95f7882a47bd5dc017705f6743a61e6a5214.zip
fanductory-045e95f7882a47bd5dc017705f6743a61e6a5214.tar.gz
fanductory-045e95f7882a47bd5dc017705f6743a61e6a5214.tar.bz2
fix airguides generation
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--fanduct.scad22
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
233view="full"; // hcut|vcut|* 235view="full"; // hcut|vcut|*