Tumbler Lock

Tumbler Lock

prusaprinters

<p>This is a practical example on how simple tumbler locks work.</p><h4>Components</h4><p><br>There are 3 different variations of the inner plug.</p><ul><li>plugA: This plug features a wide window to make the pins easy to see, however because the pins would fall into that &nbsp;window, the lock can only turn counter clockwise.</li><li>plugB: This plug has viewing slots cut in, that should be just small enough that the pins can't fall into them. &nbsp;Because of this the plug can turn clockwise.</li><li>plugC: This plug has little guards under the pins preventing them from falling out. It can be turned in any direction, but is harder to print, the quality of the print might be worse.</li></ul><p>Unfortunately some adjustments to make it easily printable also make it quite difficult to pick the lock with normal diamond, rake or snake picks, so a special lockpick is also included.</p><h5>Non printed parts</h5><p>You will need one spring of 4mm diameter and approximately 15mm length for each pin. Springs from a ball point pen should work.</p><p>I've experimented with printed springs in a flexure design, but all of them made the final design unreasonably large.</p><h4>Printing</h4><p>All components should be printed in the orientation they are in the file.</p><p>Most things should be fine with 2 perimeters and 10% infill, PLA works well and adaptive layer height can be used to increase detail and reducing print time. For the outer cylinder it can be useful to increase the perimeter count to 3, to make the whole hull solid.</p><p>Only the key and the pick need supports on build plate enabled. If you have good bed adhesion, you can also flip the key upside down, and it should print without supports.</p><h4>Assembly</h4><p>Add the key pins in the right order to each channel. Add a driver pin on top of each, the rounded part of both the key and the driver pins should point towards the key.</p><p>Add a spring to each channel and slide the cylinder lock in place. This works best without a key in the lock.</p><h4>Picking the lock</h4><p>In trying to make the lock easier to print and improving the tolerances, it looks like I made the lock a bit hard to pick.<br>The keyway is surprisingly tight, since the shortest keypins are quite small. Both driver and keypins are also rounded / chamfered at the ends, to make the movement smoother, but this seems to have made picking them harder.</p><h4>Generating you own keys</h4><p>You can use the provided python script to create your own keys and locks. You will need an installation of `openscad`.</p><p>This script has only been tested on ubuntu and openscad version 22.09.23 so far. The full commandline would look like this:</p><pre><code class="language-plaintext">python3 generateLock.py "4,9,7,2" --quality 8 --out stl --exec openscad-nightly</code></pre><ul><li>With `4,9,7,2` being the positions to cut. You can use any number of integers between 1 and 9.</li><li>Quality dictates how long the rendering will take, 1 being fastest and 10 being slowest.</li><li>`stl` is the folder in which the results should be placed.</li><li>And `--exec openscad-nightly` telling the script which openscad binary to use.<br>&nbsp;</li></ul>

Download Model from prusaprinters

With this file you will be able to print Tumbler Lock with your 3D printer. Click on the button and save the file on your computer to work, edit or customize your design. You can also find more 3D designs for printers on Tumbler Lock.