I’m trying to make a bottle cap threads for Kroger juice bottle. (3D print) It looks similar to the new Tropicana bottle packing but I can’t be sure. At first I looked online for existing models, and there were are many. But most are different sizes. 36mm diameter caps are less prevalent, and those I found did not work as the threads seemed incorrect. Perhaps Euro packing?
In a previous thread Martin Siegrist introduced me to the Helix command. I decided to try building this myself using the tool – what I thought would be a simple project. Ha! I did several attempts that failed.
I have also been watching many videos, most done using Fusion or Solidworks.
In this project I realized I made one major mistake thinking it was one thread with 2.5 revolutions, when in fact it is three half spirals at 120°. I discovered the (T- E) ÷2 formula for thread depth, but haven’t got it right yet. I’ve found the Helix command difficult to use. I assumed I could enter the number of turns, diameter, and pitch, but changing one results other changes re pitch, turns etc. I tried to apply this info to Rhino but I did not get it right. https://www.youtube.com/watch?v=fjCbpuCmgUI
If anyone has time to give me a little guidance I’d appreciate it?
There is a fourth parameter, the Height of the helix,
In the Rhino Helix command Height is always set by the “axis”. The user specifies the length, orientation and position of the axis by inputing the start and end points of the axis. Height is the distance between the end points. (If the AroundCurve option is selected then the helix will be from one end of the curve to the other end of the curve.)
With the Height of the helix set, the Pitch and Number of Turns are not independent. Only one can be specified.
If Mode=Turns then the user specifies the Number of Turns and
Pitch = Height / Number of Turns
If Mode=Pitch then the user specifies the Pitch and
Number of Turns = Height / Pitch
Diameter/Radius is independent of Height, Pitch and Number of Turns.
I’ve been looking for a while. Nothing comes close. In fact internet searches say “there is no available data on the new cap,” so I should measure it.
I assume that (x) came about when I tried to make the taper. I don’t know how to test for these errors or how to rectify them. I keep remaking them but the rebuilds have their similar or new problems.
In the Rhino Helix command Pitch is the distance between turns of threads. Metric thread specifications specify the pitch as the distance in millimeters.
SAE thread are commonly defined by the number of threads per inch, which is the inverse of the distance between threads. For example a 1/4-20 thread has a base diameter of 0.250 inches and a distance between threads of 0.050 inches.
I had to have a go at this partly because I haven’t modeled anything for a while. I had similar issues. Even trimming my helix was hard as it’s an approximation and the isocurves on the cylinder wouldn’t even trim it. What I’ve done here is just guarantee that my cutting object sticks out past its host surface:
Then a couple tricks and a gnarly surface blend and I get something like this (I’ll post more details if you want but I don’t think it’s quite what you’re after:
I end up with a nice looking bottle cap - not nice enough to justify it’s 23 MB file size … (it’s the outside ripples). Thread pitch is arbitrary and doesn’t use any of the logic shared in this thread:
I had done that. I followed what was shown in the video I linked. I feel my problem may have been a result of off tangency in the initial curve I joined to the spiral.
In my most recent attempt, I added a tangent line to both ends then swept. I gave a clean object which then could be booleaned.
However, the pitch of the thread/arc does not look correct as the half rotation goes from the top to bottom, whereas mine is a a lot less, so I guess my numbers are wrong.
I got that. So I assumed half a rotation would be half the pitch, but that didn’t work. Since it looks like the threads appear to go from the top to the bottom in half a rotation, my next attempt is to take that height and double it for a single rotation, then split that curve in the middle.
I don’t know if it would help, but there are various bottle-cap generators you can try.
Some of them use OpenSCAD, which gives you a mesh rather than a NURBS model (say, a .obj file rather than a STEP file). Others are based on Fusion 360.
I haven’t tried any, but just google for “bottle cap generator” or "parametric bottle cap.
If you find a bottle-cap generator that returns STEP files, then please report back! I would be interested in that. There are also design specs for some caps, but not all. I remember browsing a pdf of a bottle-cap specification for soda-bottles, it it looked rather tedious to implement.
If you just need the design for some project, then a generator might be useful.
But, if you’re trying to teach yourself modeling and/or scripting for CAD, then it can get interesting (and complicated) really fast if you want a parametric model.
Here’s one of the “usual suspects” for making bottle-caps using OpenSCAD to make a mesh-object. I’ve heard that the gaps in the threads are there to help CO2 gas escape while twisting open a soda bottle. Otherwise, you might twist the cap off before the high pressure is gone, and the cap flies off and hits someone in the eye.
Yep. Thanks. I found those before I posted here. The fusion ones require that program, and though I had already downloaded and installed OpenSCAD, I never could make sense of it. I even installed the OpenSCAD, workbench in FreeCAD (which I can use a little) hoping it might turn the files into something I could understand. But no go. Eventually, I decide to try and do it myself in Rhino, the program I know best. I really wish Rhino could import .f3d files as I’m sure the model exists in that format somewhere.
Anyway, after learning from responses here, and much trial and error, I have completed and 3D printed a version that will screw on to the bottle. I can see it is not that accurate, but may work for my purposes. I just hate doing “Micky-mouse” work.
Thanks so much for your detailed post. I may go back to OpenSCAD and see if I can make sense of it. For some reason many people on Thingiverse, etc., post SCAD files with their STLs. Why not a STEP or other non-proprietary, files I don’t know.
As I fight with this project, closer inspection reveals that the thread profile is actually shaped like this. For my edification, how would one create the curves, arcs (red) or straight (blue) to cut the circles and have tangency with them both? I realize that at this scale, arc or straight is invisible to the eye, but I always have trouble getting tangency between curves and I feel like that is often the root of my problems.