Seven Segment Digits in OpenScad

Seven Segment Digits in OpenScad

thingiverse

A long time back, when I was first learning to code in Windows, I rand the Charles Petzold digital clock application as a sample. Since then, I've done everything with that clock from rendering in OpenGL to high resolution timers. This thing takes the seven segment digital display and renders it in OpenScad. It's pretty straight forward. There are three routines. DisplayDigit(number, height) - Will display a single digit, centered at the origin. DisplayDigits(numbers, count, height) - Will display a sequence of numbers, separated by a gap of 4mm. RenderDigitsPlate(digits, count, thickness, height) - Will display a sequence of numbers, and put a nice rectangle underneath them in case you want to easily CSG the sequence of numbers with something else. It's a bit hacky in that the gap between numbers is fixed, and I didn't normalize the polygon data, so it's a fixed size of 38x68. Of course you can scale it, but... Well, there it is. finally off my chest. And now I have nice 7-segment numbers in the bag of tricks. You can guess at the signifance of the number in the picture. Instructions 1) Think of some nifty uses for numbers either individually, or in combinations. 2) Download the .scad 3) Enter your number sequence 4) Print 5) Rejoice!

Download Model from thingiverse

With this file you will be able to print Seven Segment Digits in OpenScad with your 3D printer. Click on the button and save the file on your computer to work, edit or customize your design. You can also find more 3D designs for printers on Seven Segment Digits in OpenScad.