-
Notifications
You must be signed in to change notification settings - Fork 424
Added an option for a latched lid to RoundedBox #827
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
This adds an additional value for `--top` which is `lid_with_latches`. Using this will add an extra plate that sits just inside (i.e. underneath) the lid, with four latches on it. The latches may be moved in and out using four M3 screws. The lid must be glued together with two smaller plates, to make a single unit. Also, the holes for the screws need to be threaded before they will work - depending on the material it may be possible to self-tap. I've printed this in 3mm acrylic and it worked fairly well.
Based on the work of Richard Bowman <https://github.com/rwb27> Co-authored-by: Richard Bowman <https://github.com/rwb27>
|
I like this a lot but I was pondering whether the latches can be done without vitamins. I tried to keep the latches flat so they can also be used on the bottom / with the box upside down. As it does not use round screws in the slots it works without an additional layer for guiding the latches. I am on vacation this week, so this is still untested. Edit: It also take the really great looking cross arrangement from the original and makes it part of the outside look. |
Slot is still showing in the unlocked position but that's not quite as bad. Hiding it then, too, will require further lengthening to slider.
|
This needs to be refactored at some point to be usable for other generators with similar lids. But this is out of scope here. Let's get the RoundedBox right first and then think about where else this may be useful. |
|
Thanks - that looks very neat! I did think about trying to do it screw-less, but concluded I couldn't come up with a design that was strong enough in the time I had available. The modified latches are, if I read it right, relying on a glued connection between the sliding plates on the bottom and the latches, so if that fails the latch can pop out. Probably that's not a problem (because we're already relying on a glued connection between the lip of the box and the wall), but I guess the latch-to-plate contact area is smaller. The sliding plates on the outside are neat - I didn't mention it, but I already use mine upside down (the screw heads are thinner than the 3mm acrylic): as you say, it's nice to be able to lift the box off, and have something sitting on the lid. I wonder if it would be possible to modify it further, such that the latches hook onto the plate on both sides when they are in the "out" position? That would then mean we're not relying on a glued joint with the sliding plates. I might see if I can prototype that. I might also see if I can have a go at cutting this version - I'm traveling later this week but will see if I can try it out tomorrow. |
When the latches are deployed, they'll now hook on to the inner plate. This ought to mean that a weak glue joint won't lead to the box coming un-stuck unexpectedly.
|
I've implemented the suggestion above in e0ef44c. I think it's a fairly minor tweak: I've added hooks to the latches, and increased the length of the slots in the sliding plates to accommodate it. That's moved the edges of those sliding plates slightly closer to the edge of the lid, but I don't think they are problematically close. I've added a screenshot in case that is helpful.
I'll try to have a go at cutting this tomorrow, if I can. |
|
Funny enough that was what my first version of this piece looked like. And then I thought this is going to be too bulky. Turns out it is not. |
|
I've printed this and it works nicely :) The clicking in and out works really nicely provided the lid is glued in place accurately - and the sliders are really good for helping locate the lid. Without the lid, the latches can be misaligned laterally, so they don't always click into place. My first snag was that the sliders cut in the wrong order. I needed to use more layers in the laser cutter, so that it first cut out the holes in the sliders, then cut out the sliders, then cut out the lid piece. The problematic part is the one in the second screenshot above. I don't know if you have a standard way to do that - clearly we've used
It might actually be simpler to move the sliders outside of the lid. That would be slightly wasteful of material, but would then only require two colours. Happy to be steered by you as to what is the "done thing". Also, I glued on the lid after I'd assembled the sliders. That made it much easier to assemble the lid correctly (i.e. get the two plates lined up) but on my first attempt I also glued one of the sliders = game over. I snapped it trying to free the slider. Not quite sure what the solution is to that - probably me being more careful with superglue! I guess a little etching on the lid could create a gutter to stop the glue spreading into the slider, but that may be too much complexity? Finally, the one drawback of my hook is that the holes in the lid are further out, so you can see through the part when it's taken off the box. I don't think that is a problem, but it's not quite as pretty as without it. Moving everything in by |
|
Oh, and would it be appropriate to add a |
Thanks to Richard Bowman<richard.bowman@cantab.net> for the idea!
|
--bottom added. |
|
Thanks :) Would it be helpful if I re-print a test box and check it? I will still have the issue of cutting order: shall I just pick a couple of other colours to use? I have not gone through many of the boxes, but I'm not aware of any standard colours you've used for that purpose elsewhere... |
Help with proper nesting.
|
Good you brought this up again. I forgot that I wanted to make the slider slightly smaller. That should solve the nesting issue (in theory). Ofc this will depend on the software you are using and whether it will do rounding in a range that is bigger than the current difference. Re-cutting would now be very helpful. You can get away with just cutting the lid pieces. The lid should still fit an older box of the same size. |
Sorry for the delay in posting - I re-cut this last week and it looks good: the holes in the outer plate for the sliders now sit fully above the inner lid piece, so there's no unsightly gap, which is nice. The latches still work well, as before. Maybe I didn't explain the nesting issue well enough: the problem is not that the cuts interfere with each other, it's that the cuts happen (on my machine) in the wrong order. If the latches get cut out before the holes in them, they shift or fall through the bars on my cutter, and so the holes either don't get cut, or get cut in the wrong place. Everywhere else in boxes.py, |
I've added Color.CUT, which is an array with (currently) 5 colors in it. The first is Color.INNER_CUT and the last is Color.OUTER_CUT: the fade between the two is linear. I've then used this to cut the latches in the correct order, and I've added (bodged) in an annotation showing the cut order that's intended.
|
OK, I finally did cut the latches myself. LightBurn at least is able to figure out the right cut order without your patch now that the lines are truly inside of each other. But the assembly is so messy and risky. I think we need a different solution that doesn't require gluing moving parts in situ. I actually like the latches otherwise. Them not sticking out so they can't be bumped open easily is really nice. I'll try to come up with something. |
|
I've tried this again being slightly more careful with the glue, and it was fine - it could perhaps be improved by etching a line (or making a series of small holes) around the outside of the cut-out where the latches slide: that would hopefully soak up any excess glue and make the whole thing more forgiving. Obviously it doesn't solve the need to glue the sliders to the latches, but I didn't find that was a problem. Is it the glue between the outer lid (with the holes for the sliders) and the inner lid (with the slots for the latches) that you reckon is problematic? |






