Send a STEP file to a machine shop: it keeps the exact solid, so the CAM can pick true arcs, holes and faces. Send a DXF to a laser, plasma or waterjet cutter: they cut flat profiles, so they only need clean, closed 2D outlines at 1:1 scale. Send an STL (or 3MF) to a 3D printer: slicers work on triangle meshes. If in doubt, send the STEP as well, plus a PDF drawing with the tolerances.

The three formats look similar in a file browser, but they hold very different things. Picking the wrong one is the most common reason a quote comes back late, or a part comes back the wrong size. This guide explains what each file keeps and loses, how to export each one from Fusion, SolidWorks, Onshape and FreeCAD, and the mistakes that cause trouble.

Which File for Which Job

JobSendAlso usefulAvoid
CNC milling or turningSTEP (.step / .stp)PDF drawing with tolerances, threads and finishSTL: the CAM cannot pick true holes or arcs
Laser, plasma, waterjet or router profile cuttingDXF of each flat part, 1:1, in mm or inches as agreedMaterial, thickness and quantity in the email; STEP for bent partsA DXF of a drawing sheet with title block and dimensions
Sheet metal with bendsSTEP of the folded part, or a DXF flat pattern if the shop asksBend radius and K-factor you usedA flat DXF with no bend lines marked
3D printingSTL or 3MFSTEP if someone may need to edit itDXF (2D only)
3D relief carving on a routerSTL (a height-field mesh)Notes on size and depthA coarse mesh: facets show in the wood

What Each Format Keeps and Loses

The same round part stored three ways STEP stores a true circle, STL stores a polygon of flat facets, and DXF stores only a flat outline, which must be closed. STEP exact circle (B-rep) STL flat facets (mesh) DXF 2D outline: gap = open contour
A round part as STEP, STL and DXF. The red dots mark an open contour in the DXF outline, which most cutting software will not cut.

STEP: the exact solid

STEP (ISO 10303) stores a boundary representation, or B-rep: true planes, cylinders, cones, splines and the edges where they meet. A 10 mm hole is stored as a real cylinder of radius 5 mm, not as an approximation. That is why CAM software can select a hole and drill it, or pick a face and pocket it. STEP files also carry units, and an assembly can keep its parts and structure.

What STEP loses is the history: the sketches, features and parameters. The person who opens it gets a "dumb" solid. It can be edited with direct-modelling tools, but you cannot change a feature dimension the way you would in your own file.

AP203, AP214 or AP242? These are "application protocols", different versions of what a STEP file may contain. AP203 is the oldest and carries geometry with no colour. AP214 adds colours and layers and is the safe default that almost every CAM and CAD program reads. AP242 is the newest; it merges the two and can also carry PMI (dimensions and tolerances on the 3D model) and tessellated data. For a quote or a CAM job, AP214 or AP242 both work. Choose AP242 only if the shop asks for model-based tolerances.

STL: a mesh of triangles

STL stores only a list of flat triangles. There are no circles, no faces, no colours and no units: a number "25" in the file could be 25 mm or 25 inches, and the program that opens it has to guess. Every curve is chopped into straight facets. How fine those facets are is set when you export, by a chord tolerance (also called surface or sag deviation): the largest gap allowed between the true surface and the flat facet.

A binary STL takes 50 bytes per triangle plus an 84-byte header, so a 100,000-triangle model is about 5 MB. A machine shop can do little with an STL apart from 3D-surfacing it, and a 10 mm hole in an STL is not a hole the CAM can drill.

DXF: 2D lines and arcs

DXF is Autodesk's drawing exchange format. For cutting, it carries the flat outline of a part: lines, arcs, circles, polylines and splines. A good DXF for cutting has one closed outer contour, closed inner contours for holes and slots, nothing else, and is drawn at full size. DXF can store a units code in its header ($INSUNITS), but many cutting programs ignore it, so always say in your email whether the file is in mm or inches.

Many profiles are drawn as splines. Some older laser and plasma software handles splines badly. If a shop asks for "arcs and lines only", convert splines to polylines or arcs before export.

Choosing STL Resolution

The chord tolerance decides how many facets make up a curve. For a circle of radius R and chord tolerance t, each straight segment spans an angle θ:

