Recently, I've been working on creating parametric CAD files of keys to be able to generate printable 3D models by just entering the desired key code into the file.
So far, I've got it working with Schlage SC1 keys, but it should be pretty straightforward to port to others.
If it is ok to post links, I have a writeup and source code available
Does anyone know if there are technical drawings of the keyway shapes used by different keys? I just sort of guesstimated by measuring a couple of keys with calipers and a ruler. It would be much easier to use the real numbers.
The now expired Schlage patents for the C keyway has diagrams, but no actual measurements.