3D Printing Generator
DeutschEnglish

Geocache container to print: insert, tube or fake rock

A geocache container that fits your hiding spot

A geocache is a small container with a logbook that other players find with a GPS device or a phone. Most commercial cache boxes are either too big for the spot you have in mind or fall apart after one winter. This generator makes a container with a screw cap in exactly the size you need, in one of three styles. You can browse a dozen ready-made designs in the example gallery, from a nano insert for a wooden post to a large rock.

Everything runs in your browser. Nothing is uploaded, and the whole design is stored in the link you can share. When you are happy, download the STL or 3MF and slice it as usual.

The three styles

Insert. A narrow shaft with barbed anchor ribs and a wide head with the thread. You cast it into cement, a wall or a concrete post, or you glue it into a drilled hole with epoxy or expanding foam. Only the head and the cap show. The ribs have a flat top against pulling out and a steep underside, so the insert prints without supports. If the container is too short for ribs, the editor tells you and leaves them out. See the cement insert and the fence post insert.

Tube. A plain straight tube with the same thread and cap. Hide it in a hollow tree, under a bridge, behind a sign, or wrap it in camouflage tape. The film canister size and the winter tube use it.

Rock. A printed fake rock with the container inside and the screw cap in its base. The rock is a faceted stone, and every shape number gives a different one, so two caches never look alike. Put it among real stones with the opening down, and nobody notices it. Examples are the micro rock, the smooth river stone and the chunky field stone.

Sizing the log space

Start with the group “Container”. The two main values are “Inner diameter” (8–50 mm, default 18) and “Inner length” (10–150 mm, default 45). Together they form the log space, and the editor shows its volume in ml. The hollow plug of the cap counts as part of the length.

Geocaching sizes are usually given by volume. By the usual definition a micro cache holds less than 100 ml and a small cache 100 ml to 1 liter; hiders call a micro for a tiny roll of paper a “nano”. A few reference points:

UseInner sizeVolume
Nano insert for a postØ 8 × 20 mmabout 1 ml
Cement insert (original size)Ø 17 × 30 mmabout 7 ml
Film canister sizeØ 30 × 48 mmabout 34 ml
Small container with sealØ 40 × 90 mmabout 113 ml

“Wall” (1.2–4 mm, default 2) and “Floor” (1–4 mm, default 1.6) set the stiffness. Use at least 2 mm and a lot of perimeters for a cache that lives outdoors in the cold. If you ask for a length that is too short for the thread, the generator raises it and tells you the new length.

Thread and cap

The group “Thread” holds the values that decide how the cap feels:

  • Thread pitch (1.5–4 mm, default 2.5): the distance per turn. A coarse thread of 3 to 3.5 mm is more forgiving of dirt, sand and gloves; a fine thread of 2 mm suits nano containers.
  • Thread length (4–20 mm, default 8): how deep the thread reaches into the container. A longer thread holds tighter and keeps rain out better.
  • Play (0.1–0.8 mm, default 0.3): the radial gap between the two threads.
  • Plug wall (1.2–3 mm, default 1.6): the wall of the hollow threaded plug on the cap.

The thread is a saw-tooth profile whose steep flank (60° from the bed) faces down as printed. That is why neither the container nor the cap needs supports, and why the thread works well even at 0.2 mm layers on a 0.4 mm nozzle.

The group “Cap” has the rest:

  • Flange height (1.6–6 mm, default 3): the thickness of the flange that rests on the rim of the tube or insert.
  • Finger notches (0–24, default 9): round notches around the flange for grip. Set 0 for a smooth cap that is harder to spot.
  • Coin slot: a slot across the cap so a coin can open a tight or flush cap. It is on by default. Its roof is pointed to print without supports.
  • Seal ring: a flat ring between the cap and the rim against rain (tube and insert only). Seal thickness (0.8–3 mm, default 1.5) sets its height.

On the rock style the cap is a cone that seats in a matching recess of the rock, so there is no flange and no seal ring.

Shaping the rock

Choose “Rock” under “Style” and the group “Rock” appears:

  • “Rock length” (30–130 mm), “Rock width” (30–105 mm) and “Rock height” (20–100 mm) give the overall size. If the container does not fit, the rock is enlarged and a note shows the new size. A very long log space can make the rock taller than 176 mm, which would not fit on the bed. The generator then shortens the log space and tells you so.
  • “Faces” (8–60, default 24): few faces give a chunky field stone, many give a smooth pebble.
  • “Edge rounding” (0–5 mm, default 1.5): how round the edges between the faces are.
  • “Shape number” (1–9999, default 7): every number gives a different stone. Try a few until one looks right for your hiding place.

The top of the rock is a flat facet at the height you chose, and no face overhangs by more than about 26° from vertical, so the stone prints without supports. Choose a gray or brown color in the color panel. A matte filament with a little texture, or a light dusting of sand glued on after printing, makes the rock much more convincing.

Colors and multi-material

The color panel has three slots: “Container”, “Cap” and “Seal ring”. Leave the cap color empty and it uses the container color, so a single-color print needs no setup. If you give the cap or the ring a color of its own, they become separate parts. The seal ring is the main case for this: print it in black TPU on a printer with several extruders, or download “STL per color (ZIP)” and print the ring on its own. For a multi-material printer use “Multi-color 3MF (PrusaSlicer)” or “3MF (Bambu Studio / OrcaSlicer)”. The sealed example shows the setup. On a single-extruder printer, print the parts in the same filament and keep the ring for a second print.

Printing tips

The “Parts” setting lets you print “All”, only the “Container” or only the “Cap”. With “All” the parts lie side by side on the bed. If they would not fit on a 180 mm bed together, a note says so; then print them one after the other.

