-rw-r--r-- | fanduct.scad | 3 |
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 @@ -220,6 +220,7 @@ 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); @@ -228,7 +229,7 @@ module fanduct(type=type,ductshape=ductshape,dual=dual) { 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,45]) cylinder(r=hotend_clearance,h=fanduct_h+2*fanduct_shell+2,$fn=4); + 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() { |