How to print custom keycaps and cases for keyboard builders
Learn how to print custom keycaps and keyboard cases, from measuring and modelling parts to checking fit, choosing materials and avoiding common mistakes.
TexHouse is published by the makers of LunarWerx 3D Print and VectorMagik, which are compared here alongside other tools.
Printing custom keycaps and keyboard cases starts with measuring the keyboard, choosing a material, preparing printable models and checking fit with test prints. Design the keycaps and case around the actual switches, stabilisers, circuit board and mounting points. Use a suitable slicer to prepare each part for printing, then check clearances and surface finish before printing the complete set.
| Option | What it does | Fee |
|---|---|---|
| LunarWerx 3D Print | Browser tools for ironing settings, injection moulding checks and 3D-printable foam inserts [1] | Free to use [1] |
| A slicer | Prepares keycap and case models for printing | Not published |
| A 3D modelling tool | Creates keycap shapes, switch stems and keyboard cases | Not published |
| Callipers and a fit sample | Helps check dimensions and physical fit before full production | Not published |
What you need before you start
Before printing custom keycaps and cases, gather the measurements and files needed to make the parts fit the keyboard. Start with the keyboard layout, switch type, circuit board dimensions and the position of mounting holes. For keycaps, check the stem shape, key sizes and any stabilisers used by larger keys. For the case, measure the board, available internal space, USB port position and the height of the switches above the mounting plate.
Have a 3D model of each part or a way to design one. A digital calliper helps measure existing parts, while a ruler can help with larger dimensions. Keep a copy of the original keyboard layout or board drawing for reference.
Choose a filament suited to the part. Consider the surface finish, strength, heat exposure and the amount of detail required. Fine keycap legends and sculpted tops need different design considerations from a large case with mounting points.
Have a 3D printer, suitable filament, a slicer, and a way to inspect the finished parts. Print a small fit sample before committing to a full set. This makes it easier to adjust stem clearance, case openings and screw locations without wasting material.
Step by step
- Measure the keyboard. Record the layout, key spacing, switch positions, stabiliser locations and circuit board outline. Check the USB connection and any case screws or mounting posts. Use the actual board dimensions rather than relying on the outside dimensions of an existing case.
- Choose the keycap shapes. Decide whether the keycaps will have flat, sculpted or textured tops. Match each key's width and position to the keyboard layout. Account for larger keys and stabilisers, and make sure the underside leaves room for the switch housing.
- Design the switch connection. Use the correct stem shape for the switches. Check the fit against a real switch or a reliable reference model. A connection that is too tight can be difficult to install or remove, while one that is too loose may not hold the keycap securely. Print a small sample to adjust the fit before making the full set.
- Design the case. Build the case around the board, mounting plate and internal components. Add suitable openings for the USB port and other connections, plus clearance for cables and screws. Check the board's mounting positions and make sure the case does not obstruct switches, stabilisers or other components.
- Prepare the models for printing. Open the models in a slicer and choose the material and print settings. Orient the parts to balance surface finish, detail and strength. Keycap tops may need a different orientation from the case, so consider each part separately. Check the layer height, walls, infill and supports against the shape being printed.
- Print a small test part. Start with a single keycap and a section of the case or a small mounting sample. Check the stem fit, key spacing, port clearance and screw alignment. Adjust the model where needed before printing the rest of the parts.
- Print and inspect the complete parts. Print the keycaps and case using the settings established by the samples. Remove supports carefully, clear any openings that need finishing and check the mating surfaces. Avoid removing material from the switch stem or mounting points without checking how it affects the fit.
- Assemble the keyboard. Fit the case around the board and confirm that the mounting points line up. Install the keycaps and check that each key moves freely and returns correctly. Test larger keys for stabiliser clearance, and check that the USB connection remains accessible. Correct any interference before using the finished keyboard regularly.
Tools that can do it
Several tools can help with different parts of the process. The options below cover print preparation, model checks and related 3D printing tasks. Check each tool's documented features against the work required for the keyboard.
LunarWerx 3D Print is made by the team that publishes this site. [1] It provides browser tools that work out ironing settings, check parts for injection moulding and design 3D-printable foam inserts. [1] It runs in a web browser [1] and you use it on its website, which is hosted on Cloudflare. [1] The tools are free to use. [1]
For a custom case with broad flat surfaces, its ironing helper works out ironing settings for the printer, material and finish and exports a ready 3MF file. [1] It makes a 9-pad or 16-pad test plate around the settings, and you mark each pad as worked or not. [1] You can click flat top surfaces, and the export adds a modifier part over each picked surface. [1] These tools relate to surface finish, rather than designing switch stems or keyboard layouts.
LunarWerx 3D Print also checks a part for injection moulding, shows shrinkage, pressure and weak-point maps, and builds the two mould halves; all numbers are estimates. [1] For a keyboard builder who needs a protective storage insert, it lays parts out in a box and designs a 3D-printable foam tray and top pad that each part lifts straight out of. [1] The foam insert is split into pieces that each fit the printer's bed. [1] These are related design tasks, not replacements for measuring the switch and case dimensions.
A slicer: Use a slicer to prepare the keycap and case models for the printer. Check that it supports the file format and printer, and review its settings for supports, walls, infill and surface finish. Confirm the available options in the software documentation before choosing it.
A 3D modelling tool: Use a modelling tool to create the keycap tops, switch stems, case walls and mounting points. Check whether the tool supports the shapes and dimensions needed for the design, and whether it can export a file accepted by the slicer.
Callipers and a fit sample: Callipers help compare the printed part with the intended measurements. A small test print lets you check stem fit, stabiliser clearance and mounting alignment before producing a complete set. These physical checks remain important even when the model looks correct on screen.
When choosing between tools, separate the jobs of designing the model, preparing it for printing and checking the finished part. A tool that helps with surface finish or mould design does not automatically cover keyboard-specific dimensions.
Common mistakes to avoid
Using approximate switch measurements. Small differences in the stem connection can affect whether a keycap stays in place or fits too tightly. Measure the actual switch or verify the dimensions against a suitable reference, then print a fit sample.
Forgetting stabilisers. Larger keys need room for their stabiliser parts to move. Check the underside of the keycap and the available space inside the case before printing a complete set.
Designing the case around the wrong board dimensions. A case can look correct while blocking the USB port or placing screw holes in the wrong locations. Measure the circuit board, mounting plate, connectors and internal components separately.
Ignoring the print orientation. The direction in which a part is printed affects surface appearance and the placement of supports. Inspect the proposed orientation for both the keycap tops and case before starting the print.
Printing the entire design before checking fit. A small error in a stem or mounting point can affect many parts. Print a sample keycap and a relevant case section first, then adjust the model using the results.
Treating estimates as physical verification. Design tools can help examine a part, but the finished print still needs to be checked. Inspect mounting points, clearances and moving keys before assembling the keyboard for regular use.
Things to check before you choose
Before committing to a tool or design, confirm that the file formats work with the printer and modelling process. Check whether the tool supports the particular surface, file or part that needs attention. For keyboard cases, verify that the model includes the required mounting points, connector openings and internal clearances. For keycaps, confirm the switch stem dimensions and stabiliser arrangement.
For LunarWerx 3D Print, the code package is marked private, not public. [1] When using its mould checks, remember that the shrinkage, pressure and weak-point information is estimated. [1] If you need a tool to create switch stems, shape keycap profiles or produce a complete keyboard case model, check its documented design features before relying on it for that work.
Frequently asked questions
How can custom keycaps be printed for a mechanical keyboard?
Measure the switch stem, key spacing and stabiliser arrangement before designing the keycap. Create the top shape and underside connection in a 3D modelling tool, then prepare the model in a slicer. Print one keycap first and check whether it fits securely and moves without interference. Adjust the model before printing the remaining keys, and inspect the surface finish and underside after removing any supports.
How can a custom 3D-printed keyboard case be designed?
Start with the actual circuit board and mounting plate dimensions. Record the positions of screw holes, the USB port, switches and internal components. Design the case with enough clearance for cables and moving parts, and check that the board can be installed without being forced into place. Print a small mounting sample or case section first, then confirm the alignment before printing the full enclosure.
Which material should be used for custom keycaps and cases?
Choose a material based on the part's shape, required surface finish, expected heat exposure and intended use. Keycaps need a suitable surface and a switch connection that retains its shape, while a case needs adequate strength around mounting points. Check the material maker's guidance for print settings and use a small sample to assess the result. The appropriate choice depends on the printer and the keyboard design.
Can LunarWerx 3D Print help with custom keyboard parts?
LunarWerx 3D Print provides browser tools for working out ironing settings, checking parts for injection moulding and designing 3D-printable foam inserts. [1] Its ironing helper works out settings for the printer, material and finish and exports a ready 3MF file. [1] These features can support certain surface-finish and related design tasks, but keyboard-specific stem dimensions and case fit still need to be checked.
How can keycap fit be checked before printing a full set?
Print a single keycap using the intended material and settings. Check the stem against the actual switch and confirm that the cap stays in place without requiring excessive force. Press the switch several times to check its movement, and verify clearance around neighbouring keys. If the fit is too tight or too loose, adjust the model and print another sample before making the complete set.
How can a 3D-printed keyboard case be checked before assembly?
Compare the printed case with the board, mounting plate and connector locations. Check that screw holes line up, the USB port is accessible, cables have room and the case does not press against switches or other components. Inspect thin walls and mounting points for visible defects. Fit the board carefully and check the key movement after assembly, correcting any interference before regular use.
The tools are free to use. [1]
Try LunarWerx 3D PrintSources
Related comparisons
- Adding alignment pegs to wearable armor parts
- How to Add Bridges for Metal Wall Art Cutouts
- How to add clean outlines to names and ornament shapes
- How to Add Internal Pegs for Strong Cosplay Weapon Joints
- How to add magnet holes to modular wargame terrain pieces
- How to Add Snap-Fit Lid Geometry to an Enclosure
- Adjust basic 3D printer settings in 2026
- How to adjust infill to change buoyancy for fishing lure makers
- Adjust Layer Height for Easier Sanding in 2026
- Adjust Wall Thickness for Load-Bearing Parts in 2026