I finally made it: an XOR mechanism that requires exactly one of two keys to be inserted at a time. I call it the 🗝️ #keyguardian.

This is very useful for example to track where important small things go: Want to take the car keys? You have to insert your name tag to unlock it.

My first mechanical project with #SolveSpace and it was great!

EDIT: Now on #Printables: https://www.printables.com/model/793767-keyguardian-dual-key-xor-mechanism

#3dPrinting #CAD #3dDesign #Screwiverse #HSW

Keyguardian: dual-key XOR mechanism by Yann Büchau | Download free STL model | Printables.com

A HSW key holder that releases one key only when a nametag is inserted | Download free 3D printable STL models

Printables.com

I chose a kinda print-in-place approach:

The print is paused right before the case is closed, then the moving part is manually removed from the bed with a little snap-off helper lid at the side and put into the case. This works much more reliably than anything I tried with glueing or closing the case otherwise or trying to to actual print in place (failed miserably 😅).

A drop of e.g. silicone oil and the operation is very smooth!

#3dPrinting

@nobodyinperson interesting idea! I'd probably preprint the insert or.print it into the enclosing part onto very thin supports that break away with the first activation.
@RichiH Preprinting works as well, sure. But that's another step and slows it down, so I tried this one. I tried with the supports, but it's really hard to get right...

@nobodyinperson not sure if I agree on it taking more time unless you're actively monitoring the print and even then, but it if works for you all good.

Still an interesting idea either way.

@RichiH On printables I have put all the base files as well, also without that snapoff latch. For printing many of them at once, printing the moving carriage separately is probably better, right.