summaryrefslogtreecommitdiffabout
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--fanduct.scad14
1 files changed, 8 insertions, 6 deletions
diff --git a/fanduct.scad b/fanduct.scad
index 235c079..e16c5ae 100644
--- a/fanduct.scad
+++ b/fanduct.scad
@@ -53,8 +53,10 @@ module fanduct(type=type) {
53 if(what=="in") { 53 if(what=="in") {
54 for(y=[-1,1]) translate([0,y*(fanduct_ir+fanduct_shell+fanduct_w/2),fanduct_shell*2+fanduct_h]) 54 for(y=[-1,1])
55 rotate([90,0,0]) { 55 hull() for(z=[0,-fanduct_shell-fanduct_h/2])
56 cylinder(r=fanduct_shell,h=fanduct_w,center=true,$fn=30); 56 translate([0,y*(fanduct_ir+fanduct_shell+fanduct_w/2),fanduct_shell*2+fanduct_h+z])
57 for(z=[-1,1]) translate([0,0,z*fanduct_w/2]) 57 rotate([90,0,0]) {
58 sphere(r=fanduct_shell,$fn=30); 58 cylinder(r=fanduct_shell,h=fanduct_w,center=true,$fn=30);
59 } 59 for(z=[-1,1]) translate([0,0,z*fanduct_w/2])
60 sphere(r=fanduct_shell,$fn=30);
61 }
60 } 62 }