3D Printing Generator
DeutschEnglish

Print a jigsaw puzzle: pieces, knobs, kerf and tips

A puzzle you design yourself

A jigsaw puzzle is one of the few toys where the printed object is the whole point and the fit is the game. Pieces have to click together and still come apart again, every piece has to differ from its neighbors, and the whole thing has to lie flat and look good. That makes it a nice task for a generator: you pick how many pieces you want, how big they should be and how the knobs look, and the generator draws a puzzle where no two edges are the same.

You choose the number of columns and rows, from 2 by 2 up to 12 by 12, so a puzzle has between 4 and 144 pieces. The piece width and height are set separately, from 15 to 60 mm. A puzzle of 4 by 3 pieces of 30 mm is 120 by 90 mm and has twelve pieces, which is a good first print for children: the pieces are large enough to grab, and the whole puzzle takes about 1 hour 14 minutes and 29 grams of PLA with the 0.20 mm speed profile on a Prusa MINI. A complete 5 by 5 puzzle of 32 mm pieces, 160 by 160 mm, takes about 2 hours 53 minutes and 68 grams.

Knob shapes

Three knob styles are available, and each one feels different in the hand.

Round is the classic: a round head on a short neck. It is forgiving, pieces find each other easily, and it looks like the puzzle you know from the toy store. The head is wider than the neck, so a piece cannot be pulled out sideways.

Dovetail uses a trapezoid knob. The sides run at a shallow angle, so the knob wedges into its pocket when you push the pieces together. It prints with crisp corners, looks technical, and is a good choice for thick, wood-look puzzles.

Soft is a mushroom with a smooth waist. It combines the grip of the round knob with a more organic outline and suits pastel and kids’ puzzles.

The knob size is set as a fraction of the shorter piece side, from 15 to 30 percent. A larger knob grips better but eats more of the piece. The neck is always half as wide as the head. After the kerf is subtracted the neck must stay at least 1 mm wide, otherwise it snaps off during play; the generator warns you when a combination gets that thin. For pieces of 15 mm, use a knob size of 0.25 or more with the narrowest kerf; for pieces of 30 mm and larger, the default 0.22 is plenty.

Randomness and the seed

On every inner edge one knob sticks out of one piece into the other. Which piece owns it, how far the knob is shifted along the edge and how large its head is are decided by the seed, using the same random number generator as OpenSCAD’s rands(). The randomness slider scales the shift and the size. At 0 all knobs are identical and centered, which gives a very regular, easy puzzle that is nice for small children. At 1 the knobs sit up to 8 percent of the edge away from the center and vary in size by 10 percent, so you can no longer tell the pieces apart by looking at one edge.

The seed is a number between 1 and 999,999. The same seed with the same settings always produces the same puzzle, and the seed is part of the share link, so a puzzle looks exactly the same when you open it tomorrow or send it to a friend. The dice button rolls a new seed. A fresh puzzle starts with a random seed that is fixed as soon as the model is built.

The kerf: how pieces stay separate

Every piece is the outline of its cell plus its own knobs minus the pockets of its neighbors, and then pulled inwards by half the kerf. Two neighbours are therefore always exactly one kerf apart, along the whole edge, around every knob. The default kerf is 0.5 mm, and it can be set from 0.4 to 1.0 mm.

The pieces are printed in their assembled positions. That has three advantages. The preview shows the finished puzzle. The pieces are lined up on the bed in a way a slicer prints efficiently, so travel moves are short. And you never have to rebuild a layout when you want to check the result. The gap is real empty space between separate shells, not a thin wall to cut through. For this reason the minimum is 0.4 mm: at 0.2 mm per side the printed gap often fuses on printers that over-extrude or on the first layer, where the filament is squashed.

Three tips for the fit. First, print a small puzzle of 3 by 2 pieces before you commit to the large one. Second, if the pieces bind, look at the first layer: squash at the edge makes the gap narrower there, so raise the first-layer Z offset a little or add 0.1 mm of kerf. Third, if your printer is not yet dialed in, run the tolerance test and read off the smallest gap it separates.

Thickness, frame and surface

Thickness runs from 2 to 6 mm. Three millimeters is sturdy for a hand-sized puzzle, 5 mm suits toddler puzzles with giant pieces, and 2 to 2.6 mm gives a light card-like puzzle that prints fast. With 3 mm the pieces need 15 layers at 0.2 mm, and only the walls matter; infill hardly shows because the pieces are small.

A frame is a separate ring around the puzzle with the width you choose. It leaves the same kerf towards the pieces, so you can assemble the puzzle inside it, and it can have its own color. This is the best way to turn the puzzle into a picture: stand it up on a shelf, and the frame holds the pieces together. The overall size including the frame still has to stay within 172 mm; if it does not, everything is scaled down together and you see a warning.

Text across the puzzle

An optional text line runs across the whole puzzle and is cut along the pieces, so the word only appears once the puzzle is assembled. Choose from the built-in fonts or upload your own font. The size is fitted automatically to 90 percent of the width and 60 percent of the height; set a cap height of your own and the generator makes it smaller only if it would not fit.

