BuildCAD AI

3D printable box generator: boxes with lids

Type the inside size of the box you need (the room your things take), then pick a lid: a lift-off lid with a lip that drops inside the rim, a sliding lid that runs in grooves, or a lid on a print-in-place hinge. Add a grid of dividers, round the corners, set the wall and the floor, and add a label recess on the front or a foot that stacks the boxes.

  • Free, no account to download
  • STL, 3MF and STEP
  • Lid motion checked for clearance

Parameters

Loading the sliders...

Ask the designer to change it

Sliders and downloads are free. The AI designer uses credits; new accounts start with free ones.

Every box is built on our CAD engine and its lid is checked moving: lifted off, slid out or swung open, with the smallest gap measured on the way. Download STL or 3MF for your slicer, with the lid laid the way it prints, or STEP to keep editing in Fusion, Onshape or FreeCAD. Free, and no account is needed to download.

Size, wall thickness and lid clearance

Start from the inside: measure what goes in the box and add about 1 mm each way. The generator builds the walls and the floor around that size and gives the outside dimensions under the viewer, so you can check the box fits a drawer or a shelf. For the wall, use a multiple of your nozzle's line width (about 0.4 mm), so the slicer fills it with whole perimeters and no thin gap fill:

Wall and floor thickness for FDM boxes in PLA or PETG, 0.4 mm nozzle, 0.2 mm layers.
BoxWallOn a 0.4 mm nozzleNotes
Small, light boxes (under 60 mm)1.2 mm3 linesJewellery, SD cards, bits
Most boxes1.6 to 2 mm4 to 5 linesThe generator starts at 2 mm
Large boxes (over 150 mm) or heavy contents2.4 to 3 mm6 to 7 linesTools, screws, anything dropped
Floor1.2 to 1.6 mm6 to 8 layers of 0.2 mmFewer layers show the infill through the bottom
Lid plate1.6 to 2 mm8 to 10 layersThinner lids warp on big boxes

The lid needs a gap your printer can hold. Too small and the lid sticks or will not go on; too big and it rattles or falls off. Clearance here is per side (radial): a 0.2 mm lid clearance makes the lip 0.4 mm smaller than the opening in each direction. The defaults below are a safe start for most printers; the 3D print tolerance test measures your own in about 15 minutes, and once it is saved to your fit profile the sliders start from it.

Clearance per side, 0.4 mm nozzle, 0.2 mm layers, PLA. Add about 0.05 mm for PETG.
LidStart withRangeNotes
Lift-off lid, lip in the rim0.2 mm0.15 to 0.3 mm0.15 holds by friction on a tuned printer; 0.3 drops on
Sliding lid in grooves0.2 mm0.2 to 0.35 mmLong lids need more: friction builds along the groove
Print-in-place hinge0.35 mm0.2 to 0.6 mm0.2 on a tuned Bambu Lab or Prusa, 0.4 on older printers
Lid over the rim (hinged box)0.4 mm (2 layers)whole layers onlyThe surface above a Z gap is a bridge

Which lid: lift-off, sliding or hinged

Lift-off lid

A flat lid with a lip that drops 3 to 6 mm inside the rim, so it cannot slide off. It fits any size of box and is the quickest to print. A notch in the front rim lets you lift the lid with a fingernail. The lid prints upside down, top on the bed, lip pointing up, and the download lays it that way.

Sliding lid

The lid runs in a groove along each long wall and comes out through the open end; the closed end is its stop. It sits below a rim, flush with the top, and has a shallow dish for your thumb. Grooves need wall to cut into, so this lid uses walls of 1.8 mm or more (the generator says when it thickens them). The lid prints flat next to the box.

Hinged lid

The same print-in-place hinge as our hinge generator: cone knuckles instead of a pin, printed closed in one piece with the lid two layers above the rim. It opens to about 120 degrees, where blocks on the lid's knuckles meet the back wall. There is no latch: for a lid that clicks shut, start from the Library's hinged box with a snap latch or add a snap fit.

