geekhack

geekhack Projects => Making Stuff Together! => Topic started by: Ramage on Tue, 29 December 2015, 15:30:29

Title: CNC'd Keycaps
Post by: Ramage on Tue, 29 December 2015, 15:30:29
[attachimg=2]
[attachimg=3]
I've been experimenting with CNC'ing keycaps on the machine I built. After a decent amount of fine tuning, I've finally made a few caps that I'm happy with so I can finally start using other materials. The beta testing caps were made using pine, I'll do a short walk through of the process for those interested. If you're interested in the machine I use, you can check out the partial build log https://geekhack.org/index.php?topic=77195.msg1940972#msg1940972 (https://geekhack.org/index.php?topic=77195.msg1940972#msg1940972)

This was the starting piece, it's pine wood.
[attachimg=1]

First the piece has to be "squared" so that the x and y axis can be picked back up any time even after flipping the stock over. It's also required so you can dimension the stock which is important when you generate the Gcode
[attachimg=4]
[attachimg=5]

Next you can run the part! The run time for these is long so I only ran 5.  It's also a lot easier to work with smaller stock and my machine is great, but it isn't industrial grade, so I have to be mindful of the tolerance run out. 
[attachimg=6]
[attachimg=7]
[attachimg=8]
[attachimg=9]

Now I flip the stock over and pick up my x and y again with an edge finder so that the top matches the bottom, then I run the topside. I had the vacuum attachment on for this part so I only took pictures of the start and finish
[attachimg=10]
[attachimg=11]

Here are the parts straight off the machine. I'm working on getting the machine to take the edge off for me, but it would require a square, sacrificial fixture other than the stock it came from so I haven't gotten to it yet. For reasons unknown to me, the machine decided to "rapid" into keycap #2. It wasn't in the simulation, and it wasn't in the Gcode, and it only happened once.  Really weird error. One cap is out.
[attachimg=12]

The remaining four after the edges are sanded down
[attachimg=13]

Unfortunately I over sanded two of them making the wall to thin but I learned exactly how much it takes to get them down to size so it was a good learning experience. Two more out.
[attachimg=14]

What a good, healthy cap looks like from the bottom.
[attachimg=15]

The two that were up to spec so far
[attachimg=16]

They come off the machine a little tall, I do that so I can sand them down to size after finishing the edges.
[attachimg=17]

Using a height gauge and a surface plate, I carefully sand the bottoms down to size in a figure eight pattern.
[attachimg=18]
[attachimg=19]
[attachimg=20]

Next I'm going to be using some more exotic woods and different materials and see how they turn out. I'm also gonna give engraving a shot to see how it comes out on the curved top.  Let me know if you have any interesting ideas you think I should try.

Hope you found it interesting!
Title: Re: CNC'd Keycaps
Post by: Glenmael on Tue, 29 December 2015, 15:38:17
These are gorgeous mate, very nice work.  :thumb:

You going to try a space bar?
Title: Re: CNC'd Keycaps
Post by: heedpantsnow on Tue, 29 December 2015, 15:53:43
Wow very cool!
Title: Re: CNC'd Keycaps
Post by: Ramage on Tue, 29 December 2015, 15:59:17
These are gorgeous mate, very nice work.  :thumb:

You going to try a space bar?

That's a really good idea! I'll have to start working on that, it would definitely be more challenging. Thanks!
Title: Re: CNC'd Keycaps
Post by: Steezus on Tue, 29 December 2015, 16:09:34
These caps look very well done, I've seen some wood caps made in the past but these seem of superb quality. I'd really be interested in a wooden spacebar as well and then perhaps trying different finishes and stains.
Title: Re: CNC'd Keycaps
Post by: Glenmael on Tue, 29 December 2015, 16:17:52
These are gorgeous mate, very nice work.  :thumb:

You going to try a space bar?

That's a really good idea! I'll have to start working on that, it would definitely be more challenging. Thanks!

No worries, will be looking out for your updates.
Title: Re: CNC'd Keycaps
Post by: Ramage on Tue, 29 December 2015, 16:24:09
These caps look very well done, I've seen some wood caps made in the past but these seem of superb quality. I'd really be interested in a wooden spacebar as well and then perhaps trying different finishes and stains.

