Best File Format for CNC Machining: STEP vs STL vs OBJ vs IGES (2026)

Welcome to our blog for insights into different manufacturing processes.

Table of Contents

The best file format for CNC machining is STEP (.step or .stp), the neutral solid-model standard defined by ISO 10303. STEP stores exact boundary-representation geometry (faces, edges, and vertices), so CAM software reads a watertight solid instead of an approximation. IGES (.igs) is the older neutral alternative from the early 1980s and is now treated as a legacy format. Mesh formats like STL and OBJ approximate curved surfaces with flat triangles, which makes them ideal for 3D printing but unsuitable for tight-tolerance machining. For 2D profiles, DXF is standard. Send a STEP file for any milled or turned part, and add a PDF drawing for tolerances.

What is the best file format for CNC machining?

STEP is the best file format for CNC machining. It is a neutral, vendor-independent format governed by the ISO 10303 standard, and nearly every CAD and CAM system reads and writes it reliably. STEP preserves exact solid geometry, which is what a machine shop needs to program toolpaths and quote accurately.

The core split among 3D file formats is solid versus mesh. Solid formats (STEP, IGES) describe a part mathematically: a cylinder is a true cylinder defined by equations. Mesh formats (STL, OBJ) describe the same part as thousands of flat triangles that only approximate the curve. For 3D printing, the mesh is fine because the printer builds in layers anyway. For machining, the approximation introduces error before a single chip is cut, which is why solid formats win. We accept several formats at quote time, but STEP gives you the most accurate result and the fastest turnaround on our CNC machining line.

Why is STEP the standard for CNC machining?

STEP is the standard because it transfers a part as a watertight solid with exact geometry, not a surface approximation. Governed by ISO 10303, it carries faces, edges, vertices, and their relationships, and modern STEP AP242 can also include materials, color, and GD&T annotations (ISO, 2024).

That fidelity matters in real numbers. A bore specified to an H7 tolerance on a 25 mm diameter allows roughly +0.021 mm of variation. A mesh format that approximates the surface with a tessellation error of 0.05 mm is already outside that band before machining starts. STEP avoids this because the geometry is mathematically exact, so the CAM system programs against the true surface. STEP files are also compact relative to high-resolution mesh files of the same part, and they open cleanly in SolidWorks, Fusion 360, Mastercam, Siemens NX, and CATIA. One limitation: a STEP file is a “dumb solid” with no editable feature history, which is acceptable for manufacturing but not for parametric redesign.

When should you use IGES?

Use IGES (.igs or .iges) only when a STEP file is not available or when a legacy system specifically requires it. IGES was the first widely adopted neutral CAD format, developed in the early 1980s, with its last major revision in 1996. It still appears in some aerospace supply chains and older CAM setups.

The drawback is that IGES stores surfaces as independent entities that may not close into a watertight solid. That makes IGES more prone to gaps and surface continuity errors when complex parts are exported, which a shop then has to repair before machining. IGES remains usable, and we accept it, but for any new project STEP is the better and safer choice.

Can you machine an STL file?

You can machine simple parts from an STL, but it is not recommended for precision work. STL (Standard Tessellation Language) represents a part as a mesh of triangles and is the standard format for 3D printing, not machining. The mesh approximates curved surfaces, so it cannot hold tight tolerances or produce a true smooth finish.

For a basic 3-axis part with loose tolerances, an STL can work in a pinch. For anything with critical dimensions, fine finishes, or curved surfaces, the faceting shows up as small flats and stair-steps on the machined part. If your model only exists as an STL, the cleaner path is to convert or rebuild it as a solid before machining. STL is the right format for our 3D printing service, where the layer-by-layer process matches how the mesh is built.

Can you use an OBJ file for CNC?

OBJ files are not suitable for CNC machining without conversion. OBJ (Wavefront) is a mesh format like STL, with the added ability to store color, texture, and material data. Most CAM software cannot machine directly from an OBJ because the geometry is polygonal rather than a true solid.

OBJ is common in 3D graphics, scanning, and rendering, which is why people often arrive with an OBJ from a designer or a 3D scan. To machine it, the mesh has to be converted to STL for basic work or, better, rebuilt as a STEP solid for accurate results. Converting OBJ to STL keeps the geometry but strips the color and texture data, which a machine does not use anyway. If all you have is an OBJ, send it with your quote request and our engineers will advise on the cleanest route to a machinable solid.

