You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
jacopods 310fe129b3 Center, rotate the keyboard forward and scale to reasonable size 8 years ago
README.md Updated Todo and added contributions 8 years ago
__init__.py Fixed parsing key color (Fixes #17) 8 years ago
fonts.json Added google fonts early access support (closes #6) 8 years ago
gotham.ttf Removed cssutils 10 years ago
import_keyboard.py Center, rotate the keyboard forward and scale to reasonable size 8 years ago
noto.ttf Removed cssutils 10 years ago
template.blend Fix scaling and dimensions of SA models 8 years ago

README.md

Keyboard-Layout-Editor-for-Blender

Allows you to import keyboard layouts into blender and have them render in 3d

To-Do

  • Add support for ISO enter
  • Add key labels
  • Add more key profiles (DSA, SA and DCS are done)
  • Add support for fonts (Google Fonts only)
  • Add support for glyphs
  • Add legend alignment
  • Add front legend support

How to install Addon:

  1. Download zip (releases)
  2. Open Blender
  3. Go to File > User Preferences (Ctrl + Alt + U)
  4. Select the "Add-ons" tab.
  5. Click “Install from File...” at the bottom of the panel
  6. Select the zip archive that you downloaded and click “Install from File…” at the top right
  7. Check the checkbox next to “Import-Export: Import: KLE Raw JSON format (.json)”
  8. Click “Save User Settings” and close the preferences window
  9. Now the addon is ready to use

How to use Addon:

  1. Open Blender
  2. Go to File>Import>KLE Raw Data (.json)
  3. Select the “keyboard-layout.json” that you downloaded from Keyboard Layout Editor and click “Import KLE Raw JSON” at the top right
  4. All Done!

How to add LEDs:

  • Add the following line to the object at the beginning (the one with "backcolor" in it):

    "led" : [RED, GREEN, BLUE, BRIGHTNESS] (you may need to add a comma to the line above)

    • RED, GREEN, and BLUE are out of 255, and BRIGHTNESS is from 0 to 1
  • To make the keycap legends backlit, make the legend color the same as whatever color you made the LEDs

Contributions

Special thanks to @zslane on Deskthority for the SA models. Thanks to /u/jacopods for impolementing SA support and rendering examples

Examples (outdated):

Render Layout
Imgur Layout
Imgur Layout
Imgur Layout
Imgur Layout
Imgur Layout
Imgur Layout