I was asked to make up some kind of puzzle box for the SUU college of engineering and computational sciences scavenger hunt. They wanted it to involve the use of magnets in the solving. My idea was a simple 6 bit binary number 42. I used binary both for it's connection to computer science/engineering (making it a little more relevant/topical) but also because it meant my lock mechanism could use tumblers that sit in two positions (locked/unlocked).
Basic Idea
The majority of the box will be 3d printed with a small amount of laser cut/engraved plates for any of the text. Although you can embed text with multicolor 3d printing, it's not very clear and I need the text to be very clear and legible. I also only have a single printer with multicolor capabilities and the time crunch would make it difficult to do so much wording on a single machine.
I'll try to stick to a black, white, and red color scheme to match school colors and also make the box easy to see in the hallway.
V1
Some pretty major problems in V1 my design. First, once unlocked the magnets can fall back into the center ridge, which makes it unable to close properly. This is fixed with some simple gating when it's in the 'unlocked' position. Another problem is that it freely goes between unlocked and locked positions, which means the gates won't be very effective with any normal handling. I solved this with a spring loaded pin that snaps it into locked position. A small tab on the lower box presses the pin so it can be relocked.
I also keyed the lid so it more obviously only fits on in a single orientation.
Intermediate tests
pin hole is too tight (using an M2, because I need the head in order to retain it.)
dovetails could be a bit more loose for ease of assembly
messed up an offset face that needed to be sanded down.
add a hole to the magnet 'tool' and the base in order to tie them together/to the table. We don't want people losing/taking them and ruining the puzzle for others.
V2
Only remaining problem is that the locking lugs are a little weak due to print orientation and insufficient material. Also, during assembly superglue from the labels leaked into the 'tumbler' cavity and seized one of the magnets in place.
photo of destroyed box (damage to second tumbler)
I simply reprinted the damaged parts and used it as the final version. Deployed for the challenge, it worked just fine for the 6-8 teams that showed up to solve it and get the secret code out of the bottom.
TOP VIEW: Magnets Shown in RED, currently in 'unlock' position
FRONT VIEW: Visible are the center locking fin and retaining dovetails to keep assembly together.