An exact mechanical keyboard plate creator that doesn't result in 13.99999mm cutouts
This server-side plategen has been succeeded by a client-side revision.
The successor can be viewed here.
This project will be archived for the time being.
There are two methods of use: As a CLI tool, or as a web app.
plategen.py [-h] [-ct CUTOUT_TYPE] [-cr CUTOUT_RADIUS] [-st STAB_TYPE]
[-sr STAB_RADIUS] [-at ACOUSTICS_TYPE]
[-ar ACOUSTICS_RADIUS] [-uw UNIT_WIDTH] [-uh UNIT_HEIGHT]
[--debug-log]
Run python plategen.py -h
to see detailed information on each argument.
An example of generating based on raw data in a file:
cat kle-raw | python plategen.py > plate.dxf
To use the CLI tool, requirements from requirements.txt must be installed.
Simply run web.py with requirements from requirements-web.txt installed.
In addition to feeding in typical Keyboard-Layout-Editor data, custom fields may be added to fine-tune the outcomes:
_rs:
Rotate the stabilizer cutout independently from the key. (Idea from SwillKB Builder)
For example, for bottom row flipped spacebars, a 6.25U spacebar may have the data field {w:6.25,_rs:180}
.
_rc:
Similar, but for rotating the switch cutout independently of the key.