1 // cork for my weep of willow potion bottle
3 // designed to fit a small submersible led tea light into the cap and
4 // illuminate the smoke rising from the smoker. LED sits in
5 // led_cork(), and led_cap() is placed over it to diffuse. Printed @
6 // 100% infill, slow, and with the largest possible layer heights.
14 /* actual cork dimensions
20 module cork (bottom_d, top_d, height) {
22 cylinder (d=bottom_d, h=0.1);
23 translate ([0, 0, height]) cylinder (d=top_d, h=0.1);
28 // logically, should be arguments, but are shared between led_cork and
38 cork (bottom_inner_d + wall*2, top_inner_d + wall*2, height);
39 translate ([0, 0, wall*2]) cork (bottom_inner_d, top_inner_d, height);
44 // dome of the led, to be cut from cap
45 module led_dome (height = 8.5, diameter = 8.8) {
46 cylinder (d=diameter, h=height/2);
47 translate ([0, 0, height/2]) sphere (d=diameter);
51 module led_cap (cap_depth = 12, cap_tolerance = 0.5) {
53 // doesn't have to be exact, just need to fit in
54 cork (bottom_inner_d, top_inner_d - cap_tolerance, cap_depth);
55 translate ([0, 0, -0.01]) led_dome ();