// For any other flashlight, adjust the parameters below:
// the true _diameter_ of the flashlight + some space around
// For any other flashlight, adjust the parameters below:
// the true _diameter_ of the flashlight + some space around
// the clips protrude this much to the inner cylindrical hole
// the bigger value means more stiff fit
clip_w = 1.2;
// the clips protrude this much to the inner cylindrical hole
// the bigger value means more stiff fit
clip_w = 1.2;
// smaller is more stiff, but harder to remove
n_clips = 3; // number of clips; odd numbers prefered
// smaller is more stiff, but harder to remove
n_clips = 3; // number of clips; odd numbers prefered
-// 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
- // inner cylinder hole + diaphragm
+ // inner cylinder hole
+ translate([0, 0, diaphragm + support_h])
+ cylinder(r = ring_d/2, h = ring_h - support_h);
+ // support ring
translate([0, 0, ring_h + eps - wall])
cylinder(r1 = ring_d/2, r2 = ring_d/2 + wall/2, h = wall);
}
translate([0, 0, ring_h + eps - wall])
cylinder(r1 = ring_d/2, r2 = ring_d/2 + wall/2, h = wall);
}