If you give the text its own color, it is inlaid flush into the surface as a separate part 0.6 mm deep, and the surface of the puzzle stays smooth. If the text has the same color as the pieces, it is raised instead; you set how far, from 0.4 to 1.5 mm. In the single-color export the text is always raised. Letters stay 0.05 mm away from the cut lines so that each part is a clean, watertight solid. Short, bold words in a font such as Liberation Sans Bold work best, because thin strokes under 0.8 mm do not print well.

Printing it

Print the puzzle with a 0.4 mm nozzle and 0.20 mm layers; no supports and no brim are needed, because every piece lies flat. Use two or three perimeters, since the thin neck of a knob is only about 2.3 to 2.8 mm wide for pieces of 25 to 30 mm. PLA works best. PETG strings in the narrow gaps and tends to fuse them; if you must use it, raise the kerf to 0.7 mm and lower the temperature a little.

Take the pieces off the bed one at a time. Do not flex the whole plate: pieces that are squashed together at the first layer pop off in a jerk and can chip a knob. A flat spatula under one edge, a little pressure, and the piece comes free. Deburr the underside with a fingernail if there are lines from the first layer.

Some real numbers from PrusaSlicer on a Prusa MINI with the 0.20 mm speed profile and PLA: the twelve-piece kids’ puzzle needs 28.8 g and 1 hour 14 minutes; the six giant 55 mm pieces at 5 mm thick need 57.6 g and 1 hour 55 minutes; the tricky 48-piece puzzle of 20 mm pieces, 160 by 120 mm, needs 52.1 g and 2 hours 52 minutes. A re-slice with automatic supports switched on gave no support at all.

Ideas for use

A name puzzle with white inlaid letters is a gift for the first day of school: write the child’s name, print it in two colors, and the child puts the name together. For a birthday card, print the greeting in gold on a dark puzzle. A wedding proposal can be hidden in 18 pieces. Mini puzzles of 3 by 3 pieces at 25 mm are good party favors or advent calendar fillers. A tricky 48-piece puzzle with maximum randomness is a challenge for adults, and a square 5 by 5 puzzle makes a table decoration. Because the surface is flat, you can also glue a printed picture or a sticker on top before you take it apart.

Safety. Parts from this generator can contain or break into small parts: choking hazard. Not for children under 3; supervise children while they play. Small puzzle pieces and broken-off knobs are especially easy for a child to swallow. Printed parts are not tested toys.

Origin and license

The idea of a parametric jigsaw puzzle with random knobs goes back to the Printables model Parametric Jigsaw Puzzle by uwezi, published under CC BY 4.0. This generator is an original development in TypeScript: the knob shapes, the kerf construction, the frame and the text inlay are designed from scratch, and no code or geometry of the model was taken over. All licenses are listed under licenses.

Want to try it? Open the generator or browse the examples.

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
Columns4–Pieces from left to right.
Rows3–Pieces from front to back.
Piece width30–Width of one piece including its share of the kerf.
Piece height30–Depth of one piece including its share of the kerf.
Thickness3–Thickness of the puzzle. 3 mm is sturdy, 2 mm is a light card.
Kerf between pieces0.5–Gap between neighboring pieces. It separates them for good: 0.4 mm fits snugly, 0.6 mm is forgiving.
Knob size0.22–Width of the knob head as a share of the piece side.
Randomness0.5–0 = all knobs the same and centered, 1 = shifted and different in size.
Seed0–Start value of the randomness: same seed, same puzzle.
Frame width0–Separate frame around the puzzle, 0 = none.
Text size0–Height of the capital letters, 0 = fit the puzzle.
Raised height0.6–How far single-color text stands out. A text with its own color is inlaid flush.

Frequently asked questions

Do I need supports?

No. Every piece is a flat plate that lies on the bed, and the knobs are part of the outline, so nothing overhangs. A PrusaSlicer slice with automatic supports switched on produced exactly zero support lines.

Can the pieces really be separated after printing?

Yes. The pieces are printed in their assembled positions, but with a kerf of 0.5 mm by default between them. That gap is free space, so nothing is fused. Lift the pieces off the bed one by one; a thin spatula helps if the first layer is squashed at an edge.

The pieces are too tight or too loose. What do I change?

Change the kerf. 0.4 mm gives a snug fit on a well-calibrated printer, 0.6 mm forgives elephant foot and over-extrusion. Print a small 3 by 2 puzzle first and use the tolerance test if you are unsure how accurate your printer is.

How big can the puzzle be?

Up to 172 mm in both directions including the frame, so it fits every common 180 mm bed. If your settings would be larger, pieces and frame are scaled down and a warning tells you. For a bigger puzzle, print several smaller puzzles and lay them side by side.

Can I print it in two colors?

Yes. Give the text, or the frame, its own color. Colored text is inlaid flush into the surface as a separate part, the frame is a separate ring. Download the 3MF, which assigns each part to an extruder for PrusaSlicer or Bambu Studio.

Will the puzzle be the same after I reload the page?

Yes. The knob layout comes from the seed, and the seed is stored in the share link. The same seed with the same settings always gives the same puzzle; roll a new seed for a different layout.

Origin & license