]> www.fi.muni.cz Git - things.git/commitdiff
led-arrow: more printability fixes
authorJan "Yenya" Kasprzak <kas@fi.muni.cz>
Tue, 12 May 2015 20:18:34 +0000 (22:18 +0200)
committerJan "Yenya" Kasprzak <kas@fi.muni.cz>
Tue, 12 May 2015 20:18:34 +0000 (22:18 +0200)
led-arrow.scad

index d60e69537f5c69d2cbf9eb612ae4650517dba1f6..768bba5c203776308c243cd94a4cd43d99e956bf 100644 (file)
@@ -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();