From: Jan "Yenya" Kasprzak Date: Tue, 12 May 2015 20:18:34 +0000 (+0200) Subject: led-arrow: more printability fixes X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=commitdiff_plain;h=49c878b6761207d452c49646bae5c23fb921824d;p=things.git led-arrow: more printability fixes --- diff --git a/led-arrow.scad b/led-arrow.scad index d60e695..768bba5 100644 --- a/led-arrow.scad +++ b/led-arrow.scad @@ -2,26 +2,26 @@ eps = 0.01; infty = 100; module chamber() { - hull() { - for (i = [-1, 1]) { + hull() { + for (i = [-1, 1]) { translate([-3, 0, 0.5]) - scale([1.25, 1, 1]) - cylinder(r1 = 8, r2 = 10, h = 4, $fn = 3); - // translate([i+2, 0, 0]) + scale([1.25, 1, 1]) + cylinder(r1 = 8, r2 = 9, h = 4, $fn = 3); rotate([0, 35*i, 0]) { translate([0, 0, 7]) - cylinder(r1 = 8/2, r2 = 5.5/2,h = 4, $fn = 6); + rotate([0, 0, 45]) + cylinder(r = 10/2, h = 4, $fn = 4); } } } for (i = [-1, 1]) { rotate([0, 35*i, 0]) translate([0, 0, 10]) - cylinder(r = 5.5/2, h = 5, $fn = 10); + cylinder(r = 6.0/2, h = 5, $fn = 6); intersection() { rotate([0, 35*i, 0]) translate([0, 0, 15-eps]) - cylinder(r = 8/2, h = 10, $fn = 10); + cylinder(r = 8/2, h = 10, $fn = 6); translate([-30/2, -15/2, eps]) cube([30, 15, 15]); } @@ -37,7 +37,7 @@ module chamber() { } screw_x = 5; -screw_y = 10; +screw_y = 11; module body() { hull() { @@ -46,7 +46,7 @@ module body() { cube([36, 20, 5]); // bottom triangle translate([-3, 0, 0]) - scale([1.25, 1, 1]) + scale([1.5, 1, 1]) cylinder(r = 11, h = eps, $fn = 3); // screw base translate([screw_x-12/2, screw_y-12/2,17]) @@ -73,4 +73,5 @@ module light() { // translate([-infty/2, -infty, -infty/2]) cube(infty); } } + light();