GreatLight CNC Machining Factory logo
CNC Machining
Rapid Prototyping
Materials
Industries
News
About GL

Get Instant Quote

File formats

Which 3D File Format for 3D Printing Should You Use?

Most print failures start at the CAD export, not on the machine. This page compares STL, OBJ, 3MF, STEP and AMF so you can pick the right 3D file format for 3D printing before the model reaches the slicer.

STL vs STEPMesh vs solidUnit trapsWatertight checks
3D file format for 3D printing comparison between STL, OBJ, 3MF and STEP
At a glance

3D File Format for 3D Printing: Quick Comparison

Ratings assume an FDM or resin printer and a slicer that supports the format natively.

FormatWhat it storesBest forWatch out for
STLTriangles only, no units, no colorSimple single-body parts and quick geometry checksNo units, no color, mesh errors go unnoticed
OBJTriangles plus UV and material hintsVisual models, texture checks, multi-material ideasWeak as a manufacturing file, curved faces need dense meshes
3MFMesh plus units, color, materials, orientationMulti-part builds, colored and multi-material printsFewer legacy tools read it, some printers ignore metadata
STEPExact B-rep solid geometryMachined and molded parts, tight tolerance workNot a native print format, most slicers need a converter
AMFMesh plus materials and graded structuresResearch on lattice and multi-material partsSmall support base, rarely used in production
Fundamentals

What a File Format Actually Decides

A file format decides what the next program knows about your part. STL and OBJ describe a surface as triangles. STEP describes a solid as exact surfaces with a history. 3MF wraps a mesh in a container that also carries units, color, material and orientation. That difference matters more than file size or brand preference.

Once you export to a mesh, every curved face becomes flat triangles. A Ø50 mm boss exported at low tessellation can lose 0.2 mm on the diameter. The slicer then prints that error. Export at a chord tolerance of 0.01–0.02 mm if the part has fits, threads or bearing seats.

Units are the second hidden variable. STL and OBJ have no unit field. If the CAD file was in inches and the slicer assumes millimeters, a 25.4 mm feature arrives as 1 mm or 25.4 mm depending on the direction of the mistake. 3MF and STEP carry units, so the slicer places the part at the right scale.

So the question is not which format is best. It is which format carries the information your process needs. A visual model needs color. A printed bracket needs correct scale, a closed mesh and walls thick enough to survive the build.

  • 1
    Mesh formatsSTL, OBJ and 3MF describe the outer surface as triangles.
  • 2
    Solid formatsSTEP describes exact geometry and keeps design intent.
  • 3
    MetadataOnly 3MF, STEP and AMF carry units and material data reliably.
Format by format

STL vs OBJ vs 3MF vs STEP vs AMF

STL is still the default. Every slicer reads it, files are small and export is one click. It is fine for a simple bracket, a jig or a prototype where only shape matters. It fails when the part needs color, multiple materials or an exact unit record. It also hides mesh defects, so a non-manifold edge reaches the slicer as a hole.

OBJ keeps the triangle mesh but adds UV coordinates and material references. That makes it useful for visualization, texture checks and early concept models. For printing, OBJ behaves like STL with extra data and often a larger file. A smooth curved surface needs a dense mesh, and dense meshes slow the slicer without improving the printed wall.

3MF is the format most print shops should standardize on. It stores the mesh plus units, color, material assignment and part orientation in one container. A multi-part build can be sent as one file with each body placed correctly. The weak point is tool support: older slicers may read the mesh and ignore the metadata.

STEP is not a print format, but it is the right file when the print is a step toward machining. It keeps exact geometry, so a downstream CAM programmer can offset surfaces and cut to ±0.005 mm without repairing triangles. AMF was designed for additive manufacturing with graded materials and lattice data. Support is thin, so it stays a research format for now.

  • 1
    Choose STLSingle material, shape only, widest tool compatibility.
  • 2
    Choose 3MFMulti-part builds, color, or any file that must carry units.
  • 3
    Choose STEPThe same geometry will later be CNC machined or molded.
Printer side

Format Choice by Printing Process

FDM printers slice a mesh into perimeters and infill. The mesh must be watertight, because the slicer needs a clear inside and outside. A 0.4 mm nozzle prints reliable walls from 0.8 mm upward. Below that, the slicer either thins the wall or drops it. Export at 0.01–0.02 mm chord tolerance and check the model in a mesh viewer before slicing.

Resin printers build from the same mesh but resolve finer features. A 0.05 mm layer can hold a 0.3 mm wall, so small text and thin ribs survive. The file format matters less here, but hollowing and drain holes change the mesh, so keep a clean master file and export a separate print version.

Metal printing and CNC machining share a stricter rule. The geometry drives support generation, shrinkage compensation and finishing allowance. A triangle mesh with 0.05 mm faceting error is not enough for a part that must hold ±0.005 mm after machining. Start from STEP, then mesh only for the print step.

