Duplicating House Keys

by nrp May 30, 2011
Download All Files

Thing Apps Enabled

Please Login to Comment

Great design, I printed in ABS and the fit was pretty nice I'd say. The only problem is that it is too flexible, but if treated right and used as an emergency key there should be no problem. This saved me some time from creating a key from scratch. I also would like to know if it would be possible to have the key head have the true shape of the Schlage key.

This key design worked well, but sadly my filament was not strong enough to open the first lock. I had to check a couple times, but this new key is an SC1 key with six cuts instead of five. How could I change the OpenSCAD file to match a different 6 cut SC1 key?

Thank you for a key that I can sell, I personally like this one http://www.thingiverse.com/thing:52761 much better, but he won't let me sell it, so this one still gets a thumbs up.

Customizable House / Padlock Key
by Belfry

Could you make this customizable? I can't use OpenSCAD if my life depended on it.

I don't use OpenSCAD either but it was very easy to change the numbers to match my key. Download the file, open it in OpenSCAD and on the last line there is a group of numbers -- kw1([1,3,3,2,3]);. Change them to match your key and export the stl file. It's that easy. The hardest part will be determining which direction to read the pins. Just compare the exported file to the original key before printing and that problem is solved too.

Hmm, thanks, but when I opened it up in there, I can't seem to get it to show me what you want me to see.

You might want to try opening the scad file in a text editor like gEdit or notepad to change the relevant information and then opening it with OpenSCAD to export the STL. Might be easier than digging through the OpenSCAD interface.

Got it to work, but the key doesn't work.

Worked for my lock straight off the printer. I've tried several other "keys" from Thingiverse and they all failed -- they were each off in a small but significant way that kept them from working. Thanks for the design!

I've tried one other one, and it worked fine, but it broke, even when I printed it in ABS.

This is great work. Took me a bit to get the key measuring part down, really is unrelated to the fine work done here. Once I figured out the codes, the key works great. One note, for a standard Kwikset type like and similarly keyed generics, the key fits fine. For the Kwikset smart key lock, although the metal keys fit fine, the 3d print is too thick. I would love to see a slightly thinner key that would fit in these locks but I'm not sure if the printers or the material can do this. Thank you for this.

Impressive and terrifying all at the same time.

Nice work . i was impressed that it went right in to a rim cylinder i had sitting on my desk with little effort

Worked perfectly! Awesome OpenSCAD project.

I finally have a working 3D printer and decided to print out a key to my house using your model. Worked perfectly.

I tried to print one and it printed too sparse. What would you recommend as print settings(shells, solid layers, infill solidity)??


I print it entirely solid with 1 extra shell.

So, infill solidity should be set to 1.0?

I think you got the KW1 depth_inc = mm(.023) out by 0.001 mm should be .022. Going off some documention. Everything else seems good.

I was just going off a 2006 version of instacode. It has a lot of information on a lot of keys. I'm new to OPENScad and currently trying to work out how to work it so I can slightly alter one of your key files to make it universal for lots of different keys by entering the details off instacode, spacing etc.

change your lock you've just given every one your house keys

No, only the doorknob currently sitting on his desk :-P

Rather than using the 3D printed key directly it could be used as a new duplication master. Unlike duplicated keys, a 3D printed one doesn't accumulate errors from previous generations.

Have you seen Daniel Bejar's visualization of key-duplication loss?

Or you could just attach that dremel to your Makerbot and mill your key.

couldn't you burn the key if it got stuck in a lock?

Yes, if you're not worried about arson. ;)

Your best bet is probably to take the lock apart and push the key back out the front with a small spudger.

Given that the script are parametric it should be trivial to make a bump key for most major locks. Just set every tooth to the maximum. (Or was it minimum?)

A bumpkey will work as long as it is cut below the lowest lift in that particular lock.

So if you had a key with only #1
amp; #2 cuts (rare, but I've seen them) a bumpkey cut to #2.5 or #3 would work. One cut of a #3 depth would make life impossible for that bumpkey.

Best bet is to get a proper lock, really. US locks are generally rubbish, and the weak backsets supplied are a liability. Try and get yourself a UK British Standard lever lock. Not one in ten locksmiths in your area will have the first clue how to open it, and it will stop a crowbar or boot far be
tter than a tatty little locking knob handle or even a deadbolt. Plus it can't be bumped!

Maximum bit depth, so minimum size of the key. I'm not sure it would work very well as a bump key. The plastic key is I think more inelastic than a normal brass key. Worth trying though.

Ok so my next question would be what is the maximum bit depth setting in your script? From hte included key it would seem like all 3's would create a bump key but your key may not have the maximum bit depth for any of the teeth... In other words what is the range of values for your bit depth on a kwiqset lock?

Yet another reminder that security systems don't stop anyone just delay them. Cool idea though

Hahaha. Security systems stop lots of people every day!

What you mean is that the average security system doesn't stop someone determined enough to put hours into it. Which is true. Most security systems can be broken with a bit of effort - that's what a good locksmith or pen tester will do.

However, if you want something impenetrable, you need to spe
nd a bit of money. And have a couple of guards and several layers. And even then, with enough time and resources, you still won't be safe! The CIA or whoever have an infinite resource to put against you, so without serious money to resist, you are stuck.

But to the average hacker/thief/locksmith?
Hardly the same thing.

When assessing security, always determine if there is a specific, targeted risk factor.


I was measuring my house key last night after a friend suggested I try and print one!

I gave up... glad to see you didnt.

TheRuttmeister: An easier way to duplicate a key might be to put it on a white piece of paper, photocopy and scan the copy or take a picture, scale to proper size, use Inkscape to convert to DXF, import into OpenSCAD, extrude, perhaps add some details, and print!

Keyway shapes are intentionally pretty complex, and even more so when modifying them to be printable while still fitting properly. It is really in all likelyhood going to be easier to just measure the dimensions of the key with a ruler or calipers, and modify either the kw1 or sc1 scad file to whatever key type you're looking to copy.