Dividers, labels and stacking

  • Dividers: up to 8 across the length and 6 across the width, 1.2 mm thick, spaced evenly. Compartments stay at least 8 mm wide. Under a lift-off lid they stop just below the lip.
  • Label recess: a 0.6 mm deep pocket on the front for a sticker, a paint pen or a printed name plate, sized to the box (up to 60 x 14 mm).
  • Stackable (lift-off lid): a 3 mm foot as narrow as the lid's lip drops into the box below, with a shoulder 40 degrees from vertical out to the wall, so it prints without supports. Inside, the bottom few millimetres are narrower by the wall and the gap.
  • Rounded corners: the outside radius you set, the inside follows it less the wall. Rounded corners print smoother and are stronger than sharp ones.

Printing tips

  • No supports: the box prints upright, the lid upside down or flat, the groove tops overhang less than 1.5 mm, the stacking shoulder leans 40 degrees from vertical.
  • First layer: elephant foot makes the bottom of the lid's lip wider. Turn on elephant foot compensation in the slicer (about 0.15 mm) or raise the clearance by 0.05 mm.
  • Hinged box: the underside of the lid is printed as a bridge across the box. Bridges up to about 100 mm are usual on tuned printers; wider boxes may sag a little inside the lid.
  • PLA is fine for most boxes. PETG for boxes that live in a hot car or a workshop, with about 0.05 mm more clearance.
  • Big boxes: check the outside size against your bed. The generator goes up to 240 x 200 mm inside.

Need a cutout for a cable, a USB-C port or a magnet pocket? Ask the designer to change the box: it starts from this model with your sliders. For screw-top containers see the thread generator, and for drawer organizers the Gridfinity generator.

What the lid check does

The lid is moved through its whole travel on our CAD engine: lifted off the box, slid out of its grooves or swung open on its hinge. At every pose the distance between the lid and the box is measured, and the line under Play says whether anything collides, the smallest clearance found and where the lid stops or comes free. It checks the model, not your printer: the clearance you set still has to suit your machine.

FAQ

Questions about the box generator

What wall thickness should a 3D printed box have?

1.6 to 2 mm (four or five lines of a 0.4 mm nozzle) suits most boxes; 1.2 mm is enough for small, light ones, and 2.4 to 3 mm is better for boxes over about 150 mm or boxes that carry tools. Use a multiple of your line width so the slicer fills the wall with whole perimeters. The generator starts at 2 mm walls and a 1.6 mm floor (8 layers of 0.2 mm).

How much clearance does a 3D printed lid need?

About 0.2 mm per side for a lid that lifts off or slides, on a 0.4 mm nozzle: that is where the generator starts. A tuned printer holds 0.15 mm for a lid that stays on by friction; an older printer or PETG needs 0.25 to 0.3 mm. A print-in-place hinge needs more, 0.3 to 0.4 mm. Signed in with a fit profile from our tolerance test, the sliders start at your own numbers.

Do I type the inside or the outside size of the box?

The inside: the room you need for what goes in it. The outside is the inside plus a wall on each side, and the floor and the lid in height; the generator gives the outside size under the viewer. Leave about 1 mm of room each way over what you measured: for a 63 x 88 mm card deck, type 65 x 90 mm.

Which lid should I choose?

A lift-off lid is the simplest and fits any size; its lip keeps it from sliding off. A sliding lid sits flush between the walls and can't be knocked off sideways, which suits pencil boxes and card boxes. A hinged lid stays attached and prints in the same piece as the box, but it has no latch: it stays closed by its weight.

How do I print a box with a lid without supports?

Print the box upright, opening up. The lift-off lid prints upside down, top on the bed with its lip pointing up (the download lays it that way), and the sliding lid prints flat. The hinged box prints closed in one piece, as it comes; the underside of its lid is printed as a bridge across the box, so expect some sag inside the lid on wide boxes.

Can I add dividers to the box?

Yes: up to 8 dividers across the length and 6 across the width, 1.2 mm thick (three lines). The generator keeps every compartment at least 8 mm wide and says so when it uses fewer. With a lift-off lid the dividers stop just under the lid's lip; with the other lids they reach the top of the box.

How do stackable boxes work?

With a lift-off lid, Stackable adds a foot under the box: the bottom 3 mm are as narrow as the lid's lip, so the foot drops into the box below like the lid does, and a shoulder 40 degrees from vertical takes it out to the wall. Stack the boxes open, or put the lids on and stand them flat on each other.

Is the box generator free?

Yes. The sliders, the lid check and the STL, 3MF and STEP downloads are free and need no account. Saving to your designs needs a free account; asking the AI designer for a cutout, a latch or a different shape uses credits, and new accounts start with free ones.