Shadow Box Generator

Make a 3D printed shadow box in any size, with a front door that opens on a hinge or lifts off with magnets. Big boxes are split into pieces that fit your print bed and click together. Free, in your browser, with STL and 3MF download.

3D preview

Your geometry will appear here

Preview or render the model to inspect it in 3D.

X · Y · Z ↑ · XY ground at Z = 0

STL preview

Grid 10 units · Drag: orbit · Right-drag / two fingers: pan · Scroll / pinch: zoom

Prints back down, as shown, with no supports.

No 3D geometry yet

Outside 209.2 × 260 × 57 mm, 2 pieces each for the box and door

  • Glass or acrylic: 182.6 × 233.4 mm, 2 mm thick
  • Backing board: 202.7 × 253.5 mm, 5 mm thick
  • 4 magnets, 6 × 2 mm
  • 2 pieces of 1.75 mm filament, 42 mm long, as hinge pins
  • 8 turn clips (Clips tab) to hold the glass
  • Box piece 1: about 217.7 × 140 mm
  • Box piece 2: about 217.7 × 130 mm

Parameters

OpenSCAD Customizer

Controls override parameters at compile time without changing your code.

Size

Inside width, the space for your items, in millimeters

Default: 203.2

Inside height, in millimeters

Default: 254

Usable depth from the backing board to the glass, in millimeters

Default: 40

Box

Wall thickness, in millimeters

Default: 3

What closes the back of the box

Default: board

Thickness of the backing board, in millimeters. Foam board is about 5 mm, cardboard 2 to 3 mm

Default: 5

Two keyhole slots at the top of the back, for hanging the box on screws

Default: true

Door

How the door opens

Default: hinge

Width of the door frame around the window, in millimeters

Default: 18

Door thickness, in millimeters

Default: 8

Thickness of the glass or acrylic sheet in the door, in millimeters. 0 leaves the window open

Default: 2

Magnet diameter, in millimeters

Default: 6

Magnet thickness, in millimeters

Default: 2

Fit

Play in the joints between pieces, in millimeters. Raise it if pieces are too tight

Default: 0.2

Printer bed

Print bed width, in millimeters

Default: 256

Print bed depth, in millimeters

Default: 256

The preview shows all pieces laid out together. Download each piece above, or all of them as a ZIP. The pieces join with jigsaw tabs, no glue needed.

Need something the sliders don't do?

Open this shadow box in the OpenSCAD Playground and ask the AI assistant for shelves, dividers, a name plate or a stand. A few requests are free; Premium gives you more.

Customize with AI

How to make a 3D printed shadow box

  1. Pick the inside size (a photo size, A4, or your own width and height) and how deep the box should be for what you want to show.
  2. Pick your printer bed. If the box is bigger than the bed, it's split into pieces that click together with jigsaw tabs. Every piece fits the bed.
  3. Choose the door: a hinge on the left with magnets on the right, or a lift-off door held by magnets. Set the glass thickness, or 0 for an open window.
  4. Download the box, the door and the clips. Print them the way the preview shows: the box back down and the door face down, with no supports.
  5. Glue the magnets into their pockets, push a piece of 1.75 mm filament through each hinge, drop in the glass and turn the clips to hold it.

How it goes together

  • Box: four walls with a lip at the back. A sheet of foam board or cardboard sits on the lip and closes the back, so you don't print a big flat panel. Small boxes can have a printed back instead. Two keyhole slots let it hang on screws.
  • Door: a frame that holds a sheet of glass or acrylic from behind. Turn clips on the back keep the sheet in. The door opens from the front, so you can change what's inside without taking the box off the wall.
  • Hinge: the knuckles print flat on the box and door. Line them up and slide a piece of ordinary 1.75 mm filament through as the pin. Nothing has to print in place, so it works on any size of box.
  • Magnets: 6 × 2 mm round magnets by default, the same ones used for Gridfinity. They hold the door shut, or hold the whole door on if you pick the lift-off door.
  • Pieces: boxes that don't fit the bed are cut into corners and rails. The walls join with jigsaw tabs that push together from the side, and the door pieces join from the front. Raise Fit if they're too tight.

What to buy

The panel under the preview lists the exact glass and backing board sizes, the number of magnets and clips, and the length of filament for the hinge. Acrylic sheet cuts with a scoring knife, and foam board cuts with a craft knife.

Customize it further

The shadow box is ordinary OpenSCAD code. Customize with AI opens your current settings in the OpenSCAD Playground, where you can edit the code or ask the AI assistant to add shelves, dividers or a name plate. To print a photo to put inside, try the lithophane maker. For a flat photo or print, use the picture frame generator.

FAQ