This provides STL files for large and small mouth USA-standard home canning jars. The OpenSCAD file canning_jar_lids.scad includes the provision for adding a slot in case you need a lid for a money jar. The threads have a smooth circular profile.
You'll probably want to flip the parts 180 degrees so the threaded side is facing up. I like the effect when the first layer is printed in concentric mode.
From what I've read, it's generally not the best idea to use 3D printed parts for contact with food, especially if your filament is of a relatively toxic material like ABS. If you intend to use the lids for storing food, then you might first want to do a little research.
Info on food safe 3D printing from All3DP
Gray and Red
Three perimeters and three layers, top and bottom. Bed at 60C; hot end at 225C.
This was designed with OpenSCAD and has no external dependencies. The file [circular_threads.scad] contains the circular-profile thread library used by the model.
The STL files were painfully slow to complie. On my computer, a small mouth lid takes over 10 minutes. I don't know why so long, but then I'm fairly new to OpenSCAD.