How to Convert CAD for 3D Printing — From STEP to a Clean Printable STL

Your model lives in CAD as an exact solid. Your printer wants a mesh of triangles. Getting from one to the other is a single conversion, but the settings you pick decide whether the print comes out smooth or faceted, and whether the file is a reasonable few megabytes or a sluggish few hundred. This guide walks the whole path — export a neutral STEP from your CAD, tessellate it to an STL at the right resolution, and check the result before you slice — and it explains the one setting, deflection, that does most of the work.

Why You Have to Convert at All

CAD stores geometry as BREP: mathematical surfaces, so a hole is a cylinder with a diameter and a fillet is a surface with a radius. A slicer cannot consume that. It needs a mesh — a watertight skin of flat triangles — because slicing works by intersecting the model with a stack of horizontal planes, and that math is simple against triangles and hard against arbitrary NURBS surfaces. So every print starts by tessellating the exact surfaces into triangles fine enough that your eye, and the nozzle, cannot tell the difference.

This is the easy direction of conversion. You are going from more information to less, so nothing has to be guessed or reconstructed. The only real decision is how many triangles to spend approximating the curves — the tradeoff at the center of this guide.

Export a Neutral STEP From Your CAD First

Most CAD programs can export STL directly, and if yours does a good job you can skip straight to slicing. But native CAD files — .sldprt, .f3d, .ipt — are not portable, and their built-in STL exporters vary a lot in how much control they give you over mesh quality. Exporting a STEP first gives you a clean, universal solid that any converter can tessellate predictably. In SolidWorks, Fusion 360, FreeCAD, or OnShape, use File → Export (or Save As) and choose STEP (AP214 or AP242). That is the same file you would send a machine shop, and it is the reliable input for making a mesh.

One check before you export: make sure the model is a single closed solid, not a collection of surfaces. A printable mesh has to enclose a volume, and a solid body guarantees that. If your CAD shows the body as surfaces or an open shell, stitch or thicken it in CAD first, because no mesh setting downstream can invent the inside of an open surface.

Deflection: the One Setting That Matters

Deflection is the maximum distance the flat mesh is allowed to stray from the true curved surface, measured in your model units — millimeters, for anything headed to a printer. A small deflection hugs the curve tightly with many small triangles; a large one cuts the corner with fewer, bigger ones. It is the whole quality-versus-size dial, and picking it well is most of doing this right.

DeflectionResultWhen to use it
0.01 mmVery smooth, large triangle count and fileSmall, highly detailed parts; visible show surfaces
0.05 mmPrints cleanly, moderate file sizeThe sensible default for most functional parts
0.1 mmTool default; faint facets on large curvesQuick fit checks, large or mostly flat parts
0.5 mm and upVisibly polygonalOn-screen visualization only, not printing

Two things make this easier to judge. First, deflection is absolute, not relative, so 0.05 mm is much finer on a 10 mm knob than on a 300 mm panel — match it to the smallest curved feature you care about, not to the overall size. Second, there is a floor past which finer is pointless: an FDM printer laying 0.4 mm lines and 0.2 mm layers cannot reproduce detail smaller than that, so a deflection below about 0.02 mm usually just inflates the file without changing the print. Resin prints, with much finer resolution, are where the smallest values earn their keep.

Our STEP to STL converter defaults to 0.1 and lets you set it lower. For a typical mechanical print, drop it to 0.05; if the part has small radii or you are printing on resin, 0.01 to 0.02 is worth the larger file.

Step by Step: STEP to a Printable STL

1. Export a STEP from your CAD as above, confirming the body is a closed solid and the units are millimeters.

2. Upload it to the STEP to STL tool. Set deflection to 0.05 for a normal functional part, or lower for fine detail and resin. Leave it at the default only for a rough visual check.

3. Convert and look at the reported triangle count. A few thousand to a few hundred thousand triangles is normal. Millions usually means the deflection is finer than the part needs, and you can raise it and re-run for a lighter file that prints identically.

4. Open the STL in your slicer. Check that the dimensions read correctly (this catches unit mistakes), that curved surfaces look smooth at print scale, and that the slicer reports the model as watertight with no errors.

STL, 3MF, or OBJ?

STL is the safe default: every slicer reads it, and for a single-material print it carries everything the printer needs. Reach for 3MF instead when you want color, multiple materials, or print settings to travel with the geometry — it was designed to replace STL for exactly that, and PrusaSlicer, Bambu Studio, and Cura all read it. OBJ only makes sense if you also need texture and material data for rendering; for pure printing it adds nothing over STL. If you are unsure, export STL and move on.

Have a STEP ready? Tessellate it to a printable STL, with the deflection under your control.

STEP to STL Converter

Check Before You Slice

A mesh straight from a solid STEP is almost always watertight, so this step is a formality for CAD-sourced files. It stops being a formality when your input was itself a mesh — a downloaded STL, a scan, an old export whose CAD is gone. Those can arrive with holes, non-manifold edges, or flipped normals that a slicer chokes on. If your starting point is a mesh rather than clean CAD, run it through a checker first and repair what it finds.

Starting from an STL instead of CAD? Check it for holes and non-manifold edges before printing.

Check Your STL

And if the situation is reversed — you have only an STL of a mechanical part and need to edit it in CAD before printing a modified version — that is the hard direction, covered in the STL vs STEP guide and handled by the STL to STEP converter.

Frequently Asked Questions

Should I export STL straight from my CAD or convert through STEP?

If your CAD exports a clean, watertight STL and gives you control over mesh resolution, exporting directly is fine. Converting through STEP helps when you want predictable tessellation settings, when you are moving the model between tools anyway, or when the native STL exporter produces coarse or leaky meshes. STEP is also the file to keep as your portable master.

What deflection should I use for 3D printing?

Around 0.05 mm suits most functional FDM parts: smooth enough that facets do not show, without an oversized file. Drop to 0.01–0.02 mm for small detailed parts or resin printing, where the machine can actually reproduce that detail. Going finer than about 0.02 mm on an FDM printer mostly just grows the file, since the nozzle cannot print detail below its line width.

Why is my printed part faceted or polygonal?

The deflection was too high, so curves were approximated by too few, too-large triangles. Re-tessellate at a smaller deflection (try 0.05 or lower) and the curves come out smooth. A visibly polygonal hole or cylinder is the classic sign of a coarse mesh setting.

My STL file is huge — why, and does it matter?

A very small deflection generates enormous triangle counts, and files in the hundreds of megabytes slow down slicing without improving a print that a coarser mesh would have rendered identically. Raise the deflection to the coarsest value that still looks smooth at print scale. Reducing an already-generated mesh is a separate job (mesh decimation), best avoided by tessellating at a sensible resolution in the first place.

Why does my model come out the wrong size after converting?

Almost always a units mismatch: the STL format has no unit information baked in, so a model authored in inches or centimeters can import as if it were millimeters. Author and export in millimeters, and check the dimensions in your slicer right after import. If it is off by a factor of 25.4 it was inches; by 10, centimeters.

This guide covers one problem. For the full set of 3D converters, checkers, and calculators, visit the hub.

Browse 3D Tools