local engine

Guide

Why Your STEP to STL File Is So Big

A STEP file can look modest and still produce an STL measured in gigabytes. The cause is not a bug in the converter: STL is a triangle list, and every triangle has a fixed byte cost. Once you see the arithmetic, the fixes become obvious.

Updated 28 November 2026 · cadtomesh · independent guide

The short answer

STL stores triangles, not surfaces. A 40 MB STEP can describe a lot of curved geometry, and a fine tessellation can turn that into tens of millions of triangles. At 50 bytes per triangle, 32 million triangles is about 1.6 GB. Lower the detail preset, export only the parts you need, simplify the CAD, or decimate the mesh after conversion.

Do the arithmetic

Binary STL has an 80-byte header, a 4-byte triangle count and then exactly 50 bytes per triangle: a 12-byte normal, three 12-byte vertices and a 2-byte attribute field. The size is therefore predictable:

STL bytes ≈ 84 + (triangle count × 50)

TrianglesApproximate binary STL sizeWhat it feels like
100,0005 MBA simple part or a coarse export
1,000,00050 MBA detailed mechanical part
10,000,000500 MBA dense assembly or a fine preset
32,000,0001.6 GBThe reported 40 MB STEP case

The arithmetic also runs backwards. A 1.6 GB STL contains roughly 32 million triangles. That is not impossible for a complex assembly: a single small fillet or threaded hole can add thousands of triangles, and an assembly can multiply that across hundreds of parts.

Why the STEP file is so much smaller

STEP is a text exchange format for exact geometry. It describes a cylinder as a surface with a radius and a trimmed boundary, not as a stack of triangles. A 40 MB STEP file can therefore hold a large assembly with small features while remaining compact. The converter has to expand those analytic surfaces into chords; that expansion is where the bytes appear.

Four factors drive the explosion:

STEP colour, names and hierarchy do not add significant bytes to the STL because they are removed. The size comes from geometry alone.

Four ways to shrink it

  1. Drop the detail presetStart with Draft or Balanced instead of Maximum. On the site's 139 KB, 18-part sample, Draft produced 7,728 triangles (386 KB) while Maximum produced 51,920 triangles (2.60 MB) with the same bounding box. That is a 6.7× difference from one setting. Use the coarsest preset that still holds the smallest feature you need.
  2. Export only the parts you needIf the print is one bracket, do not convert the whole machine assembly. Hide or suppress the other components in CAD, export a filtered STEP, and convert that. This is usually the largest single win and it also makes the preview manageable.
  3. Simplify the CAD before exportSuppress threads, tiny holes, cosmetic logos, internal ribs and fillets that will not survive the print. A “print copy” with the manufacturing detail removed can cut triangle count dramatically without changing the printed shape. Keep the original STEP as the master.
  4. Decimate after conversionIf you only have the mesh, a mesh editor can reduce triangles. Blender's Decimate modifier and MeshLab's simplification filters are common choices. Decimation is not free: it can collapse thin walls, open holes and break a manifold shell. Check the result in the slicer before printing.

The cadtomesh workspace does not decimate; it tessellates CAD sources and writes the mesh. The preset is the in-app lever, and filtered export is the CAD-side lever. Plan for both.

3MF as an alternative container

3MF indexes shared vertices instead of repeating every corner per triangle, then compresses the XML in a ZIP package. For the same mesh, the site's STEP to 3MF output measured 5.2–5.9× smaller than the binary STL, because a vertex shared by many triangles is stored once. That makes 3MF a sensible delivery format when the receiver can read it.

Do not treat 3MF as a universal shrink button. A plain 3MF still stores the same triangle geometry; the saving comes from indexing and compression, not from throwing detail away. If the receiver needs STL, convert the STL and reduce the triangle count instead. See STEP to 3MF for the exact package behaviour.

A practical workflow

  1. Measure the sourceCheck the STEP bounding box and part count in CAD. A 5,080 × 2,210 × 3,810 mm assembly and a 20 mm bracket need different treatment.
  2. Filter the exportExport only the printable components, in the orientation you intend to print.
  3. Convert at Draft or BalancedInspect the preview for missing small features. If a feature vanishes, move up one preset rather than jumping straight to Maximum.
  4. Check the triangle countOpen the STL in the slicer or a mesh viewer. If the count is far above what the print can resolve, reduce it before slicing.
  5. Repair only if neededRun the slicer's repair pass when it reports holes or non-manifold edges; do not decimate and repair blindly at the same time.

What size is normal?

A simple FDM part often lands between 5 MB and 50 MB; a detailed mechanical part can be 50–150 MB. Large assemblies can exceed 500 MB, and some slicers become sluggish well before that. The right target is not “as small as possible” but “small enough for the slicer while still resolving the smallest printed feature”.

If a 1.6 GB STL is failing to open, the fix is usually upstream: filter the assembly, simplify the print copy, or drop from Maximum to Balanced. Converting the same geometry to 3MF may also help if the receiver supports it.

Measured check: triangle count drives bytes

PresetTrianglesBinary STLBytes per triangle
Draft7,728386 KB50
Balanced16,512826 KB50
Fine26,0881.30 MB50
Maximum51,9202.60 MB50

The 6.7× spread between Draft and Maximum comes from tessellation, not from compression. The same geometry at four presets produced the same bounding box. The STEP to 3MF output for the same meshes was 64.5 KB to 480 KB, 5.2–5.9× smaller than the binary STL, because 3MF indexes vertices and deflates the XML.

What does not shrink a file: renaming, re-exporting at the same preset, or converting to 3MF when the receiver only accepts STL. Lower the triangle count, filter the assembly, or decimate — and check watertightness after decimation.

Try the same STEP at a lower detail preset

The workspace lets you switch between Draft, Balanced, Fine and Maximum before downloading, so you can compare the preview and the file size.

Open STEP to STL workspace

Frequently asked questions

Why did a 40 MB STEP become a 1.6 GB STL?

Because the STL is a triangle list and the STEP is a surface model. A fine tessellation of a complex assembly can produce roughly 32 million triangles, and at 50 bytes each that is about 1.6 GB. The converter is expanding analytic surfaces into facets, not copying the STEP bytes.

Is STL size proportional to triangle count?

Yes for binary STL. The file is 84 bytes plus 50 bytes per triangle, so doubling the triangles roughly doubles the file size. ASCII STL is larger and less predictable because the coordinates are written as text.

Does Draft ruin the print?

Draft reduces surface fidelity, so small curves and fillets can look faceted. For a visual part or a large print it is often fine. For a small precision part, check the preview and move up to Balanced or Fine if a feature disappears.

Can I shrink an STL without CAD software?

You can lower the tessellation preset at conversion time, export fewer parts, or decimate the mesh in a mesh editor. Decimation can damage thin walls and watertightness, so inspect the result in the slicer. There is no lossless way to remove triangles from an already written STL.

Is 3MF always smaller than STL?

No. 3MF indexes vertices and compresses the package, which often makes it smaller for a shared-vertex mesh, but ZIP overhead can dominate a tiny mesh. Convert to 3MF for the container and unit declaration, not only for a smaller file.

Related guides

References

Last updated: . This guide documents format behaviour and the cadtomesh workspace; it is not a promise that every file will convert cleanly.