Light Tubes
Last updated
Last updated
A "Light Tube" is a way to let a LED (or NeoPixel) shine only through the Lid. It projects the light on the Lid of the project box.
tubeLength
The length of the tube-window in the Y-ax direction
tubeWidth
The width of the tube-window in the X-ax direction
tubeWall
The wall thickness around the tube
abovePcb
The space between the PCB and the bottom of the light tube
lensThickness
Will make an opening in the Lid to let the light shine trough. If lensThickness is omitted there will be an open hole on top of the Lid, otherwise there will be a small layer of material on top of the Lid
tubeType
The shape of the window. Either a rectangle (yappRectangle) or a circle (yappCircle)
With this code:
You get these light tubes: