My brother had to make an internal component for a lock on an old palace a few years back.. I had showed it made with MoI to some CAM guys but wasn't sure if I shared it here...
Somewhere we have video of the cut and final function in the lock... I'll try to dig it up. Used 3d printing to iterate a few models as the original components was broken and 150 years old so the reverse of it took about 4 models and prints for final design...