← How-Tos
3d-printing 13 days ago ◑ 22 views ◯ 6 min read

3D Printing Custom Keyboard Keycaps: MX Stem Design, Legend Printing, and Shore Hardness for Switches

keycapsmechanical keyboardMX stemPETGABSresin printinglegendDSAXDAkeyboard customization

Custom mechanical keyboard builders eventually hit the same wall: the keycap sets you actually want — a specific colorway, a legend in a language your keyboard vendor doesn't sell, a profile that matches a desk theme, or just a single replacement for a cap you lost behind the couch — either don't exist commercially or cost more per keycap than the switch underneath it. Printing your own keycaps is one of the more deceptively fiddly things you can do on an FDM or resin printer: the part is small, the tolerances that matter are measured in tenths of a millimeter, and the thing that makes a keycap feel right (or wrong) under your finger is almost entirely in details that don't show up on a model preview. This guide covers the stem interface that actually determines whether your cap works at all, legend options, and the material and Shore hardness choices that affect feel.

The MX Stem: Where Printed Keycaps Actually Fail

Cherry MX and MX-compatible switches (Gateron, Kailh, Outemu, and the rest) use a cross-shaped stem: a 4.1mm x-axis arm and a 1.3mm y-axis arm projecting from the switch housing. Your keycap's underside needs a matching cross-shaped socket that is close to this size but with enough clearance to seat and release cleanly without being so loose that the cap wobbles. This is the single highest-failure-rate dimension in this whole project, and it's worth treating as a calibration step rather than trusting a downloaded model's numbers blindly:

If you're working from a parametric keycap generator (several open-source ones exist for OpenSCAD and Fusion 360), check what clearance value the model assumes before you print a full set, and adjust it based on your own calibration print rather than the model's defaults — clearance that works on one printer's calibration can be measurably off on another due to different levels of elephant's foot or horizontal expansion.

Keycap Profile and Row Geometry

If you're replacing one cap in an existing set, match the profile (Cherry, OEM, SA, DSA, XDA) and the specific row sculpt — most profiles use a different top-surface angle and height for each row (R1 through R4), so a single universal keycap STL printed five times for five rows will look and feel wrong even if every stem fits perfectly. If you're designing a full custom set, DSA and XDA profiles (uniform height and angle across all rows) are dramatically easier to get consistent results from than a sculpted profile like Cherry, and are the more forgiving starting point for a first project.

Legends: Pad Printing vs. Multi-Material vs. Engraved-and-Filled

Getting a legible, durable legend onto a printed keycap is its own problem, separate from the stem fit:

MethodHow It WorksDurabilityDifficulty
Multi-color / multi-material printPrint the cap body and legend in separate colors using an AMS, color-changer, or dual-extrusion setup; legend is a thin raised or recessed layer of contrasting filamentGood — legend is part of the plastic, not a surface coatingModerate; needs careful color-change Z-height planning
Engrave and hand-fillPrint the cap solid, engrave the legend with a rotary tool or laser, then fill with paint or UV resin and scrape/sand flushExcellent if filled wellModerate; time-consuming per cap
Surface decal / UV printApply a printed decal or direct UV-cured ink to the finished cap surfacePoor to fair — wears off with thumb contact on frequently-used keys within monthsLow
Blank, no legendSkip it — common for home row and modifier keys once you've memorized a layoutN/ANone

For keys you touch-type confidently (letters, especially), blank or minimally-legended caps in a DSA/XDA profile are a popular and low-effort choice. For anything you glance down at — function row, numpad, media keys — the multi-material or engrave-and-fill approaches hold up far better than a surface decal under the specific abrasion pattern a fingertip produces over tens of thousands of keystrokes.

Material and Shore Hardness

Keycap feel is largely a function of wall thickness and material stiffness working together, not either one alone:

Print Orientation and Surface Quality

Print keycaps top-surface-down on the build plate whenever your slicer and supports allow it — the top surface is what your finger reads every keystroke, and it's the surface most sensitive to layer lines and seam placement. Printing stem-down is more common for support-free printing but puts the visible seam and any Z-seam ghosting right on the surface you touch most. A light post-print sand (400-600 grit) and a thin clear coat on the top surface takes most of the remaining layer texture out without softening the legend if you've engraved and filled it rather than painted on top.

A full custom keyset is a multi-evening project even once your stem fit is dialed in — budget real time for the calibration step rather than skipping straight to printing 104 caps, because a stem clearance that's off by even a few tenths of a millimeter will show up as a cracked cap or an annoying wobble on every single key in the set, and by then you've already spent the filament.