Containers are so useful - I got a lot of them. Here is my container with a knurled lid and cylindrical jar.
Use the Customizer to create a proper container for your needs, it is fully parameterized.
The User jonaslorander implemented a new option to divide the jar into compartments. Many thanks to him for providing the code and making it! I like it very much!
See also my new Lofty Container and EPCOT Spaceship Earth style Container!
I printed containers in PLA without support.
The smaller ones with 0.2mm layer and the 50mm one with 0.3 layer for faster printing. All fits perfect.
Depend on your printer you may need to use brim.
Due to OpenSCAD command line interface I have now generated and uploaded the container with 20, 25, 30, 40, 50, 60, 75mm diameter each in 5 sizes with all lid styles.
I used this parameters:
Except the one with 75mm diameter, where I used
Fixed outside quality of the container and lid.
New simple non knurled lid added
Version 1.7 generate all lid styles at once
code optimized for openscad 2015.03 (no more timeout)
Version 1.6 added compartment option - many thanks to user jonaslorander for providing the code and testing it!
part: "both" removed
new Thickness tab
Version 1.5 fixed broken left knurled lid.
Version 1.4 new expert setting in Costumizer for solid container object. You can find the new files here this thing.
Version 1.3 use $fn=100 for all threads to make them a little bit smoother.
Version 1.2 lid optimized for diameter smaller 20mm. The lid of an container with a diameter less than 20mm has now always the same height of about 6mm. This concerns also the thread which may not fit to containers of older versions!
Version 1.1 there was an bug: the generated file container_bothxxxxx.stl was not printable!**