Typical numbers from a slice for the Prusa MINI (PrusaSlicer, 0.20 mm SPEED profile, Prusament PLA), all without automatic supports:

ExampleWeightPrint time
Nano insert for a post3.2 g25 min
Cement insert9.4 g42 min
Spare cap with seal3.3 g14 min
Film canister size24.1 g1 h 14 min
Winter tube26.2 g1 h 22 min
Fake rock with a micro container36.1 g1 h 20 min
Large rock109.5 g3 h 10 min
Small container with seal ring53.5 g2 h 23 min

Some tips:

  • Material. PLA is fine for a test. For a cache that stays outside, use PETG or ASA: PLA softens in a hot car and turns brittle in frost. Gray or earth colors blend in best.
  • Layers and walls. Use 0.2 mm layers and at least three perimeters, so the thread is solid and water cannot creep through.
  • Test the fit. Print the cap alone first with “Parts” set to “Cap”, and the container with a short length, to check “Play” on your printer. A small test costs a few grams.
  • Insert in cement. Put the cap on before you pour, so no cement gets into the thread, and mark the opening with tape. Pull the cap only when the cement has set.
  • Moisture. Even a perfect print is not airtight. Put the log in a small zip bag, add a silica gel pack, and use the seal ring.

Please read your local rules before you hide a cache: you need the owner’s permission for private land, and some nature reserves forbid caches. Do not bury containers, and do not drill into trees.

Origin and license

The container and the cap come from the “Rock Geocache container” model by SquidgyPlastic on Printables, published under CC BY 4.0. The original (RockCache.scad) casts a threaded container into cement in a rock mould. In this generator the container, the hollow cap with finger notches and coin slot, and the seal ring are rebuilt for printing without supports. The thread uses a saw-tooth profile of our own, because the thread library in the original is released under the GPL and is not used here. The mould is not part of this generator either: the printed rock is our own design, a rounded polytope made from seeded random planes.

The generator code is part of this site’s repository and its license is on the license page. Source: Rock Geocache container on Printables, CC BY 4.0 (see creativecommons.org).

Ready to design your cache? Open the generator, look at the examples, or print a calibration cube first to check your printer’s tolerances.

All parameters

The numeric settings of the generator with their default values and allowed ranges. Text, fonts, patterns and colors are set directly in the generator.

ParameterDefaultRangeMeaning
Container
Inner diameter18 mm8 – 50 mmWidth of the log space. A log strip rolled up tight needs about 10–15 mm.
Inner length45 mm10 – 150 mmStraight length of the log space with the cap closed; the hollow cap counts too.
Wall2 mm1.2 – 4 mmWall thickness of the container (and the least rock around the bore).
Floor1.6 mm1 – 4 mmThickness of the container floor and the cap floor.
Rock
Rock length75 mm30 – 130 mmLongest size of the rock. Too small values are raised to fit the container.
Rock width60 mm30 – 105 mmWidth of the rock across.
Rock height50 mm20 – 100 mmHeight of the rock from the base to the top.
Faces248 – 60Number of rock faces: few gives a chunky stone, many a smooth pebble.
Edge rounding1.5 mm0 – 5 mmHow round the edges between the faces are, 0 = sharp.
Shape number71 – 9999Each number gives a different rock shape.
Cap
Flange height3 mm1.6 – 6 mmThickness of the cap flange that rests on the rim.
Finger notches90 – 24Round notches around the cap flange for a better grip, 0 = smooth.
Plug wall1.6 mm1.2 – 3 mmWall of the hollow threaded plug of the cap.
Seal thickness1.5 mm0.8 – 3 mmThickness of the flat ring between cap and rim. Print it in TPU.
Thread
Thread pitch2.5 mm1.5 – 4 mmDistance per turn. Coarse threads are more forgiving of dirt and gloves.
Thread length8 mm4 – 20 mmHow deep the thread reaches into the container; longer holds tighter.
Play0.3 mm0.1 – 0.8 mmRadial gap between the threads. Raise it if the cap is too tight.

Frequently asked questions

Do I need supports?

No. The container prints with its opening up, the cap with its outer face on the bed and the rock with the opening in its base. The thread flanks and the rock faces are steep enough that the slicer adds no supports.

How big must the container be for a log?

A log strip rolled up tightly needs an inner diameter of about 10 to 15 mm. For a pencil stub and a few trade items use 25 mm or more. The editor shows the volume in ml, so you can check it against the size class you want.

Is the container waterproof?

Not by itself. A printed thread keeps out dirt and most rain, but layer lines let moisture creep in over time. Turn on “Seal ring”, print the ring in TPU and use PETG or ASA for the container. For a log that must stay dry, add a small zip bag inside.

The cap is too tight or too loose. What now?

Change “Play”. The default of 0.3 mm suits most printers. Raise it by 0.1 mm if the cap binds, lower it if it wobbles. A coarser “Thread pitch” also forgives dirt and cold fingers.

Can I print the cap on its own?

Yes. Set “Parts” to “Cap” for a spare cap, with the seal ring if you switched it on. Set it to “Container” to print only the body.

Where does the design come from?

From the Rock Geocache container by SquidgyPlastic on Printables (CC BY 4.0). The thread, the printed rock and all sizes were rebuilt for this generator. Details are at the end of the page.

Origin & license

  • Rock Geocache container by SquidgyPlastic · CC BY 4.0 · code ported – Container with internal thread, wide head and anchor rings, hollow threaded top with finger notches and coin slot and the seal ring from RockCache.scad; thread, rock shape and sizes are new, built to print without supports.