KeyV2: Parametric Mechanical Keycap Library 3D Printer File Image 1
KeyV2: Parametric Mechanical Keycap Library 3D Printer File Image 2
KeyV2: Parametric Mechanical Keycap Library 3D Printer File Image 3
KeyV2: Parametric Mechanical Keycap Library 3D Printer File Image 4
KeyV2: Parametric Mechanical Keycap Library 3D Printer File Image 5
KeyV2: Parametric Mechanical Keycap Library 3D Printer File Thumbnail 1
KeyV2: Parametric Mechanical Keycap Library 3D Printer File Thumbnail 2
KeyV2: Parametric Mechanical Keycap Library 3D Printer File Thumbnail 3
KeyV2: Parametric Mechanical Keycap Library 3D Printer File Thumbnail 4
KeyV2: Parametric Mechanical Keycap Library 3D Printer File Thumbnail 5

KeyV2: Parametric Mechanical Keycap Library

FM avatarFM

December 6, 2022

printables-icon

Description

All credits to “rsheldiii” (https://www.thingiverse.com/thing:2783650)

 

KeyV2

KeyV2 is a keycap generation library designed for ease of use while still being extremely configurable. Whether you're looking to rattle off a single print of a pre-generated keycap, or you want to print one with custom legends, or even design your own key profile or custom key set, this library has you covered! To learn what types of keys you can generate with this library, check out the documentation (there's a wiki too!).

What are mechanical keyboards?

Mechanical keyboards are keyboards that use mechanical switches instead of membrane sheets to register keypresses. Mechanical keyboards generally last longer and have more satisfying tactile feedback, and are much easier to customize or design yourself. A keycap is the piece of plastic that goes over a switch and lets you know what letter you are typing, so this library is a way to generate those pieces for mechanical keyboards. It's a really fun hobby, I swear.

How to use this library

I recommend you follow the instructions on the github page. Running in OpenSCAD is the preferred way to go, but there are other alternatives.

For basic use, feel free to download the models attached to this page. Row 5 keycaps lie on the number and function layers, so the single keycaps provided make great escape keys. These keys were generated with settings conducive to printing right-side-up on most FDM machines.

If you want to customize keys but don't want to write any code, you can use either the OpenSCAD customizer or the Thingiverse customizer. I highly recommend using the OpenSCAD customizer to run the code from the github, the Thingiverse customizer is very buggy and I can't update it without breaking it.

Questions? Concerns?

If there are any questions please let me know in the comments, and if there are any issues please make a Github Issue!

Print Settings

Resolution: .2mm-.05mm

Infill: 10-80%

Notes:

The models on this page come with small supports that anchor the stem to the outside of the keycap, since the stem has a tendency to break off mid-print. These can be turned off in the Customizer.

Prints from this library are still challenging, despite all efforts to the contrary. Resin printers can create great looking keycaps; FDM printers can create usable keys that look alright, but may require tweaking to get prints acceptable. 
There are a few quick things that you can do:

  1. If your stem isn't fitting in the switch, try upping the slop factor, accessed by giving your keystem function a numeric value (eg cherry(0.5) key()). This will lengthen the cross and decrease the overall size of the keystem. The default value is 0.3, and represents millimeters. Note that even if you have a resin printer, you should probably keep the default value; keys printed with 0 slop will barely fit on the stem.
     
  2. If your keystem breaks off the bed mid-print, you can enable a brim by adding the brimmed() modifier. This will give a solid base for the keystem to anchor into.
     
  3. If you are unsatisfied with the quality of the top surface, you can try printing the keycap on a different surface than the bottom, though it may impact the quality of the stem.
     
  4. If your newly-designed key shape is crashing into the switch, you can enable a clearance check for cherry switches by adding $clearance_check = true; to your keycap declaration. This will subtract a cherry switch shape from your keycap, highlighting any parts in red which intersect with the switch.

Standards

NGSS, CCSS