Galeforce Keycap Profile (GLK) is an MX-spaced, low-profile, semi-spherical, sculpted keycap inspired by the lack of OEM-style keycaps for low-profile switches. This profile aims to replicate the OEM feel, while adding a little spice inspired by other profiles.
GLK is developed in CadQuery and released under the MIT License.
Working with CadQuery is easiest to start with CQ-Editor, but running an instance of CadQuery Server via Docker provides a more stable and integrated experience.
CQ-Editor
- Install dependencies via PIP with
pip install --pre cadquery
pip install scipy git+https://github.com/gumyr/cq_warehouse.git#egg=cq_warehouse
- Download a pre-built CQ-Editor package from jmwright's repository.
- Load
src/preview.py
in CQ-Editor and start rendering.
Note that because CQ-Editor runs an isolated version of Python, the additional dependencies installed via PIP may have version compatibility issues. CQ-Editor is also be prone to memory leaks in my experience. In either case, the best option is to work with Docker.
Docker
- Create the image with
docker build -t cadquery/cadquery-server-warehouse .
- Run the container with
docker run -t glk -p 5000:5000 -d -v $(pwd):/data cadquery/cadquery-server-warehouse run
- You can now remote into the container with VSCode to work locally.
- View the CAD models in realtime at
http://localhost:5000
Note that CadQuery Server will only automatically run scripts from src
folder in this setup. See CadQuery Server's github for details on how you can configure it in step 2.
Working with GLK
The main keycap
function in the src/GLK.py
will produce a 1U home row key by default. The profile
function will produce a dictionary containing all unique keycaps required for a 100% keyboard, and ErgoDox and a GLFCKB at official settings.
some stuff about SLA printing support generation here
some stuff about GLK-S here
Examples
some stuff using the different features here
Save and Export results
src/export.py
is setup generate STL and STEP files for a full keycap set via the profile
function mentioned above, and will output to the export
directory. See the file for some config options.
The export
directory includes some examples of keycaps in both STL and STEP format, generated at modest quality settings.
- OPK by matt3o for teaching me about CadQuery
- LDSA by Darryl for the deep dish inspiration
- Tilted keycap by bethesda2010yy for inspiration to develop a simplified version
- CadQuery
- CQ-Editor
- CQ_Warehouse by gumyr
- CadQuery Server by roipoussiere