summaryrefslogtreecommitdiffabout
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--fanduct.scad11
1 files changed, 6 insertions, 5 deletions
diff --git a/fanduct.scad b/fanduct.scad
index 132b9e8..690a4c8 100644
--- a/fanduct.scad
+++ b/fanduct.scad
@@ -222,53 +222,54 @@ module fanduct(type=type,ductshape=ductshape,dual=dual) {
}
}
if(what=="in") {
cfn= 4; // clearance cutout $fn
difference() {
hulls() {
cylinder(d=fanduct_w+2*fanduct_shell,h=2*fanduct_shell+fanduct_h/2);
translate([0,-nozzles_apart/2,-fanduct_elevation-fanduct_blowtarget]) sphere(d=.1);
}
translate([0,0,epsilon]) hull() for(my=[0:1]) mirror([0,my,0]) for(s=dual_spots) translate(s)
mirror([0,0,1]) cylinder(d=fanduct_w+2*fanduct_shell+2,h=fanduct_elevation-fanduct_blowtarget+1);
for(s=[-1,1]) translate([0,s*nozzles_apart/2,-1])
rotate([0,0,180/cfn]) cylinder(r=hotend_clearance/cos(180/cfn),h=fanduct_h+2*fanduct_shell+2,$fn=cfn);
}
}else if(what=="out") {
hulls() {
translate([0,0,fanduct_shell]) cylinder(d=fanduct_w,h=fanduct_h/2-fanduct_shell/2);
translate([0,-nozzles_apart/2,-fanduct_elevation+fanduct_blowtarget]) sphere(d=.1);
}
}else if(what=="airguides") {
far = fanduct_ir+fanduct_shell+fanduct_w;
near = fanduct_ir;
union() {
for(my=[0,1]) mirror([0,my,0]) {
- guideline([ [-far ,0], [0,0] ]);
- guideline([ [-far ,inlet_w/2/4],
- [-near ,nozzles_apart/2] ]);
- guideline([ [-near-fanduct_w/3,nozzles_apart/2+near+fanduct_w/3] ]);
- guideline([ [0 ,nozzles_apart/2+near+fanduct_w/2] ]);
+ guideline([ [-far ,0], [0, nozzles_apart/8] ]);
+ guideline([ [-far ,inlet_w/2/4 ],
+ [-near ,to_midduct/2] ]);
+ guideline([ [-near-fanduct_w/3, to_midduct/2 ],
+ [-near ,nozzles_apart/2+near ] ]);
+ guideline([ [0 ,nozzles_apart/2+near+fanduct_w*space_behind_nozzle/to_midduct] ]);
}
}
}
}
if(dual) dual(what);
else if(type=="circular") circus(what);
else if(type=="3jets") jets(what);
}
// *** air intake
module intake(what) {
module placeit() {
translate([-fanduct_ir-2*fanduct_shell-fanduct_w-inlet_away,0,fanduct_shell])
rotate([0,-90,0])
children();
}
if(what=="in") {
placeit() translate([0,-inlet_w/2,0]) {
difference() {
cube(size=[inlet_h,inlet_w,inlet_long_l+fanduct_shell]);
translate([inlet_h+fanduct_shell,0,inlet_long_l+fanduct_shell])
rotate([-90,0,0])
translate([0,0,-1])