Skip to content
Keyboard layout editor and renderer
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
layouts
models
utils
Detector.js
LICENSE.md
OrbitControls.js added missing files Oct 2, 2018
README.md
config.js added ergodox and mitosis layouts Sep 26, 2017
index.html
serial.js fallback to serial.js for a while Feb 21, 2018
three.min.js added missing files Oct 2, 2018
tween.min.js

README.md

Keycaps

Keyboard layout editor and renderer

Demo: http://joric.github.io/keycaps

Software

OpenSCAD is used for prototyping. Objects are rendered by THREEjs with JSON scene exported from Blender.

OpenSCAD

OpenSCAD models rendered into .stl and slightly edited in Blender, then exported using THREEjs JSON exporter. Mind that key_v2 OpenSCAD set takes a lot of time to render, especially for SA (spherical) geometry - takes about 30 minutes a key, while DCS is rendered in a few seconds (see utils directory). Rendering time can be reduced with smaller subdivision ($fn) settings.

Blender

Rendered .stl files are then processed with Blender's "Decimate" and "Edge Split" modifiers. Smoothing groups ("Auto Smooth") do not get exported so I had to use Edge Split geometry modifier. Texture UVs assigned from Blender, using "Project from View" and "Project from View (Bounds)" for the selected visible geometry. All modifer stacks should be collapsed for proper exporting.

License

Public Domain

All copyrights to resource files belong to their respective owners.

References

You can’t perform that action at this time.