Jigsaw puzzle generator
Make the cut file for a laser-cut jigsaw. Set the board size and the number of columns and rows; every edge between two pieces gets its own tab, pointing in or out at random, so pieces only fit where they belong. The seed makes any puzzle repeatable.
Puzzle settings
What each setting does
Width, height, columns, rows. Pieces are the board divided evenly, so 200 × 150 mm in 8 × 6 gives 48 pieces of 25 × 25 mm. Square pieces look most like a bought puzzle; to get them, keep columns/rows close to width/height. You can use 2 to 60 of each, and anything that would make a piece smaller than 8 mm is refused with "Pieces smaller than 8 mm are too fragile".
Tab size sets how big the knob is, as a share of the piece. The shape scales with the smaller of the edge length and the piece size across it. For a 25 mm piece:
| Tab size | Knob width | Sticks out | Neck |
|---|---|---|---|
| 15% | 4.4 mm | 4.7 mm | 3.2 mm |
| 20% | 5.8 mm | 6.3 mm | 4.0 mm |
| 25% | 7.3 mm | 7.8 mm | 4.8 mm |
The neck is the weak point. It is the strip of wood a piece hangs on when you lift part of the finished puzzle, and the first place a dropped piece breaks. Larger tabs mean stronger necks and pieces that hold together when you pick up a section; smaller tabs fit more pieces into a picture without the knobs crowding each other.
Randomness moves the curve's control points by up to that share of the edge length, so knobs lean, shift and change shape. At 0% every tab is the same, only its direction changes; around 5% looks hand-cut; at 10% some knobs come close to the neighbouring edge, so preview small pieces before cutting.
Corner radius rounds only the four outer corners of the board, which stops them chipping and feels better in the hand. It is limited to half a piece, so it can't eat into the first tab.
Seed chooses the random tab directions and shapes. New random puzzle picks a new seed; the file is named after it, for example puzzle-48pc-200x150-seed1.svg.
Cut the outer border: untick it to leave the frame out, if you cut the board outline separately or the puzzle sits in a tray.
How the file is cut
Each line between rows and each line between columns is one continuous path from one side of the board to the other. That keeps the head moving smoothly through every tab instead of starting and stopping 48 times per piece, and it means the shared edge between two pieces is cut exactly once. Wherever a row line crosses a column line, that one spot is cut twice; on light woods you may see a slightly darker dot at the piece corners.
A tabbed edge is about 1.5 times as long as a straight one. The default 200 × 150 mm puzzle works out to about 3.8 m of cutting including the border. At 15 mm/s that's a little over 4 minutes, a figure that is useful when you are planning a batch of them.
Because two neighbouring pieces share one cut, kerf compensation can't be applied: growing one piece would shrink its neighbour. The fit is set by the kerf alone. Thin kerf, tight puzzle.
Material and cutting
- 3 mm birch plywood is the usual board: stiff, light and with few voids. Poplar ply is cheaper but voids in the core can leave a neck hollow. MDF cuts cleanly but its necks snap more easily, so use 20% tabs or more.
- Engrave first, cut second, and don't touch the board in between. Even a 0.5 mm shift shows along every cut line of a photo puzzle.
- Mask the face with transfer tape or painter's tape on light wood and printed photos, and peel after cutting. It keeps smoke stains off the picture, which matters more on a puzzle than on most work because every piece edge is visible.
- Power: use the least that cuts through everywhere, with air assist. Extra power widens the kerf and turns a tight puzzle into a loose one. Find it with a test card on the board you will use.
- Pieces that don't drop out are usually held by one uncut spot where the board was slightly bowed. Weigh a warped sheet down at the edges, outside the puzzle.
Want a box for the pieces? The box generator makes one with a lid. Engraving a name on it? Use text to DXF.
Questions
How do I make a photo puzzle?
Engrave or print the picture at exactly the board size, then cut this file over it without moving the board. For a printed photo, glue the print to the board first and cut through both from the printed side. To line the cuts up with features in the photo, press Open in FlatCad to edit and load the photo there as a trace image.
What size should the pieces be?
The generator refuses pieces under 8 mm. In 3 mm plywood, 20 to 30 mm pieces make an adult puzzle and 40 to 60 mm suits small children. At the default 20% tab size a 25 mm piece has a 4 mm neck, which is about the least that survives being pulled apart in plywood.
Can I make the exact same puzzle again?
Yes. The file name and the message include the seed. Type the same size, pieces, tab size, randomness and seed and you get the identical cut lines, which is handy for recutting a lost piece.
The pieces are loose. Can I make them tighter?
Not in the file: the pieces share one cut line, so the gap between them is your laser's kerf. Cut at the lowest power that goes through cleanly, focus carefully and use air assist; a 0.1 mm kerf locks, a 0.3 mm kerf rattles.
SVG or DXF?
SVG keeps the tabs as true curves, the smoothest result in LightBurn, Glowforge, xTool and Inkscape. DXF turns each curve into short straight lines, 72 per piece edge, for software that doesn't read SVG well.