summaryrefslogtreecommitdiffabout
authorMichael Krelin <hacker@klever.net>2016-06-13 19:50:14 (UTC)
committer Michael Krelin <hacker@klever.net>2016-06-13 19:50:14 (UTC)
commitc1cf1db2fe6d4bb3450f6f94e806eca04955be3b (patch) (unidiff)
tree9df2a570f21c5052f7c6da33c5eef80a04c5cd8b
parent8c7f2ad8328d741b1e901ca985f666507f744c09 (diff)
downloadfanductory-c1cf1db2fe6d4bb3450f6f94e806eca04955be3b.zip
fanductory-c1cf1db2fe6d4bb3450f6f94e806eca04955be3b.tar.gz
fanductory-c1cf1db2fe6d4bb3450f6f94e806eca04955be3b.tar.bz2
increase effective hotend clearance
so that it corresponds to theoretical
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--fanduct.scad3
1 files changed, 2 insertions, 1 deletions
diff --git a/fanduct.scad b/fanduct.scad
index 6407a96..49ab4c2 100644
--- a/fanduct.scad
+++ b/fanduct.scad
@@ -211,33 +211,34 @@ module fanduct(type=type,ductshape=ductshape,dual=dual) {
211 } 211 }
212 } 212 }
213 } 213 }
214 214
215 module dual(what=what) { 215 module dual(what=what) {
216 module hulls(spots=dual_spots) { 216 module hulls(spots=dual_spots) {
217 for(my=[0,1]) mirror([0,my,0]) for(pn=[0:1:len(spots)-2]) hull() { 217 for(my=[0,1]) mirror([0,my,0]) for(pn=[0:1:len(spots)-2]) hull() {
218 for(p=[spots[pn],spots[pn+1]]) translate(p) children(0); 218 for(p=[spots[pn],spots[pn+1]]) translate(p) children(0);
219 children([1:$children-1]); 219 children([1:$children-1]);
220 } 220 }
221 } 221 }
222 if(what=="in") { 222 if(what=="in") {
223 cfn= 4; // clearance cutout $fn
223 difference() { 224 difference() {
224 hulls() { 225 hulls() {
225 cylinder(d=fanduct_w+2*fanduct_shell,h=2*fanduct_shell+fanduct_h/2); 226 cylinder(d=fanduct_w+2*fanduct_shell,h=2*fanduct_shell+fanduct_h/2);
226 translate([0,-nozzles_apart/2,-fanduct_elevation-fanduct_blowtarget]) sphere(d=.1); 227 translate([0,-nozzles_apart/2,-fanduct_elevation-fanduct_blowtarget]) sphere(d=.1);
227 } 228 }
228 translate([0,0,epsilon]) hull() for(my=[0:1]) mirror([0,my,0]) for(s=dual_spots) translate(s) 229 translate([0,0,epsilon]) hull() for(my=[0:1]) mirror([0,my,0]) for(s=dual_spots) translate(s)
229 mirror([0,0,1]) cylinder(d=fanduct_w+2*fanduct_shell+2,h=fanduct_elevation-fanduct_blowtarget+1); 230 mirror([0,0,1]) cylinder(d=fanduct_w+2*fanduct_shell+2,h=fanduct_elevation-fanduct_blowtarget+1);
230 for(s=[-1,1]) translate([0,s*nozzles_apart/2,-1]) 231 for(s=[-1,1]) translate([0,s*nozzles_apart/2,-1])
231 rotate([0,0,45]) cylinder(r=hotend_clearance,h=fanduct_h+2*fanduct_shell+2,$fn=4); 232 rotate([0,0,180/cfn]) cylinder(r=hotend_clearance/cos(180/cfn),h=fanduct_h+2*fanduct_shell+2,$fn=cfn);
232 } 233 }
233 }else if(what=="out") { 234 }else if(what=="out") {
234 hulls() { 235 hulls() {
235 translate([0,0,fanduct_shell]) cylinder(d=fanduct_w,h=fanduct_h/2-fanduct_shell/2); 236 translate([0,0,fanduct_shell]) cylinder(d=fanduct_w,h=fanduct_h/2-fanduct_shell/2);
236 translate([0,-nozzles_apart/2,-fanduct_elevation+fanduct_blowtarget]) sphere(d=.1); 237 translate([0,-nozzles_apart/2,-fanduct_elevation+fanduct_blowtarget]) sphere(d=.1);
237 } 238 }
238 }else if(what=="airguides") { 239 }else if(what=="airguides") {
239 far = fanduct_ir+fanduct_shell+fanduct_w; 240 far = fanduct_ir+fanduct_shell+fanduct_w;
240 near = fanduct_ir; 241 near = fanduct_ir;
241 union() { 242 union() {
242 for(my=[0,1]) mirror([0,my,0]) { 243 for(my=[0,1]) mirror([0,my,0]) {
243 guideline([ [-far ,0], [0,0] ]); 244 guideline([ [-far ,0], [0,0] ]);