SLS and MJF sit in between. They tolerate small mesh gaps because the powder bed supports the part, but wall thickness still has a floor. For SLS nylon, keep walls at 0.8–1.0 mm minimum. Below that, the part flexes and the surface finishes poorly.

  • 1
    FDMWatertight mesh, 0.8 mm minimum wall, export at 0.01–0.02 mm chord tolerance.
  • 2
    ResinFiner walls are possible, hollow and add drain holes for trapped resin.
  • 3
    Metal and CNCKeep STEP as the master, mesh only for the print pass.
Before you export

Checks That Prevent Failed Prints

Run the same checks before every export. Confirm the units in the CAD file, then confirm the scale by measuring one known dimension after import. A part that should be 120 mm and reads 4.72 mm was exported in inches with a millimeter assumption.

Check that the mesh is closed. In most viewers, a solid model shows zero open edges. Any open edge becomes a hole or a stray shell in the print. Repair it in the CAD file, not in the slicer, because slicer repair tools can close a hole by adding a wall that should not exist.

Check the wall thickness at the thinnest point, not the average. Fillets, ribs and text are common thin spots. A 0.6 mm rib on a 0.4 mm nozzle may print as a broken line. Thicken it to 0.8 mm or accept a weaker part.

Check the tolerance you actually need. If the printed part is a fit check for a machined part, print it at the nominal size and measure. If the print will be used as a pattern for casting, leave shrinkage allowance in the CAD model before export, not after.

  • 1
    UnitsVerify one known dimension after import, not just the unit setting.
  • 2
    WatertightZero open edges. Repair the CAD, not the mesh.
  • 3
    Thinnest wallMeasure the minimum, not the nominal, before slicing.
File handoff

What to Send When a Shop Prints and Machines

When one supplier both prints a prototype and machines the final part, send two files. Send STEP as the master geometry and a meshed version, usually STL or 3MF, for the print. The STEP file lets the shop offset surfaces, plan fixtures and cut to the final tolerance without repairing triangles.

Add a short note with the file. State the material, the process, the critical dimensions and any surfaces that must not be touched. A 3MF file can carry some of this, but a written note survives file conversion and email forwarding.

If the part has threads, send the thread callout rather than modeling the helix. Most print processes cannot hold a printed thread to a gauge, and a machined thread is cut after printing. That single decision often separates a working prototype from a rework loop.

For confidential work, ask for an NDA before sending geometry. Uploads should be treated as controlled documents, with access limited to the engineers who quote and program the part. GreatLight provides an NDA on request and quotes with a DFM analysis within 12 hours.

  • 1
    Send STEP plus a meshSTEP for the master, STL or 3MF for the print pass.
  • 2
    State critical dimensionsMark the fits and surfaces that must be held.
  • 3
    Model threads or notSend a thread callout, not a modeled helix.

Our Verdict

For a shape-only prototype, send STL. For a multi-part or colored build, send 3MF. If the same geometry will be CNC machined afterward, send STEP as the master and mesh only for the print.

FAQs

Frequently Asked Questions

Is STL still good enough for 3D printing?

Yes for single-material parts where only the shape matters. Every slicer reads it and export is simple.

It is a poor choice when the file must carry units, color or multiple bodies. Use 3MF or STEP for those cases.

Can I 3D print directly from a STEP file?

Some slicers import STEP and convert it to a mesh internally. The result depends on the tessellation settings of that slicer.

For a part with fits or threads, keep STEP as the master and export a mesh at 0.01–0.02 mm chord tolerance so you control the faceting.

Why does my STL print at the wrong size?

STL has no unit field. The slicer assumes a unit, and a mismatch of 25.4× is the usual result.

Measure one known dimension after import. If it is off, re-export from CAD with the correct unit setting instead of scaling in the slicer.

Does the file format affect surface finish?

Not directly. Finish comes from layer height, nozzle size and post-processing.

Indirectly, yes. A coarse mesh makes curved faces look faceted even after a fine print. Export at 0.01–0.02 mm chord tolerance to avoid visible flat spots.

What wall thickness should I model?

For FDM with a 0.4 mm nozzle, keep walls at 0.8 mm or more. For SLS nylon, 0.8–1.0 mm is a safe floor.

Resin can hold thinner walls, but check the part under load. A 0.3 mm wall may print and still break in use.

Can you print from my file and then machine it?

Yes. Send STEP as the master and a mesh for the print. We quote both steps together and flag any geometry that will not survive machining.

No minimum order quantity applies, from one prototype to 10,000+ parts, and parts ship in 3–5 days after production starts.

Send Your File and Get a DFM Review

We check units, wall thickness and mesh quality before quoting, then print or machine from the same master geometry.

12-hour quote100% inspectionNDA on request

Follow

More from GreatLight

We publish setup notes, tooling trials and inspection data from the factory floor.

FacebookTikTokYouTubeLinkedInInstagramThreadsPinterest

Trusted by engineers and manufacturers worldwide

Tesla Ford Motor Company BYD Auto Denso Magna International Boeing Airbus Medtronic KUKA FANUC