Skip to content
This repository has been archived by the owner on Sep 17, 2024. It is now read-only.

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

Notifications You must be signed in to change notification settings

Kirpal/Keyboard-Layout-Editor-for-Blender

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Keyboard-Layout-Editor-for-Blender

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

Examples:

Example 1

Courtesy of /u/jacopods

 

Example 2

Courtesy of /u/zzubnik

 

Example 3

Courtesy of /u/zzubnik

 

Example 4

Courtesy of @kirpal

Please open a pull request if you'd like to add more examples

How to install Addon:

  1. Download the zip (releases)
  2. Open Blender
  3. Go to Edit > Preferences
  4. Select the "Add-ons" tab on the left.
  5. Click Install... in the top right corner
  6. Select the zip archive that you downloaded and click Install Add-on
  7. Check the checkbox next to Import-Export: Import: KLE Raw JSON format (.json)
  8. Cose the preferences window. It should auto-save, but you may have to save preferences manually if auto-save is off.
  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 json file that you downloaded from Keyboard Layout Editor and click Import KLE Raw JSON
  4. All Done!

Note: Do not use keycap_parts.blend as it will not work! Use example below if you want a starting point

How to add LEDs:

  • Add the following lines to the keyboard "Notes" section

    led_color: #RRGGBB
    led_brightness: 1
    
    • Where led_brightness is any number from 0 to 1 and led_color is a hex color
  • To make the keycap legends backlit, make the legend color the same as the LED color.

Blender scene file

A basic scene for blender can be found in this gist. Open the scene in blender before importing. Please note that lighting, camera and render setup will most probably require some tweaking to fit with your specific layout.

Special Thanks To:

@zslane on Deskthority for the SA models

@Kaporkle on Geekhack for the DSA models

@wilderjds for implementing SA support