An STL file that is too big: how to make it smaller
An STL can be a closed shape and still be too large to slice, or too large to check in a browser. Lychee treats a polygon count above 1 million as high: more polygons mean more calculations and a slower scene, and the count shows up in the file size. A cube, by their example, is 12 polygons and about 0.52 kB. Their setup notes add that a 100+ Mb STL of a 28 mm miniature is often wasted memory, because millions of extra polygons hold microscopic detail that even a high-resolution printer will not reproduce. That same density is what freezes a browser tab. When the file is still small enough to open here, the checker can make a smaller copy before that heavy pass starts. Below is why the file got that big, how much of it a resin miniature can use, and how to shrink it without sanding off a face or a line of text.
Related guide: An STL that looks fine but fails in the slicer or mid-print
Make a smaller copy, then check it
The free STL checker runs in your browser. If the mesh is large enough to freeze the tab, Make smaller keeps about half the triangles, and a second pass keeps about a quarter of the original. The download is named with -smaller before .stl. The copy is approximate, it is not the file you dropped, and nothing is uploaded. Afterward the checker looks for holes, non-manifold edges and flipped faces.
Most likely causes (in order)
- Sculpting, subdivision, and generated meshes: Blender's Decimate manual says the modifier is for a mesh from complex modeling, sculpting, or an applied Subdivision Surface or Multiresolution modifier: those leave vertices and edges you do not need. Un-Subdivide is the reverse of a subdivide, for topology that is still mostly a grid. A sculpt or a generated mesh that was subdivided for a render, then exported, keeps every one of those faces in the STL. The file is huge because the mesh was built for a screen, not because the printer can cure each triangle.
- Scans and other dense captures: Formlabs describes MeshLab as a tool for mesh work on 3D scanning data, and points to its Quadratic Edge Collapse Decimation filter, which rebuilds the mesh toward a target face count. A scan stores triangles at the density of the capture, including across broad, smooth surfaces. That is a capture resolution. It is not the resolution of the printer. MeshLab's filter, Blender's Decimate, and Meshmixer's Reduce are three ways to drop the extra faces before you slice.
- ASCII instead of binary: The Library of Congress describes a binary STL as an 80-character header, a 4-byte triangle count, and 50 bytes for each triangle. Binary is the compact form, and the one in common use, because the same mesh as ASCII would be unmanageably large. Formlabs recommends saving STL as binary because it further reduces file size. Blender writes binary unless you turn on Format: ASCII. Exporting binary does not move a vertex. It also does not help a binary file that is huge because it has millions of triangles. At 50 bytes each, two million triangles are 100 million bytes of triangle data, plus the 84-byte preamble, which is about 95 MB. That is the size of mesh that can freeze this checker's tab.
- More triangles than a layer and a pixel can cure: Formlabs treats the vertical step and the in-plane detail as different limits. Z resolution is the layer thickness. For a DLP-style printer, XY resolution is the pixel size: the smallest feature the projector can reproduce in one layer. Formlabs printers support layer thicknesses from 25 to 300 microns depending on the material, and PreForm offers 200, 160, 100, 50, and 25 microns. Your printer's list may be shorter. Thinner layers help organic forms, rounded arches, small embossings, and intricate engravings. On a shape that is mostly vertical and horizontal edges, Formlabs says extra layers do not improve the print. The printer cures a layer of pixels. It does not cure individual triangles. Lychee says the microscopic detail from millions of extra polygons on a 28 mm miniature will not be reproduced, even by a high-resolution printer. That is the detail a reduction can drop. A face, an edge, or lettering that you can see at the miniature's scale is the detail to keep.
- Decimating the triangles that define the shape: Blender says Decimate is not the usual tool when every vertex is necessary to define the shape. Collapse merges vertices while taking the shape into account, but a face, a sharp rim, or engraved lettering can be exactly those necessary vertices. That is where a reduction shows: the feature softens or disappears. On a broad flat, Planar mode exists to dissolve faces that are nearly coplanar, and that change is much harder to see in resin. A vertex group tells Collapse to leave the face and the text alone.
Settings to change
| Setting | Change | Why |
|---|---|---|
| Browser Make smaller | On the STL checker, when the warning says the file may freeze the tab, choose Make smaller. The first pass keeps about half the triangles. If that copy is still too large to check, Make smaller again keeps about a quarter of the original. Download the file whose name ends in -smaller.stl, then let the check run | The reduction is meshoptimizer's simplifier. It tries to reach a target triangle count at the smallest error it can, and it follows the mesh so it can keep borders and the overall appearance. It is not guaranteed to hit the count. Identical corners have to be welded first or it can get stuck, so this page welds corners that already meet. A rougher fallback, which does not preserve borders and has worse geometric quality, runs only if the careful pass stops short. The checker skips its heavy pass above 600,000 triangles. The copy is approximate, it is not the file you dropped, and nothing is uploaded. |
| Blender Decimate modifier | Add a Decimate modifier and use Collapse. Ratio 1.0 leaves the mesh unchanged. Ratio 0.5 keeps about half the faces. An STL is already triangles, so that ratio is the share of triangles you keep. Apply the modifier, or export with Apply Modifiers on, and leave Format: ASCII off. Put a face or lettering in a vertex group and assign that group on the modifier. For a mesh that is still a subdivided grid, use Un-Subdivide with an even iteration count. For a part that is mostly flat, use Planar | Blender documents the 0.5 ratio, the vertex group, Un-Subdivide, and Planar this way. The ratio is figured in triangles, so a mesh of quads can keep more faces than you expect unless Triangulate is on. You cannot preview the modifier in Edit Mode. Read the remaining face count it displays, and look at the shaded mesh, before you export. If a Subdivision Surface modifier is still live, Blender's STL export can use either the viewport level or the render level, so pick the one you mean. |
| Meshmixer Reduce | Select the whole object the way Formlabs describes for a remesh: Ctrl+A, or Cmd+A on a Mac. Then choose Edit, then Reduce, and use Adaptive mode when you want the cut to follow the detail. To rebuild the tessellation instead, choose Edit, then Remesh, and use Adaptive Density. Turn on Preserve Sharp Edges if corners start to round. On a large model, do this before you generate supports | Autodesk describes Edit > Reduce as the tool that removes triangles, and Adaptive mode as the version that follows detail. Formlabs says to select the whole object with Ctrl+A, documents Adaptive Density as the remesh that keeps more triangles in detailed areas and is suited to a finished print file, and says Preserve Sharp Edges stops hard corners from being smoothed. The same article says a Reduce or Remesh on a large model makes support generation less work. |
| Binary STL export | Export binary, not ASCII. In Blender, leave Format: ASCII off and turn Apply Modifiers on so Decimate is in the file. In another program, choose the binary STL option on export | Blender's manual says Format: ASCII writes ASCII instead of binary, and Apply Modifiers writes the evaluated mesh. The Library of Congress says binary is the compact form. Formlabs recommends binary because it reduces file size. This changes the encoding. It does not change the triangles, so a binary file that is already millions of triangles still needs a decimation pass. |
| Model repair after decimation | Open the smaller STL in the checker. If it lists open edges, branched edges, or flipped faces, repair it and check the download again. In Blender, run Check All, then Make Manifold, then Check All again. In Lychee, check the object list for structural errors before you slice | A reduction replaces triangles, so the shell you export is not the shell you started with. meshoptimizer's careful simplifier tries to preserve borders, and the rougher fallback does not. Lychee says to repair structural errors when a file lags or crashes. Blender's 3D Print Toolbox is the check for a shell that is no longer closed. If the checker is clean and the slicer still errors, the remaining fault is often a self-intersection, which the guide on an STL that looks fine and fails in the slicer covers. |
Exact values depend on your printer and resin. Start from the resin maker's recommended settings and change one thing at a time.
Where to change it in your slicer
Setting names and locations for Lychee, CHITUBOX, Anycubic Photon Workshop and UVtools. Where we could not confirm an exact menu location, we list the setting name only. Names can differ slightly between versions.
Quick checklist
- If the STL is ASCII text, export a binary STL before you decimate anything
- Read the triangle count. Lychee calls more than 1 million polygons high
- On the checker, use Make smaller, and use Make smaller again only if the first copy is still too large to check
- Or in Blender, Decimate in Collapse, protect faces and text with a vertex group, and export binary with modifiers applied
- Or in Meshmixer, select the whole mesh and run Edit, Reduce, or Remesh in Adaptive Density with Preserve Sharp Edges
- Orbit the shaded mesh and read the remaining face count before you trust the file
- Run the checker, or Blender Check All, and repair open edges, non-manifold edges, and flipped faces
- Read the slice preview of the reduced file before a long print
- Leave a carefully modeled mesh alone when the triangles are there to hold a face, an edge, or lettering
FAQ
Why is my STL file so big?
A scan, a sculpt with subdivision applied, or a generated mesh can store millions of triangles. Lychee calls a count above 1 million high, and says that count is also the file size. A binary STL stores 50 bytes per triangle, so the file grows in step with the count. An ASCII STL of the same mesh is the large text form the Library of Congress contrasts with binary. Export binary first. If it is already binary and still huge, the triangle count is what you need to reduce.
How small should I make an STL for a resin miniature?
There is no single triangle count that fits every model. Formlabs treats layer height and XY resolution as separate limits: the printer cures layers of pixels, thinner layers help organic shapes and fine engraving, and extra layers do not help a shape made of vertical and horizontal edges. Lychee says millions of extra polygons on a 28 mm miniature will not be reproduced. Reduce the smooth areas. Keep the triangles that define a face or a line of text, and judge the result in the shaded view and the slice preview.
Will Make smaller ruin the print?
It writes a new file. The first pass keeps about half the triangles. A second pass, only if you run it, keeps about a quarter of the original. meshoptimizer tries to hold the shape while it cuts triangles, and this page uses the rougher fallback only when the careful pass cannot reach the count. The result is approximate, and it is not the file you dropped. Preview it and run the checker. If a face or lettering went soft, do not print that copy. Nothing is uploaded.
When should I not decimate an STL?
Blender says Decimate is the wrong tool when every vertex is needed to define the shape. That is a carefully modeled miniature, engraved text, and a face carried by a few triangles. Protect those vertices with a vertex group, or skip the reduction. Flat and smooth areas are where a reduction changes the file more than the print.
The smaller STL has holes, or the slicer still rejects it. What now?
Check the reduced file before you print it. meshoptimizer's careful simplifier tries to preserve borders, and the rougher one does not, so a shell that was already open can stay open. The browser repair, Blender's Make Manifold, and Lychee's model repair are the same fixes as for any other bad STL. If the checker is clean and the slicer still errors, look for self-intersections, which the guide on an STL that looks fine and fails in the slicer covers.
Not sure which one you've got?
Upload 1–4 photos of the failed print and PrintCleric ranks the likely causes and tells you exactly which settings to change, with sources.
Get resin fixes in your inbox
Sources
- Blender Manual: Decimate modifier
- Blender Manual: STL import and export
- Blender Manual: 3D Print Toolbox
- Library of Congress: STL file format, binary
- Lychee Documentation: Issues with the 3D file
- Lychee Slicer: high-polygon files and system requirements
- Lychee Documentation: Repair tool
- Formlabs: What resolution means in 3D printing
- Formlabs: Meshmixer tutorial, mesh repair for 3D printing
- Formlabs: How to repair STL files for 3D printing
- Autodesk Meshmixer: Volume Brush (Edit > Reduce and Adaptive mode)
- meshoptimizer: Simplification
- CHITUBOX Docs: Configure Print Settings
- Lychee Documentation: Burn-in / Bottom Layers Calibration
- Anycubic Wiki: Common parameter description
- UVtools (official repository)
Related fixes
- An STL that looks fine but fails in the slicer or mid-print
- Layer separation / delamination in resin prints
- Failed supports: model stuck to the FEP, only supports printed
- Nothing on the build plate (print stuck to the FEP)
- Suction cups and blowouts (volcanoes) in hollow resin prints
- Elephant's foot (flared bottom layers)
Wear nitrile gloves and eye protection when handling uncured resin, and work in a ventilated space.