About a week ago I ordered neodymium magnets. I ordered 20 for less than $10, not including $3 for shipping. I thought I'd get extra for future projects. Anyway, what I purchased are 1/2" x 1/8" x 1/8".
Below: You can see some of the magnets I purchased in the lower right.
It was always my intent to mount them where I did, but I didn't expect to mount them as I did. Luck was on my side because I had some Evergreen styrene tubing that was just the right size. The bar magnets went into them with a nice, snug, fit. I smeared some epoxy in them for added measure. The assemblies are secured with epoxy as well. I hope the epoxy holds because I am a little disenchanted with the stuff. I will probably go back and add more for good measure.
Below: As you can see, I positioned the magnets behind the cab insert. I didn't want to ruin the aesthetics by having slopped up magnets in plain sight. Here is where the risk is though. Once the insert gets glued, there is no going back. If one or both magnets were to break loose, there is no fixing it, and then there is a danger of warping that insert wall. I feel confident in how I have it done though.
Below: Following a similar process I used the same styrene tubing to make the metal counterparts. I cut steel screws to a length that gives a pull, but not too much pull. I was careful to align the assemblies with its counterpart. The screws are somewhat press fit, but I rely on epoxy, mostly.
Below: And voila! It works! I am pleased how this worked out. There is a strong pull but not enough that I struggle to remove the piece. It has the perfect tention that I was looking for.
There are a lot of things that could have fought me on this today, and usually, that is how it goes. Today, it fell into place swimmingly. It was a good day.
I will explore the LED light next.