Guide · 7 min read
Scale and Resolution for Printable STL Files
A relief STL is a grid of height samples stretched to a physical size. Two numbers decide whether it prints well: how far apart the samples are, and how that spacing compares with your nozzle. Get them right and the file is small, the slicer is fast and every bit of detail reaches the plastic. The same scale questions come up with full 3D models too; FurniMesh (furnimesh.com), made by our team, converts GLB models to STL, and the units section below applies to those files as well.
STL has no units
An STL file lists triangles as plain numbers with no unit attached. Every major slicer interprets those numbers as millimeters. This converter writes millimeters directly: set 100 mm wide and the model measures 100 in the slicer.
Trouble starts with files from software that works in other units. glTF and GLB files are defined in meters, so a 0.9 m tall chair exported straight to STL can arrive as a 0.9 mm speck. Files from inch-based CAD arrive 25.4 times too small. The fix is always a uniform scale in the slicer: 100,000% for meters to millimeters, 2,540% for inches. Check the dimensions panel before slicing, every time.
Sample spacing and the nozzle
The resolution setting is the number of samples across the width. Spacing is the width divided by one less than the sample count. At the default heightmap settings, 100 mm and 200 samples, spacing is 100 / 199, or 0.50 mm. In Lithophane mode the default is 250 samples, or 0.40 mm.
A standard nozzle is 0.4 mm and lays a line roughly that wide. Anything on the surface smaller than about one line width cannot be drawn. That gives a practical target: spacing between 0.3 and 0.5 mm for a 0.4 mm nozzle. Finer spacing gives the slicer more triangles to process without adding visible detail. Coarser spacing shows as faceting on curves.

Resolution by print width
To keep spacing near 0.4 mm as the print grows, scale the resolution with the width. The table uses a 4:3 image; triangle counts come from the converter's formula for a closed relief, 2(nx-1)(ny-1) + 6(nx-1) + 6(ny-1), and file sizes from 84 bytes plus 50 bytes per triangle.
| Width | Samples across | Spacing | Grid | Triangles | STL size |
|---|---|---|---|---|---|
| 50 mm | 125 | 0.40 mm | 125 × 94 | 24,366 | 1.2 MB |
| 80 mm | 200 | 0.40 mm | 200 × 150 | 61,390 | 3.1 MB |
| 100 mm | 250 | 0.40 mm | 250 × 188 | 95,742 | 4.8 MB |
| 150 mm | 375 | 0.40 mm | 375 × 281 | 213,364 | 10.7 MB |
| 200 mm | 500 | 0.40 mm | 500 × 375 | 378,490 | 18.9 MB |
| 240 mm | 600 | 0.40 mm | 600 × 450 | 544,190 | 27.2 MB |
Past 240 mm you hit the converter's 600-sample cap, and spacing grows. That is usually fine: a 300 mm panel is viewed from farther away, so 0.5 mm spacing looks the same to the eye. Lithophanes add the frame on top of these numbers, a few percent more triangles.
Height resolution is a separate question
Spacing controls detail across the surface. Depth detail depends on the height range and, for a print lying flat, on layer height. A 3.0 mm relief printed flat at 0.2 mm layers has only 15 distinct steps from base to peak, so smooth gradients show as contour lines. At 0.12 mm layers you get 25 steps. This is the main reason lithophanes are printed standing up: then the thickness changes are drawn by the nozzle's horizontal moves, which have far finer positioning than layer steps. The lithophane guide covers orientation in detail.
For reliefs printed flat, the practical trade-off is relief height against layer count. A deeper relief with the same layer height gets more steps and smoother gradients, but very deep relief on a busy photo looks spiky. Between 2 and 4 mm suits most decorative reliefs.
Make your own relief or lithophane STL. Free, and your image never leaves your browser.
Open the converterWorked example: a 150 mm relief tile
You want a square decorative tile, 150 by 150 mm, from a square image. For 0.4 mm spacing, set resolution to 375 samples. The grid is 375 by 375, the closed relief has 2 × 374 × 374 + 12 × 374 = 284,240 triangles, and the STL is about 14.2 MB. With a 2 mm base and 3 mm of relief, the tile measures 150 × 150 × 5 mm at its highest point. Printed flat at 0.16 mm layers, the relief has about 19 steps of height, enough for soft shading.
If 14 MB is too large to email, drop to 300 samples. Spacing becomes 0.50 mm, the file falls to about 9.1 MB, and the change is hard to see at arm's length.
Smoothing and its effect on scale
Smoothing averages each sample with its neighbors. One pass at 0.4 mm spacing blurs over about 1.2 mm, which removes pixel noise without visibly softening the image. At coarse spacing, the same pass covers more distance and softens more. If you lower resolution to save file size, consider lowering smoothing too.
Scaling a finished STL in the slicer
Scaling a relief in the slicer scales every axis unless you unlock them. Doubling a 100 mm relief to 200 mm also doubles its 3 mm depth to 6 mm. Usually you want the opposite: wider but the same depth. It is better to regenerate at the new width here, which keeps your thickness values and recalculates spacing. For full 3D models, uniform scaling is what you want, as in the dollhouse furniture example.

A quick checklist before you download
Confirm the width and height shown under the preview are the sizes you want in millimeters. Confirm the spacing, width divided by samples minus one, sits between 0.3 and 0.5 mm for a 0.4 mm nozzle. Confirm the triangle count and file size are reasonable for your slicer and wherever the file is going. Then download, open in the slicer and read the dimensions again. If they match, slice. Picking the right source image matters as much as these numbers; the image guide covers that side.
Questions
What units does an STL file use?
None. An STL stores bare numbers. Slicers assume millimeters, which is why this converter writes its values in millimeters. Files exported from tools that work in meters or inches can open 1,000 times or 25.4 times too small.
How many triangles is too many for a slicer?
Desktop slicers handle a few hundred thousand triangles easily and millions with some lag. For flat reliefs, the useful limit is set by the nozzle, not the slicer: past one sample per 0.4 mm you add size without detail.
Why is my STL so big?
Binary STL stores every triangle separately at 50 bytes each. A 600 by 600 sample relief has about 725,000 triangles, or about 36 MB. Lower the resolution to match your nozzle and the file shrinks with no visible loss.