What about DXF and DWG?

DXF (.dxf) is the standard format for 2D cutting work such as laser cutting, waterjet, and simple profile milling. It carries clean 2D geometry (lines, arcs, circles) that CAM software reads easily. Always state material thickness when you send a DXF, since the file itself is flat.

DWG is AutoCAD’s native 2D and 3D format. It is widely supported but proprietary, so it can introduce compatibility issues when shared across different CAD systems. For 3D machined parts, send STEP rather than DWG. For flat sheet metal parts headed to our laser cutting or sheet metal fabrication lines, a DXF plus a PDF is the right package.

CNC file formats compared

FormatTypeBest forHolds tight tolerances?Use in CNC machining
STEP (.stp)Solid (B-rep), ISO 103033D milled and turned partsYesRecommended, primary format
IGES (.igs)Surface, neutral legacyOlder systems, some aerospaceMostly, prone to gapsAccepted, legacy only
STL (.stl)Mesh (triangles)3D printing, rapid prototypingNoBasic parts only, not for precision
OBJ (.obj)Mesh + color/texture3D graphics, scanningNoNeeds conversion to a solid
DXF (.dxf)2D geometryLaser, waterjet, profile cuttingYes (2D)Standard for flat parts
DWG (.dwg)2D/3D proprietary (AutoCAD)Drawings within AutoCADVariesAccepted, STEP preferred

Format definitions per ISO 10303 (STEP) and standard industry references (2026).

What should you actually send for a quote?

For a machined part, send a STEP file as the 3D model plus a PDF drawing that states tolerances, threads, finishes, and any critical dimensions. For flat sheet metal parts, send a DXF plus a PDF. This STEP-plus-PDF package is the practice that gives the fastest, most accurate quote and the lowest risk of a manufacturing mismatch.

If your design only exists as an STL or OBJ from a scan or a designer, send it anyway. We would rather see what you have and guide the conversion than have you guess. Upload your file for an instant quote and our engineering team returns a price and a design-for-manufacturing review, usually within 24 hours. All uploads stay confidential.

Frequently Asked Questions

What is the best file format for CNC machining? 

STEP (.step or .stp) is the best file format for CNC machining. Defined by the ISO 10303 standard, it stores exact solid geometry that CAM software can program directly, and almost every CAD and CAM system supports it. Send STEP for any 3D milled or turned part, with a PDF drawing for tolerances.

Is STEP or IGES better for CNC machining? 

STEP is better for almost every modern project. STEP transfers a watertight solid with exact geometry, while IGES (an early 1980s format, last revised 1996) stores surfaces that may not close into a solid and can introduce gaps. Use IGES only when a legacy system requires it.

Can I send an STL file for CNC machining? 

You can for simple, low-tolerance parts, but it is not recommended. STL is a triangle mesh built for 3D printing, so it approximates curved surfaces and cannot hold tight tolerances or produce true smooth finishes. Convert or rebuild it as a STEP solid for accurate machining.

How do I convert an OBJ file for CNC machining? 

Convert the OBJ to STL for basic work, or rebuild it as a STEP solid for accurate machining. OBJ is a mesh format used in graphics and 3D scanning, and most CAM software cannot machine it directly. Converting to STL keeps the geometry and drops the unused color and texture data.

What file format is used for laser cutting? 

DXF (.dxf) is the standard for laser cutting, waterjet, and other 2D profile work because it carries clean 2D geometry. Include the material thickness when you send a DXF, since the file is flat. Add a PDF if there are bends, finishes, or tolerances to specify.

Do I need a 2D drawing if I send a 3D STEP file? 

Yes for anything with tolerances, threads, or surface finish requirements. The STEP file defines the shape, but a PDF drawing tells the shop which dimensions are critical and how tight they must be. Sending STEP plus PDF together gives the most accurate quote and the fewest surprises.

Subscribe Our Newsletter

Give Me the Latest Resources!

Want to deepen your understanding of different manufacturing processes? Unsure which technique is best suited for your project? Or perhaps you’re looking for design tips? Subscribe to our newsletter to receive updates on the topics that matter most to you.