
A jar and a lid that screws down over it. The thread sits on the outside of the neck rather than inside the mouth, the way a jam jar works — so the lid caps the opening instead of plugging it, the joint is stronger, and both halves print the right way up without supports.
The neck wall is worked out for you. A thread cuts half its pitch deep into whatever it is cut on, so a neck that looks fine on screen can end up with almost no material at the thread root. The generator sizes it from the pitch, keeps 0.8 mm of wall there, and shows you the number.
Give the body a texture for grip — hex grid, diamonds, ribs and more — with the neck left smooth so the thread has something true to sit on. The sidebar tracks the volume in millilitres as you go.
Fully client-side: the geometry is generated in your browser with OpenSCAD WebAssembly.
The LyraMaker Screw Top Container Generator builds a 3D printable jar and screw lid to any size you need. Set the diameter, height and wall, choose a thread pitch and clearance, add a grip texture, watch the volume update in the live 3D preview, and download a free STL.
There are two ways to thread a container: cut the thread inside the mouth and plug it with the lid, or put it on the outside of the neck and cap it. This generator does the second, which is how almost every real jar works. The lid wraps the neck, so the load is carried in compression rather than trying to split the mouth open, and neither part has an internal overhang that needs support. It also means the lid can carry a grip on its rim where your fingers actually are.
Print the jar standing on its base and the lid standing on its top face, both without supports. Two or three perimeters is plenty for the body — the strength that matters is at the neck, and that is set by the wall the generator works out for you. For dry goods the fit straight off the printer is fine; for anything liquid, treat a printed thread as a closure rather than a seal. Then explore the other LyraMaker generators for more.
The thread clearance, which runs from 1.5 to 3 mm across the diameter. The default 1.6 mm leaves 0.8 mm of room all round and turns freely on most printers. If the lid binds, raise it by 0.1 mm at a time; if it rattles, drop it. Change nothing else first — clearance is almost always the culprit.
Because it is decided by the thread. A thread cuts half its pitch deep into whatever it is cut on, so a 3 mm pitch removes 1.5 mm of wall at the root. The generator sizes the neck to leave 0.8 mm of material there and shows you the number, rather than letting you pick a wall that looks fine and splits on the first twist.
No. Print both parts upright — jar standing on its base, lid standing on its top face. The thread is a shallow continuous helix that bridges onto itself, and supports inside a thread are almost impossible to remove cleanly.
Coarser than you would use in metal. A 3 mm pitch is a good default for FDM: fine pitches lose definition to the nozzle width and end up as a smooth cone. Keep at least two full turns on the neck, which the sidebar tracks for you.
Not on its own. A printed thread is a loose fit by design and FDM walls seep. For dry goods it is fine as it is; for anything liquid, add a gasket in the lid or seal the inside, and expect to experiment.