-
Notifications
You must be signed in to change notification settings - Fork 125
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
Bayonet Mount #1323
Comments
This looks awkward to print, with support needed for both parts of the structure. |
I have some ideas on how to make a couple twist-lock style mounts that would not require support, but I'll need to flesh the idea out. |
I looked at the linked model. I didn't download its STL...but it looks like their concept is quite different from the picture shown above. It is almost like a fractional screw thread in operation. That is, you have a flat tab which could be printed down on the built plate. The other side could be more trouble, depending on how it's done. It seems like we really should focus on the major blockers right now and defer things like this to after the release. |
@adrianVmariano Yes, maybe including the wikipedia image was more confusing than not. The design on the moon lamp printed fine on my printer without supports—the top bit is bridged |
Agreed, though, that this should defer to 2.1. |
I favor the strategy that you get your version up to snuff with guidance. I took a quick look at where things are at the moment. I think it might be better to make the "rod" portion create only the two flanges as an attachable object that one can attach to a suitable cylinder. That eliminates all the rod parameters. You need to construct it so that the faceting aligns with a cylinder of the same facet count. See how faceting is misaligned? Private functions/modules should start with underscore. Think about your API and whether you've got the most rational, sensible API and the best names. Then document it following the doc texts in the BOSL2 source as a guide so we know how it's supposed to work. (You have quite a few parameters and it's not at all clear what they should do.) The use of eps seems inconsistent (usually it's a very small value defaulting to EPSILON=1e-9). How does the user control amount of twist required to lock? That's a natural parameter that's not obvious. Actually, now that I think about it....how/why does it lock? It looks like there is no tapering or anything that would make it lock. |
@adrianVmariano I guess technically here it doesnt "lock" in place around the z axis—it's just that twisting it in locks it vertically. I'd like to design some sort of snapping mechanism, but haven't worked it out yet. Short of figuring that out, you're right that maybe a taper would allow it to be friction tightened. I kinda wanted to keep the ability to add multiple flanges—my dream is for it to be as flexible as the threading module. But maybe starting with a single design and working out is smarter? I'm mostly concerned about making the use of attachables consistent with what's in the BOSL2 codebase, but it seems like I have some more fundamental work to do first 😅 Thanks for the tips—will work on those! |
If it snap locked in place....how would it unlock? A taper would definitely allow it to tighten with friction. I think that there is something to be said for thinking out what you want ahead of time because a new tweak might require a redesign of core stuff you already wrote. In particular, I think adding a taper may be difficult with rotate extrude. (Most of the core stuff in BOSL2, like screw threads, is done with direct creation of a polyhedron, because that's just more flexible and faster.) But with regards to generality, you need to balance that with not letting the project run away from you and not having to print 75 test models for all the different designs. So you might just sit down and make a list of all the desirable characteristics of this type of mechanism and then define a scope for your initial implementation. Getting the anchoring right will not be a major issue, and we can definitely help with that. |
@harrislapiroff did you make any progress on your twist lock mechanism? Looks like a solid implementation already. Another take on the Bayonet Lock with OpenSCAD: https://www.thingiverse.com/thing:6536797. It locks on the Z-axis. I'm trying to recreate the twist lock mechanism of a Bambu spool: The tapering part will be challenging. I can't find ways to taper ends using BOSL2. Probably need to construct a polyhedron. I have some leads to follow like this thread and this solution by @adrianVmariano . I also noticed that spiral sweep accepts lead in/out arguments. I'll start digging. |
The problem with the referenced method is that the taper happens in one straight step. Not sure if that's good enough for your application. You might need to do something like how spiral sweep works, where it adds slices that are adjusted for the taper, but I think the code as written only makes centered tapers. |
I don't have quite enough information to give a solid answer. The segs() function can return the number of segments based on the radius and the inherited |
Another strategy would be to round the angle to the nearest whole segment. |
Is your feature request related to a problem? Please describe.
I often want a twist-and-lock feature on my models and haven't found a quick way to achieve that with existing components in this library.
Describe the solution you'd like
A bayonet mount option similar to the threading options. Some examples of connections:
source
source
Describe alternatives you've considered
I might have to build my own, but I'm not great at building reusable components, so I'm not sure if I'll be confident in contributing it back upstream.
The text was updated successfully, but these errors were encountered: