Fully Parametric Piano Keys
Description
I have a project for which I wanted some piano keys, so I created this OpenSCAD module to create them.
There's an option to label the note names on all of the white keys, but I don't have a dual extrusion machine available this weekend. I'll add a picture of labeled keys when I get a chance to print some.
piano.scad is the module... it uses bitmap.scad to render the note names, if you so wish.
piano_keys.scad is an example file, which prints one octave of keys, sized to easily fit just about any 3D printer, with an M3 hole at the top to put a rod through to hold them all together.
Add hardware to the back of them, and you can make this part of all kinds of awesome musical projects!
Options:
* variable # of octaves
* black keys/white keys/both
* label notes on white keys
* variable sizing and spacing
There's an option to label the note names on all of the white keys, but I don't have a dual extrusion machine available this weekend. I'll add a picture of labeled keys when I get a chance to print some.
piano.scad is the module... it uses bitmap.scad to render the note names, if you so wish.
piano_keys.scad is an example file, which prints one octave of keys, sized to easily fit just about any 3D printer, with an M3 hole at the top to put a rod through to hold them all together.
Add hardware to the back of them, and you can make this part of all kinds of awesome musical projects!
Options:
* variable # of octaves
* black keys/white keys/both
* label notes on white keys
* variable sizing and spacing
Instructions
1: Set options.
2: Print.
3: Sing us a song, you're the piano man.
2: Print.
3: Sing us a song, you're the piano man.
License
Fully Parametric Piano Keys by IWorkInPixels is licensed under the Attribution - Share Alike - Creative Commons license.

I'm building a digital keyboard, and this helps tons. Curious about the width of the keys by default. The default width is 25, but how wide is that in inches?
Awesome! In answer to your question, 1in = 25.4 mm, so for our purposes, they are 1 inch wide by default. If you want to know what number to put in to the script, you can either do the math yourself, or outsource it to Google, by searching for "3 inches in mm" or something like that and Google will display the answer, and some boxes to perform your own conversions.
Be sure to come back here when you're done and post the link to the digital keyboard!