• Models
  • Contests
  • Slicer
  • Login
  • Start Here
    thingiverse-iconprintables-iconcults3d-iconmakerworld-iconmyminifactory-icon

    3D GO

    3D ModelsContestsCollectionsSaved ModelsOn a mobile device?

3D GO

Privacy Policy
Seven Segment Digits in OpenScad 3D Printer File Image 1
Seven Segment Digits in OpenScad 3D Printer File Image 2
Seven Segment Digits in OpenScad 3D Printer File Thumbnail 1
Seven Segment Digits in OpenScad 3D Printer File Thumbnail 2

Seven Segment Digits in OpenScad

WilliamAAdams avatarWilliamAAdams

October 22, 2011

thingiverse-icon
DescriptionCommentsTags

Description

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.

License:

Creative Commons - Attribution

Related Models

seven segment LED clock (ESP8266 + WS2812b) preview image

seven segment LED clock (ESP8266 + WS2812b)

jdobry profile image

jdobry

746

7 Segment Mechanical Counter v3.0 preview image

7 Segment Mechanical Counter v3.0

rky.91 profile image

rky.91

2,359

7-Segment Clock using WS2812 preview image

7-Segment Clock using WS2812

Pontifex42 profile image

Pontifex42

405

VERSION 2 - Electromechanical 7-Segment Display preview image

VERSION 2 - Electromechanical 7-Segment Display

Over Invented profile image

Over Invented

674

Adafruit BTTF Time Circuit Case preview image

Adafruit BTTF Time Circuit Case

stefi01 profile image

stefi01

305

2-digit 7 Segment Mechanical Counter Display preview image

2-digit 7 Segment Mechanical Counter Display

Ryan profile image

Ryan

551