🐷 Piggy Bank Generator
Piggy Bank Generator
Piggy Bank Generator
Money boxes with a screw or twist-lock plug.
Fit
Top
Front
Grid
Drag to rotate · Scroll to zoom · Right-click to pan
About this generator

Save Coins, Get Them Back Out

The LyraMaker Piggy Bank Generator makes a money box you can actually empty. Coins go in through a slot in the top, and a plug in the bottom comes out when it is time to count them: either a screw plug with a real printed thread, or a twist lock that opens with a sixth of a turn.

Choose a round, hexagonal or square body, set its size and the coin slot, and download the body and the plug together. The plug sits a little inside the bottom so the box stands flat, and a coin in the flange slot works as the screwdriver.

🪙
Coin Slot to Size Fits your largest coin.
🔩
Screw or Twist Lock Plug you can reopen.
🧮
Volume Shown Inside volume in ml.
🖨️
No Supports Body prints upside down.

Free Piggy Bank Generator — Money Boxes with a Removable Plug

The LyraMaker Piggy Bank Generator creates a 3D printable piggy bank in your browser: a money box with a coin slot and a removable bottom plug, either threaded or twist-lock. Body and plug download as watertight STL or 3MF files and print without supports.

Sizing the coin slot

Screw thread or twist lock

The screw plug has a 3 mm pitch thread with 45° flanks and small flats at crest and root. The body's thread is the plug's thread pushed outwards by the fit clearance, so the gap is that clearance all round, measured radially, and about 0.7 times the clearance square to the flanks. 45° flanks print cleanly in both parts. The default 0.35 mm is a good starting point; the thread is three turns long.

The twist lock is a bayonet: three lugs on the plug drop into three notches, and a 60° turn clockwise (seen from below) carries them along a groove to a stop. The neck, the lugs and the groove all have the fit clearance around them. It opens faster than a thread but holds just as well on a shelf. Both plugs have a slot in the flange so a coin turns them, and both have a hollow neck that holds a few more coins.

How the body prints without supports

The body prints upside down. Its top, with the coin slot, lies on the bed; the walls rise straight up; and towards the opening the inside closes with a cone that is never flatter than 45°, so every layer rests on the one below. The opening, its thread or bayonet and the recess for the plug flange are then printed at the top, where they come out round and clean. The outside stays straight, apart from the optional raised bands, whose edges are also 45°. The size line shows the closed size, the opening and the inside volume in millilitres.

Printing and materials

PLA is fine for the body and the plug. PETG is a little more forgiving on threads and survives a drop better. Use 3 walls, 15% infill and 0.2 mm layers; the threads print well at that layer height. If the plug is too tight, do not force it: raise the clearance by 0.05 mm and print only the plug again with the Parts setting. Elephant foot on the first layer of the plug can make the flange catch in its recess; a light chamfer with a knife fixes it.

A coin turns the plug, so this is a savings box, not a safe. Coins and the plug are small enough to swallow, so keep them away from young children.

Limits

The shapes are simple prisms so they print reliably; there is no animal figure. For a pig look, paint it or add printed ears and a snout with glue. For a jar with a screw lid that opens at the top, use the screw-top container generator instead.

Money boxes are built in your browser with OpenSCAD WebAssembly — nothing is uploaded. For more containers, try the box generator, or explore every LyraMaker generator.

Piggy Bank Generator — FAQ

How do I get the money out?
+

Turn the plug in the bottom with a coin in its slot. The screw plug unscrews; the twist-lock plug turns 60 degrees and comes out. Both are reusable as often as you like.

Which coins fit through the slot?
+

Any coin that is shorter than the slot length and thinner than the slot width. The default 32 × 3.5 mm slot takes a 2 euro coin, a UK 2 pound coin and a US half dollar. Measure your largest coin and add about 1 mm.

The plug is too tight or too loose. What should I change?
+

Change the fit clearance and print only the plug again. Raise it by 0.05 mm if the plug binds and lower it if it wobbles. The clearance is the gap around the thread or the bayonet lugs.

Does it need supports?
+

No. The body prints upside down with a 45 degree cone towards the opening, and the plug prints flange down.

How much does it hold?
+

The size line shows the inside volume in millilitres. The default 90 × 110 mm round bank holds about half a litre.

Other Generators