θ = 2 × acos(1 − t / R)    segments per full circle = 360° ÷ θ (round up)
Radiust = 0.1 mm (0.004")t = 0.05 mm (0.002")t = 0.01 mm (0.0004")
2 mm (0.08")10 segments1532
5 mm (0.2")162350
10 mm (0.39")233271
25 mm (0.98")3650112
50 mm (1.97")5071158

Small radii suffer most: a 2 mm radius at 0.1 mm tolerance is only a 10-sided polygon, and you will see it in a print or a carving. For FDM printing, a chord tolerance of about 0.01 to 0.05 mm is plenty, because the nozzle cannot follow anything finer. For relief carving with a small ball nose, go towards 0.01 mm, or the flat facets show up in the finished wood. Halving the tolerance raises the facet count by about 1.4 times on each curve, so do not go much finer than you need.

How to Export from Fusion, SolidWorks, Onshape and FreeCAD

Menu names change between releases, so treat these as the usual routes rather than exact click paths.

CADSTEPSTL / meshDXF for cutting
FusionFile > Export, type STEPRight-click the body > Save As Mesh. Pick STL (binary) or 3MF; Refinement Low/Medium/High, or Custom to set Surface DeviationRight-click a sketch in the browser > Save As DXF. For sheet metal, create the flat pattern and export it as DXF
SolidWorksFile > Save As, type STEP AP203 or AP214; Options sets solid or surface output. Recent releases add AP242 in some save or publish routesFile > Save As > STL; Options: Binary, units, Resolution Coarse/Fine or Custom (deviation and angle)Right-click a flat face or the flat pattern > Export to DXF/DWG; choose 1:1 and the entities to include
OnshapeRight-click the part or Part Studio tab > Export, format STEP (a separate STEP AP242 option is listed)Right-click the part > Export, format STL; set units, binary and resolution (a preset, or Custom)Right-click a sketch, a flat face or a sheet-metal flat pattern > Export as DXF/DWG
FreeCADSelect the body > File > Export > STEP. The scheme (AP203, AP214 or AP242) is under Edit > Preferences > Import-ExportMesh Design workbench > Create mesh from shape (set surface deviation) > Export mesh as STL; or File > Export with the Standard tessellationSelect a sketch or flat face > File > Export > Autodesk DXF 2D

Whatever you use, open the exported file in a second program before you send it. Our STEP viewer shows a STEP file in the browser and lets you measure across it, which is a quick way to prove the units and size survived.

Common Mistakes

MistakeWhat happensFix
Wrong units in STL or DXFPart comes in 25.4 times too big or too smallExport in the units you will state in the email; check one known size after import
Mesh too coarseFlat facets on curves; holes print as polygonsLower the chord tolerance (see the table above), or use Custom refinement
Mesh far too fineHuge file, slow slicer or CAM, email bouncesAbout 0.01 mm is enough for most hobby work
Open DXF contourCutter skips the part or cuts a stray line; no inside/outside offsetJoin lines into closed polylines; close any tiny gaps
Duplicate or overlapping linesThe same edge is cut twice, burning the edge or wasting timeRun an overkill/delete-duplicates command before export
DXF of a drawing sheetBorder, dimensions and text get cutExport the sketch or flat face, not the drawing sheet
Scaled drawing view in the DXFPart cut at 1:2 or 2:1Always 1:1 for cutting files
Sending STL to a machine shopNo true holes or faces to program; tolerances unknownSend STEP plus a PDF drawing
Text left as a fontWrong font, or text missing on the shop's PCExplode text to curves; check small islands in letters such as O and A

More on clean cutting files is in our guide How to Make DXF Files for Laser, Plasma and CNC.

What to Put in the Email

  • Material and grade, for example S275 mild steel, 6082-T6 aluminium or 304 stainless.
  • Thickness for flat parts, and the quantity of each part.
  • Units of every DXF and STL.
  • Tolerances, threads and finish on a PDF drawing. A STEP file has no tolerances unless it uses AP242 PMI, and few hobby files do.
  • File names that match the part, such as bracket-3mm-S275-qty10.dxf.

Try it

Check a STEP file before you send it: open it in the STEP File Viewer, measure a hole or the overall size, and confirm the units. For flat parts, see how many fit on a sheet with DXF Nesting and estimate the cutting cost with the DXF Cut Cost Estimator.

Open the STEP File Viewer

Frequently Asked Questions

What file format do machine shops want?

Most CNC machine shops want a STEP file (.step or .stp) of the solid model, plus a PDF drawing that shows tolerances, threads and surface finish. STEP keeps true holes, arcs and faces that the CAM software can select. An STL is a triangle mesh with no true holes or units, so it is a poor choice for machining.

What file does a laser or plasma cutter need?

A DXF of each flat part, drawn 1:1, with closed outer and inner contours and nothing else: no border, title block, dimensions or text left as a font. Tell the cutter whether the DXF is in millimetres or inches, the material, the thickness and the quantity.

Should I export STEP AP214 or AP242?

For quotes and CAM, either works. AP214 is the safe default that almost every program reads and it keeps colours. AP242 is newer and can also carry tolerances and annotations on the 3D model (PMI). Use AP242 if the shop asks for model-based tolerances; otherwise AP214 is fine.

Why is my STL the wrong size?

STL files store no units. A part drawn in inches and opened as millimetres comes in 25.4 times too small, and the reverse makes it 25.4 times too big. Export in the units your slicer or CAM expects and check one known dimension after import.

What STL resolution should I use?

Set a chord tolerance (surface deviation) of about 0.01 to 0.05 mm for 3D printing. Small radii need it most: at 0.1 mm tolerance a 2 mm radius becomes a 10-sided polygon, while at 0.01 mm it has 32 segments. Going much finer only makes the file bigger.

Sources: ISO 10303 (STEP) application protocols AP203, AP214 and AP242; Autodesk DXF Reference (header variable $INSUNITS); the binary STL layout (80-byte header, 4-byte triangle count, 50 bytes per triangle); Autodesk Fusion, SOLIDWORKS, Onshape and FreeCAD export help pages (2025 to 2026 releases). The chord-segment table is calculated from the formula shown. Menu paths vary by version.