From aca2eac366dba45ce058eebe4cbd97919a07b6a3 Mon Sep 17 00:00:00 2001 From: "Jan \"Yenya\" Kasprzak" Date: Thu, 17 Aug 2023 13:13:20 +0200 Subject: [PATCH] diffuser: adapted for LZZ lamp --- diffuser-adjustable.scad | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) 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); } } -- 2.43.5