Notes on life and tech by Abraham Neben

3D printing key caps for my mechanical keyboard

keyboard|690x380
(I initially posted this on the UHK forum, but wanted to post it here as well for posterity)

After spending a couple weeks optimizing the layers and modifier keys of my Ultimate Hacking Keyboard (which I love, btw), I needed to print some new keycaps to reflect the new layout.

Generating the key cap STLs

I generated STL models of the needed keys using the open source KeyV2 model for OpenSCAD. I made the following tweaks to the model:

Adding labels in the slicer
I am somewhat new to 3D printing, so this probably isn't the most efficient workflow, but it did give nice results. I have a Bambu X1 3D printer so I use the Bambu slicer. Load the STL for a key into the program, then use the Auto Orient button to align the front face of the key cap with the print plane. Then manually rotate the model by 180deg so the front face of the key faces up.

step1 Large|690x394

step2 Large|690x394

Then click the key cap, and click the Text tool to add a text label on this plane using the settings shown.

step3 Large|690x394

After adding the label, sink it to be flush with the front face of the key (i.e., reduce its z position by an amount equal to the thickness of the label)

step4 Large|690x394

Now set the key material to black, and the label material to white.

step5 Large|690x394

Lastly, rotate the combined model by 180deg so the label face rests on the print plane. After slicing, check that the label appears correctly on the bottom layer, and the bottom face is flush with the print plane (i.e., there should be no supports).

step 6 Large|690x394

step7 Large|690x394

I printed the keys at extra fine quality (i.e., 0.08mm)!

Posted by Abraham