Skip to content

Generate EAGLE schematic/board from KLE JSON

License

Notifications You must be signed in to change notification settings

ayan4m1/kle-pcb-generator

Repository files navigation

kle-pcb-generator

This is a Node script which can transform JSON files from Keyboard-Layout-Editor into Autodesk EAGLE scripts which will generate a schematic and board for a given keyboard layout.

features

  • SMD or THT diodes
  • Alps, Alps-MX, Choc, Choc X, or Hotswap switches
  • Variable width/height keys
  • Stabilizers for >= 2U keys
  • Traditional or duplex matrix wiring

not supported

  • Rotated keys
  • Stepped keys (ISO enter)
  • MCU placement/wiring

prerequisites

usage

First, clone this repo. Then, open a terminal in the clone directory. Execute

npm i

Then, to run the script, use

node src/index.js example.json

Where example.json is a KLE JSON file in the same directory.

To get a list of the diodes and switches you can use, run node src/index.js parts.

examples

Here is a numpad schematic:

numpad schematic

And the matching board layout:

numpad board

Here is a 69-key keyboard schematic:

69 schematic

And the matching board layout:

69 board

About

Generate EAGLE schematic/board from KLE JSON

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published