Inset lid or flat lid?
Both options give you a box with a lid you can lift off. The difference is where the lid sits and how the edges look when it is on.
| Inset lid (friction fit) | Flat lid panel | |
|---|---|---|
| Cut size | Internal footprint (inside opening) | Outer footprint |
| When closed | Sits down inside the opening, flush or slightly below the rim | Rests on top of the rim and overhangs the walls |
| Look | Clean top with no visible edge from above | Visible lip all around |
| Fit depends on | Kerf — it is the entire clearance | Nothing; it simply rests on the box |
| Best for | Storage boxes, display boxes, anything that should look closed | Quick prototypes, boxes you open constantly, lids you want to lift by the edge |
| Downside | Too tight if your kerf is under-measured; can be awkward to lift out | No location — it can slide around |
How the inset lid fits
The inset lid is generated at exactly the internal length by internal width, so it matches the top opening. On a real laser, the cut path removes material on both parts: the opening ends up slightly larger and the lid slightly smaller. The result is roughly one kerf of clearance per side.
At 0.15 mm kerf that is a snug push fit — enough to hold the lid in place when you tip the box, loose enough to lift out with a fingernail. If you have not measured your kerf, cut a 50 mm test line in the same material first; a lid is the one part where being 0.1 mm out is immediately obvious.
- Too tight? Re-cut the lid 0.2–0.3 mm smaller in each direction, or sand the four edges. Do not force it — acrylic chips at the corners.
- Too loose? A strip of felt or tape on the underside of the lid's edge adds friction. Or cut a second lid at +0.3 mm and sand to fit.
- Want a finger lift? Add a 20 mm half-circle notch to the lid edge in LightBurn after importing. The generator does not add one.
Laser-cut box with a lid
In laser/CNC mode the lid is simply a sixth closed path in the same SVG or DXF, laid out beside the five box panels. It has no finger joints, so it is the easiest part in the file. Import at 1:1, check the lid reads the expected size in millimetres, and cut it from the same sheet as the walls.
Use the same material thickness for the lid as for the walls. The thickness is what the generator uses to place the lid relative to the rim, and a mismatched lid will either sit proud or drop too deep.
3D printed box with a lid
In 3D print mode the lid is a separate solid body placed next to the box in the same STL. Print both in one job. The lid is modelled 0.2 mm undersized on each side, so it drops in on a well-calibrated printer without needing sanding.
Print the box with the opening facing up and the lid flat as modelled — neither needs supports. If the lid is too tight, the usual cause is over-extrusion rather than the model; calibrate flow before scaling the part.
Hinged and sliding lids
BoxGen does not generate hinged or sliding lids. It would be easy to put those words in the title and disappoint everyone who arrives, so here is the honest version.
- Hinged lid — a working hinge needs either a printed knuckle and pin, or a kerf-cut living hinge. Both have to be modelled as part of the lid and the back wall. Export the panels, then add the hinge geometry in LightBurn, Illustrator, Fusion 360 or Onshape before cutting or printing.
- Sliding lid — needs a groove (dado) cut into the two side panels, usually 0.2–0.3 mm deeper than the lid thickness. Add the groove as an extra line in your laser software; the finger joints on those panels are unaffected.
- Snap or latch — model the catch on the lid and a matching lip on the front wall. Not something a dimension-only generator can infer.
If a hinged or sliding lid is the whole point of your project, a CAD tool such as Fusion 360 or a parametric OpenSCAD script will get you there faster than editing a generated flat pattern. BoxGen is the right starting point when a removable lid is enough.
Template or generator?
A box template is a fixed drawing at one size. This is a generator: change the numbers and the panels, joints and lid all update. If what you actually need is a box with lid template, download the SVG at your size — it is a clean, closed-path template you can keep, edit, or reuse without returning to this page.
There is no printable PDF template. Paper templates are for hand cutting; these files are in millimetres at 1:1 and are meant for a laser, CNC router or 3D printer.
Frequently asked questions
Do the dimensions include the lid?
No. Length, width and height describe the usable space inside the box. Adding a lid does not change the outer size: an inset lid sits inside the opening, and a flat lid rests on the rim without adding to the height in the model.
Does the lid add height to the box?
Not in the generated geometry. An inset lid finishes flush with or just below the rim. A flat lid sits on top of the rim, so in real life it adds one material thickness to the overall height — plan for that if the box has to fit a drawer or a shelf.
Can I cut the lid from thinner material?
The generator uses one thickness for every panel. If you want a thinner lid, generate the box first, then scale only the lid path in your laser software, or generate a second file and keep just its lid. Do not change the thickness field for the whole box just for the lid — it would alter the finger joints.
Is the STL a box with a lid I can print in one piece?
The STL contains two bodies: the box and a separate lid. They print in one job but remain separate parts, which is what makes the lid removable. It is not a print-in-place hinge.
Can I use the files commercially?
Yes. The files you generate are yours — sell the boxes, the cut files or the printed parts. No attribution required.
Is anything uploaded?
No. All geometry is generated in your browser. The page makes no network requests after it loads.
Other box generators
- Laser cut box generator — kerf measurement, material notes and import steps for LightBurn and Glowforge.
- 3D printed box generator — wall thickness, print orientation and lid fit for FDM.
- Project box generator — enclosures for Arduino, Raspberry Pi and custom PCBs.
- Box generator with dimensions — inner versus outer dimensions, with worked examples.