X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;f=diffuser-adjustable.scad;h=624c5d858649f30ba446ec07ab5c379548b4b03f;hb=aca2eac366dba45ce058eebe4cbd97919a07b6a3;hp=c44068d330627e6a70c92c5b054d476435b1de3e;hpb=59c3368198ee29dddf12aac80c599379f1b955aa;p=things.git diff --git a/diffuser-adjustable.scad b/diffuser-adjustable.scad index c44068d..624c5d8 100644 --- a/diffuser-adjustable.scad +++ b/diffuser-adjustable.scad @@ -11,10 +11,10 @@ // 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); } }