]> www.fi.muni.cz Git - things.git/commitdiff
diffuser: adapted for LZZ lamp
authorJan "Yenya" Kasprzak <kas@fi.muni.cz>
Thu, 17 Aug 2023 11:13:20 +0000 (13:13 +0200)
committerJan "Yenya" Kasprzak <kas@fi.muni.cz>
Thu, 17 Aug 2023 11:13:20 +0000 (13:13 +0200)
diffuser-adjustable.scad

index c44068d330627e6a70c92c5b054d476435b1de3e..624c5d858649f30ba446ec07ab5c379548b4b03f 100644 (file)
 
 // the true _diameter_ of the flashlight + some space around
 // ring_d = 34.3 + 1.0; // zsj-t29
-ring_d = 44 + 1.0; // lzz-186
+ring_d = 44 + 0.5; // lzz-186
 
 // the diaphragm thickness, set so that it is printed with two print layers
-diaphragm = 0.5;
+diaphragm = 0.4;
 
 // outer wall thickness - preferably the integer multiple
 // of the print trace width
@@ -44,14 +44,15 @@ support_h = 3;
 support_w = 3;
 
 // the overall height:
-// ring_h = clip_top; // cylindrical shape without the clips protruding on the top
-ring_h = clip_h + wall; // clips protruding on the top
+ring_h = clip_top; // cylindrical shape without the clips protruding on the top
+// ring_h = clip_h + wall; // clips protruding on the top
 
 infty = 100;
 eps = 0.01;
 
 module diffuser() {
        difference() {
+               $fn = 256;
                // outer cylinder
                cylinder(r = ring_d/2 + wall, h = ring_h);
                // inner cylinder hole
@@ -72,7 +73,7 @@ module diffuser() {
                                rotate([0, clip_angle/2, 0])
                                        cube(infty);
                        }
-               cylinder(r = ring_d/2 + wall, h = clip_top);
+               cylinder(r = ring_d/2 + wall, h = clip_top, $fn = 256);
        }
 }