author | Michael Krelin <hacker@klever.net> | 2016-06-13 17:01:04 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2016-06-13 17:01:04 (UTC) |
commit | 9ea9868b95605c7a89e13720fe70cb68b88d3820 (patch) (unidiff) | |
tree | d3d7b4055b8e5fef7a3127964e90131c6c5d7813 | |
parent | 8ae83841f4b02964db406d2527d4e8a5b8d4906a (diff) | |
download | fanductory-9ea9868b95605c7a89e13720fe70cb68b88d3820.zip fanductory-9ea9868b95605c7a89e13720fe70cb68b88d3820.tar.gz fanductory-9ea9868b95605c7a89e13720fe70cb68b88d3820.tar.bz2 |
dualism: clear squarely
-rw-r--r-- | fanduct.scad | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fanduct.scad b/fanduct.scad index f5a7b7a..da89aac 100644 --- a/fanduct.scad +++ b/fanduct.scad | |||
@@ -219,25 +219,25 @@ module fanduct(type=type,ductshape=ductshape,dual=dual) { | |||
219 | children([1:$children-1]); | 219 | children([1:$children-1]); |
220 | } | 220 | } |
221 | } | 221 | } |
222 | if(what=="in") { | 222 | if(what=="in") { |
223 | difference() { | 223 | difference() { |
224 | hulls() { | 224 | hulls() { |
225 | cylinder(d=fanduct_w+2*fanduct_shell,h=2*fanduct_shell+fanduct_h/2); | 225 | 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); | 226 | translate([0,-nozzles_apart/2,-fanduct_elevation-fanduct_blowtarget]) sphere(d=.1); |
227 | } | 227 | } |
228 | translate([0,0,epsilon]) hull() for(my=[0:1]) mirror([0,my,0]) for(s=dual_spots) translate(s) | 228 | 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); | 229 | 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]) | 230 | for(s=[-1,1]) translate([0,s*nozzles_apart/2,-1]) |
231 | cylinder(r=hotend_clearance,h=fanduct_h+2*fanduct_shell+2,$fn=smooth_f); | 231 | rotate([0,0,45]) cylinder(r=hotend_clearance,h=fanduct_h+2*fanduct_shell+2,$fn=4); |
232 | } | 232 | } |
233 | }else if(what=="out") { | 233 | }else if(what=="out") { |
234 | hulls() { | 234 | hulls() { |
235 | translate([0,0,fanduct_shell]) cylinder(d=fanduct_w,h=fanduct_h/2-fanduct_shell/2); | 235 | 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); | 236 | translate([0,-nozzles_apart/2,-fanduct_elevation+fanduct_blowtarget]) sphere(d=.1); |
237 | } | 237 | } |
238 | }else if(what=="airguides") { | 238 | }else if(what=="airguides") { |
239 | far = fanduct_ir+fanduct_shell+fanduct_w; | 239 | far = fanduct_ir+fanduct_shell+fanduct_w; |
240 | near = fanduct_ir; | 240 | near = fanduct_ir; |
241 | union() { | 241 | union() { |
242 | for(my=[0,1]) mirror([0,my,0]) { | 242 | for(my=[0,1]) mirror([0,my,0]) { |
243 | guideline([ [-far ,0], [0,0] ]); | 243 | guideline([ [-far ,0], [0,0] ]); |