Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
K

keyboard-layouter

> 编程语言
Open source

Footprint auto placement plugin for keyboard layout

100 stars0 likes0 views
WebsiteGitHub

About

Footprint auto placement plugin for keyboard layout

Keyboard Layouter Plugin

Keyboard Layouter is a plugin for KiCad(pcbnew). This plugin places switch footprints in the location specified by JSON of Keyboard Layout Editor.

I have confirmed that it works with following pcbnew versions

  • (7.0.10) release build on Windows

Install

Download keyboard_layouter.py and put it to the following directory:

Tools > External Plugins > Reveal Plugin Folder in Finder (or Open Plugin Directory in Windows)

Usage

Preparation

Make keyboard layout at Keyboard Layout Editor. Top left legend should be the reference number of the switch footprint. And download JSON file.

I have created keyboard-layouter-playground so that you can quickly try the Keyboard Layouter plugin. This repository has sample-json and sample netlist.

Execution

Open Pcbnew and choose "Tools" -> "External plugins" -> "Keyboard Layouter".

Select your JSON file and push "Run" button.

Limitation

Supported switch footprints are Cherry MX in kicad-footprints/Button_Switch_Keyboard.pretty only. Therefore, the size of switch that can be used is limited to the following.

  • 1.00u (1 x 1)
  • 1.25u (1.25 x 1)
  • 1.50u (1.5 x 1)
  • 1.75u (1.75 x 1)
  • 2.00u (2 x 1, 1 x 2)
  • 2.25u (2.25 x 1)
  • 2.75u (2.75 x 1)
  • 6.25u (6.25 x 1)
  • ISO Enter

For installation on older KiCad (v5, v6)

Please use Release 0.2.0 · yskoht/keyboard-layouter.

I have confirmed that it works with following pcbnew versions

  • (5.1.0-1) release build on Windows
  • (6.0.5) release build on Windows
  • (6.0.5-0) release build on macOS

In KiCad v5, put the script in the following path

  • Windows: %APPDATA%/Roaming/kicad/scripting/plugins
  • macOS: ~/Library/Application Support/kicad/scripting/plugins or ~/Library/Preferences/kicad/scripting/plugins
  • Linux: ~/.kicad/scripting/plugins or ~/.kicad_plugins

License

This software is released under the MIT License, see LICENSE.

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Pythonkeyboardkeyboard-layout

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 18, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言