This adds an additional value for
--topwhich islid_with_latches. Using this will add an extra plate that sits just inside (i.e. underneath) the lid, with four latches on it. The latches may be moved in and out using four M3 screws.To assemble, the lid must be glued together with two smaller plates, to make a single unit. One of these plates is the inside of the top of the box (i.e. the part that's normally discarded when
topis set tolidoropen). That plate has four slots in it, where the screws pass through. This plate is glued directly on to the lid.The second plate has four "fingers" cut out at the corners. This sits just inside the box, and should be glued onto the plate with the slots. Those two plates are the same size - it's a little tricky to get them lined up precisely, but this is important.
Once the three plates are glued together, the four M3x6mm screws pass through the lid (where there are large clearance slots for the screw heads), through the middle plate (where there are narrower slots that the shaft of the screw can pass through but not the head), and screw into the four fingers. If you slide the screws outwards, the fingers will lock the lid in place.
The holes for the screws need to be threaded before they will work - for my acrylic box I used a tap to cut the thread. Depending on the material it may be possible to self-tap, though that might work better with a different screw. I used M3x6mm screws and they worked neatly. I'm open to feedback on the best kind of screw to specify, though it would of course be easier to test ones I can find in my lab...
I've printed this in 3mm acrylic and it worked fairly well. I can't see why it wouldn't work in plywood/MDF. All the example photos are with wood materials, so I'm guessing if there were to be photos of this, they'd want to be similar?