I appreciate the compliment! Staining and finishing is something I'm going to be testing out on the scrapped caps so we'll see how that goes. I tried one already and it came out ugly and orange.
Title: Re: CNC'd Keycaps
Post by: jdcarpe on Tue, 29 December 2015, 16:25:36
I love this. Now you just need some laser engraved legends on there.
Title: Re: CNC'd Keycaps
Post by: Steezus on Tue, 29 December 2015, 16:38:28
These caps look very well done, I've seen some wood caps made in the past but these seem of superb quality. I'd really be interested in a wooden spacebar as well and then perhaps trying different finishes and stains.

I appreciate the compliment! Staining and finishing is something I'm going to be testing out on the scrapped caps so we'll see how that goes. I tried one already and it came out ugly and orange.

Yeah staining and finishing will be a bit of trial and error. Eventually I would love to have a esc, spacebar, and possibly arrow key wood caps with a smooth finish on it like that of of the ear cups on my headphones below
(http://i.imgur.com/gN8DQT2.jpg)
Title: Re: CNC'd Keycaps
Post by: Zekromtor on Tue, 29 December 2015, 16:45:02
For reasons unknown to me, the machine decided to "rapid" into keycap #2. It wasn't in the simulation, and it wasn't in the Gcode, and it only happened once.  Really weird error. One cap is out.

It's the mach3 ghost, and it's hit all of us who have used it enough. Unpredictable stuff can go down under the best conditions due to electrical interference, but throw in some manual breaks during a run or the unthinkable - multitasking while it's running - and you're just asking for it. That's why I want to switch to LinuxCNC so badly. It's free. Just needs the superior hardware in order to interface. Just wait 'til your favorite endmill does a nose dive into the expensive chunk of aluminum you just spent hours laboring on :)

How's the fit to the stems?

Consider using engraving as a means to not just label but to texture the caps. That would be cool.
Title: Re: CNC'd Keycaps
Post by: tigersharkdude on Tue, 29 December 2015, 16:56:57
These are sweet. Would love to see a space bar done, possibly with engraved text
Title: Re: CNC'd Keycaps
Post by: rowdy on Tue, 29 December 2015, 17:06:24
Very well done!

I'm wondering how many install/remove cycles they will withstand as they are swapped from keyboard to keyboard.
Title: Re: CNC'd Keycaps
Post by: Ramage on Tue, 29 December 2015, 18:09:36
For reasons unknown to me, the machine decided to "rapid" into keycap #2. It wasn't in the simulation, and it wasn't in the Gcode, and it only happened once.  Really weird error. One cap is out.

It's the mach3 ghost, and it's hit all of us who have used it enough. Unpredictable stuff can go down under the best conditions due to electrical interference, but throw in some manual breaks during a run or the unthinkable - multitasking while it's running - and you're just asking for it. That's why I want to switch to LinuxCNC so badly. It's free. Just needs the superior hardware in order to interface. Just wait 'til your favorite endmill does a nose dive into the expensive chunk of aluminum you just spent hours laboring on :)

How's the fit to the stems?

Consider using engraving as a means to not just label but to texture the caps. That would be cool.

Well I'm glad I'm not the only one with these weird occurrences. It's definitely not the first time either so I'll work on being more careful. The stem fits are fantastic. I made a series of caps in one thousandth increments and used the one with the best fit as the model standard. There is no slop, it's just a slight press fit like you'd find on an OEM cap.
Title: Re: CNC'd Keycaps
Post by: Ramage on Tue, 29 December 2015, 18:21:58
Very well done!

I'm wondering how many install/remove cycles they will withstand as they are swapped from keyboard to keyboard.

Ya I'm wondering the same thing. I'm planning on giving some WASD sets to a few heavy gamers to see what happens. 
These caps look very well done, I've seen some wood caps made in the past but these seem of superb quality. I'd really be interested in a wooden spacebar as well and then perhaps trying different finishes and stains.

I appreciate the compliment! Staining and finishing is something I'm going to be testing out on the scrapped caps so we'll see how that goes. I tried one already and it came out ugly and orange.

Yeah staining and finishing will be a bit of trial and error. Eventually I would love to have a esc, spacebar, and possibly arrow key wood caps with a smooth finish on it like that of of the ear cups on my headphones below
Show Image
(http://i.imgur.com/gN8DQT2.jpg)


That fostex finish is something I could definitely get behind. I'll be doing some research this week.
Title: Re: CNC'd Keycaps
Post by: Zekromtor on Tue, 29 December 2015, 20:22:21
Another thing I'd recommend if you're making your own caps is to really experiment with the shape. This was the shape I ended up with for my custom acrylics:
(http://i.imgur.com/VkfQ5JU.jpg)

Took a little bit of getting used to, but it offers a little more tactile feedback about your fingers' vertical position. I'd also like to try a convex shape, but haven't gotten around to it.
Title: Re: CNC'd Keycaps
Post by: Ramage on Sat, 02 January 2016, 02:01:01
Experimented with different grain directions, and applied a polyurethane coating although, they don't look quite as glossy IRL as the pictures make them appear.
And yes, they are drying inside of a broken keyboard case.
[attachimg=1]
[attachimg=2]
[attachimg=3]
[attachimg=4]
[attachimg=5]
Title: Re: CNC'd Keycaps
Post by: OfTheWild on Sun, 03 January 2016, 21:57:27
This is pretty neat! Some exotic woods or bone/synthetic ivory or any number of odd combos might be fun too
Title: Re: CNC'd Keycaps
Post by: Leslieann on Mon, 04 January 2016, 00:26:42
Looks great, you should consider doing some esc keys like that with some real nice wood like walnut or something, I'm sure a few of us would pay up for them. If you know someone with a laser they could laser the letters on before you mill them.

Also, if you do the cross before milling out the underside, you will have less risk of breaking the stem. As it is, you're doing detail work on a weak structure.
Title: Re: CNC'd Keycaps
Post by: Zekromtor on Mon, 04 January 2016, 00:41:27
Also, if you do the cross before milling out the underside, you will have less risk of breaking the stem. As it is, you're doing detail work on a weak structure.

That'd be an extra two tool changes though =/ I'd just consider any breakage during that phase a quality control - if it'll break from being milled, it wouldn't have been a strong stem anyways.
Title: Re: CNC'd Keycaps
Post by: Matt3o on Mon, 04 January 2016, 02:38:51
related :)

Title: Re: CNC'd Keycaps
Post by: Ramage on Mon, 04 January 2016, 02:59:40
Also, if you do the cross before milling out the underside, you will have less risk of breaking the stem. As it is, you're doing detail work on a weak structure.

That'd be an extra two tool changes though =/ I'd just consider any breakage during that phase a quality control - if it'll break from being milled, it wouldn't have been a strong stem anyways.

Ya that's what I'm thinking as well.  The stem cutting operation involves a really small DOC, I've yet to have a single stem break during that part of the run.


related :)

That's a fast feedrate! What machine is that?
Title: Re: CNC'd Keycaps
Post by: Matt3o on Mon, 04 January 2016, 03:10:07
it's a customized chinese cnc router with a hell of a rotor :)
Title: Re: CNC'd Keycaps
Post by: OfTheWild on Mon, 04 January 2016, 12:02:24
I wonder if you could functionally mould the stem and post inside a wood CNC cap to create something stronger due to grain.
Title: Re: CNC'd Keycaps
Post by: mrbishop on Fri, 08 January 2016, 08:50:45
very nice. what software are you using? mill? details xD
i have an x-carve ive upgraded. running UGS for gcode and fustion 360 for cad/cam
Title: Re: CNC'd Keycaps
Post by: Ramage on Fri, 08 January 2016, 18:49:12
very nice. what software are you using? mill? details xD
i have an x-carve ive upgraded. running UGS for gcode and fustion 360 for cad/cam

I use HSMworks to make the G code, and Mach3 for the CNC software.  The Gcode generator inside of fusion 360 is nearly identical to HSMworks since they're both owned by Autodesk.  I have a link to the build thread in the OP for the CNC machine.  The ballscrews, bearings, and electronics were bought online and everything else was made from raw aluminum stock and assembled together over about a 5 month span. The spindle is a 2.2KW water cooled spindle I got off ebay. 
Title: Re: CNC'd Keycaps
Post by: popkorn62 on Sun, 10 January 2016, 05:23:53
wow very very nice work