summaryrefslogtreecommitdiffabout
authorMichael Krelin <hacker@klever.net>2016-05-29 21:10:43 (UTC)
committer Michael Krelin <hacker@klever.net>2016-05-29 21:10:43 (UTC)
commit2ad350e5b2661fa64d3b04588b9b0986f29a72b9 (patch) (unidiff)
tree8abd233aa65fb79c35eb1abd54fe6ccf0c67ee80
parent6369f8a5865e1ce85d5b7a0520da47adbe86eba1 (diff)
downloadfanductory-2ad350e5b2661fa64d3b04588b9b0986f29a72b9.zip
fanductory-2ad350e5b2661fa64d3b04588b9b0986f29a72b9.tar.gz
fanductory-2ad350e5b2661fa64d3b04588b9b0986f29a72b9.tar.bz2
circular output going deeper
and deeper and deeper and deeper insiiiiiiiiiide
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 e16c5ae..72143e2 100644
--- a/fanduct.scad
+++ b/fanduct.scad
@@ -72,39 +72,39 @@ module fanduct(type=type) {
72 xyxyxy=concat(xyxy,[[0,0]]); 72 xyxyxy=concat(xyxy,[[0,0]]);
73 for(i=[0:1:len(xyxyxy)-2]) 73 for(i=[0:1:len(xyxyxy)-2])
74 hull() for(j=[i,i+1]) pin(xyxyxy[j]); 74 hull() for(j=[i,i+1]) pin(xyxyxy[j]);
75 } 75 }
76 76
77 module circus(what) { 77 module circus(what) {
78 if(what=="in") { 78 if(what=="in") {
79 difference() { 79 difference() {
80 rotate_extrude($fn=smooth_f) 80 rotate_extrude($fn=smooth_f)
81 polygon([ 81 polygon([
82 [0,-fanduct_elevation], 82 [0,-fanduct_elevation],
83 [fanduct_ir+fanduct_shell,fanduct_shell+fanduct_h/2], 83 [fanduct_ir+fanduct_shell,fanduct_shell+fanduct_h/2],
84 [fanduct_ir+fanduct_shell,0], 84 [fanduct_ir+fanduct_shell+fanduct_w/2,0],
85 [0,-fanduct_elevation-.1]]); 85 [0,-fanduct_elevation-.1]]);
86 translate([0,0,-1]) 86 translate([0,0,-1])
87 cylinder(r=hotend_clearance,h=fanduct_h+2*fanduct_shell+2,$fn=smooth_f); 87 cylinder(r=hotend_clearance,h=fanduct_h+2*fanduct_shell+2,$fn=smooth_f);
88 mirror([0,0,1]) 88 mirror([0,0,1])
89 translate([0,0,-epsilon]) 89 translate([0,0,-epsilon])
90 cylinder(r=fanduct_ir+fanduct_shell+1,h=fanduct_elevation+.1+2); 90 cylinder(r=fanduct_ir+fanduct_shell+1,h=fanduct_elevation+.1+2);
91 } 91 }
92 }else if(what=="out") { 92 }else if(what=="out") {
93 difference() { 93 difference() {
94 rotate_extrude($fn=smooth_f) 94 rotate_extrude($fn=smooth_f)
95 polygon([ 95 polygon([
96 [0,-fanduct_elevation], 96 [0,-fanduct_elevation],
97 [fanduct_ir+fanduct_shell+1,fanduct_h/2], 97 [fanduct_ir+fanduct_shell+1,fanduct_h/2],
98 [fanduct_ir+fanduct_shell+1,fanduct_shell], 98 [fanduct_ir+fanduct_w/2+fanduct_shell+1,fanduct_shell],
99 [0,-fanduct_elevation-.1]]); 99 [0,-fanduct_elevation-.1]]);
100 circus("airguides"); 100 circus("airguides");
101 } 101 }
102 }else if(what=="airguides") { 102 }else if(what=="airguides") {
103 inr = fanduct_ir+fanduct_shell; our = inr+fanduct_w; 103 inr = fanduct_ir+fanduct_shell; our = inr+fanduct_w;
104 union() { 104 union() {
105 for(my=[0,1]) mirror([0,my,0]) { 105 for(my=[0,1]) mirror([0,my,0]) {
106 guideline([ 106 guideline([
107 [-our,inlet_w/6], 107 [-our,inlet_w/6],
108 [-inr*sin(60),inr*cos(60)] 108 [-inr*sin(60),inr*cos(60)]
109 ]); 109 ]);
110 a0=30; as=15; a1=180; 110 a0=30; as=15; a1=180;