comparison
Best CAD File Formats for CNC Machining
Table of Contents
- Why CAD File Format Matters for CNC Machining
- STEP vs IGES for CNC Machining
- DXF Files for CNC Routing and 2D Profiles
- STL Files for CNC Machining
- CNC Machining File Requirements and Preparation
- How to Choose the Right File Format for Your Project
- Conclusion
- Frequently Asked Questions
Last Updated: October 16, 2026
Why CAD File Format Matters for CNC Machining
Sending the wrong CAD file formats CNC machining file to a shop can derail a project before the machine ever starts. At VanderLab, we work with CAD files every day, and the format shapes how accurately we read geometry, how quickly we quote, and whether tolerances stay tight through production.
The best CAD file formats CNC machining preserve solid geometry, stay compatible across platforms, and translate design intent without loss. Some excel at 3D solid models, others at 2D profiles, and a few suit specific machine types or legacy systems.
STEP vs IGES for CNC Machining
When you're deciding between STEP and IGES, you're really choosing between modern reliability and backward compatibility. Both preserve 3D geometry, but they approach the problem differently.
STEP: Solid Geometry and Broad Compatibility
STEP is the modern standard for sharing solid 3D CAD models across systems.
STEP works across nearly every CAD and CAM system in use today. Moving a design from SolidWorks to Fusion 360 to a shop's CAM software, STEP handles the translation without geometry degradation.
The main limitation: STEP doesn't always capture every detail of an original model. Certain design features, custom properties, or parametric relationships may not survive export. For production work that's usually fine, geometry is what matters, but for complex assemblies, verifying that all critical features made it through is important.
IGES: Surface and Legacy System Support
IGES is older than STEP and handles surfaces differently. Where STEP builds solid models from enclosed volumes, IGES works with surface patches, making it useful for organic shapes, complex curves, and designs that emphasize surface continuity over solid volume.
IGES also remains the default for many legacy CAM systems and older shops. If your vendor asks for IGES, they're probably running software from the 2000s or earlier; sending STEP to a system that expects IGES can cause import errors or geometry corruption.
The trade-off: IGES files are larger, conversion to solid-based systems can introduce small gaps or overlaps, and the format is less reliable for tight tolerances.
| Format | Geometry Type | Best For | Compatibility | File Size |
|---|---|---|---|---|
| STEP | Solid models | Modern CAD/CAM workflows | Excellent across platforms | Smaller |
| IGES | Surfaces and curves | Legacy systems, organic shapes | Older software, specialized tools | Larger |
DXF Files for CNC Routing and 2D Profiles
DXF is the workhorse of 2D CNC work. If you're cutting profiles, routing edges, or engraving flat designs, DXF is what most CNC routers and laser cutters expect.
DXF preserves 2D geometry, lines, circles, arcs, and polylines, in a format that's been around since the 1980s and still works reliably.
For routing work, DXF is often the first choice: lightweight, nearly universal, and easy for CAM software to convert to G-code with minimal interpretation.
When exporting to DXF, pay attention to layers. Many CNC shops use layer names to organize toolpaths, one layer for roughing, another for finishing, another for detail work.
STL Files for CNC Machining
STL represents geometry as a mesh of tiny triangles, which works well for complex curves and organic shapes that are difficult to model as solids.
The critical limitation: STL doesn't preserve solid geometry. A CNC machine reading an STL sees only the surface, not what's inside.
If you're sending STL to a CNC shop, ask first. Many shops won't accept it for precision machining because converting STL back to usable solid geometry is time-consuming and error-prone.
CNC Machining File Requirements and Preparation
Getting your file ready for the machine shop means more than exporting. The difference between a quote that comes back quickly and one that stalls usually comes down to a handful of settings and checks most people skip. Here's the sequence we walk through before any file goes to the machine.
Set units explicitly, then confirm them
A STEP file can carry dimensions in millimeters or inches, and the receiving CAM software will trust whatever the file declares. If a shop assumes millimeters and a file is in inches, the part comes out roughly 25 times too small. Before sending anything, confirming the unit system with the shop and stating it in the file metadata and a cover note is important. In most CAD packages, this can be checked under document properties or export options; do not rely on the software default.
Match export tolerance to the job, not to the maximum
Every neutral-format export applies a translation tolerance, sometimes called chord height or deviation. Tighter tolerance means more accurate curves and a larger file; looser means smaller files and faceted arcs. For most machined parts, roughly 0.0004 to 0.001 inches (0.01 to 0.025 mm) captures curvature faithfully without bloating the file. Large flat router profiles can go looser; tight-tolerance mating features should be tightened and checked.
Run a geometry validation pass
Most CAD software includes a repair or validation tool. Run it before export and look for open edges, overlapping surfaces, gaps in solids, and zero-thickness walls. These flaws do not always block export, but they can cause CAM software to fail or generate incorrect toolpaths. A common pattern is a solid that looks closed on screen but has a hairline gap where two surfaces meet; a validator can catch it, even if the eye does not.
Check the solid body, not just the surface
If you are sending STEP, confirm the export produced a closed solid rather than a shell of surfaces. In many CAD tools you can re-import the exported file into a fresh document and check the body type. If it comes in as a surface body, the original model likely had an unstitched seam, and the shop may need to repair it before machining.
Keep a version and naming convention
File confusion causes more delays than geometry errors. A simple convention works: part name, revision letter, and date, such as bracket-revB-2026-10-16.step. Send only the current revision, and if a replacement is sent, stating so explicitly in the cover note can help ensure the shop quotes the correct file. Avoid spaces and special characters in filenames; some CAM systems handle them poorly.
Include a drawing or spec sheet
The file carries geometry; the drawing carries intent. State the material, desired finish, special requirements, and tolerance expectations, and note which dimensions are critical versus reference. This context helps the shop set up correctly and quote accurately, potentially reducing the back-and-forth that eats into turnaround time.
How to Choose the Right File Format for Your Project
Choosing the right format depends on three factors: geometry type, machine type, and your shop's capabilities. The table below maps formats to the work they actually suit, so you can pick based on the job in front of you rather than a generic ranking.
Start with the machining process
Different CNC processes read geometry differently, and the format should follow the process.
- 2D profiling, routing, and laser cutting. DXF is the native language here. Flat parts, sign profiles, and engraved layouts belong in DXF, organized by layer so the shop can assign toolpaths cleanly.
- 3-axis milling of solid parts. STEP is the default. Brackets, housings, and mechanical components with pockets, bosses, and through-holes export cleanly as solids and import without repair in most CAM systems.
- Turning. STEP or a native CAD format works well for turned profiles and revolved solids. DXF can carry a 2D profile for simple turned parts, but it loses the solid context the shop may want for verification.
- Complex surface and contoured work. STEP handles most of it; IGES remains useful when the shop's CAM software is older or when the geometry is surface-based rather than solid. STL appears in sculptural and organic work where surface shape matters more than exact dimensions.
- 3D printing and additive work. STL is the standard, with finer mesh settings for smoother surfaces.
Then match the machine and the shop
CNC mills and lathes work best with STEP or native CAD formats; routers and laser cutters typically expect DXF for 2D work or STEP for 3D profiling. Ask your shop what they accept and prefer, their CAM software determines it, and working with their preferred format saves time and reduces errors. A shop running older CAM software may ask for IGES; a modern shop will almost always prefer STEP.
Weigh tolerance and complexity
For precision work with tight tolerances, STEP is safest because it preserves solid geometry and avoids the surface-gap issues that can creep into IGES conversions. For artistic or sculptural work where surface shape matters more than exact dimensions, STL can work. For legacy systems, IGES may be required. If your part combines tight tolerances with complex surfaces, send STEP and confirm the export tolerance was set tight enough to preserve curvature.
A quick decision matrix
| Decision Point | Choose STEP | Choose DXF | Choose IGES | Choose STL |
|---|---|---|---|---|
| Machining process | 3-axis milling, turning | 2D profiling, routing, laser | Surface work, legacy CAM | Sculptural, additive |
| Geometry type | Solid 3D models | 2D profiles and flat designs | Complex surfaces, legacy data | Organic shapes, artistic work |
| Machine type | Mills, lathes, modern CNC | Routers, laser cutters | Older CAM systems | 3D printers, some sculptural mills |
| Tolerance priority | Tight tolerances required | Standard tolerances | Legacy system requirement | Surface shape over precision |
| File compatibility | Excellent across platforms | Universal for 2D work | Specialized/older systems | 3D printing, some sculptural work |

When in doubt, send two
If you're unsure, sending a STEP file for solid geometry and a DXF for any flat profiles or engraving layouts is a good approach. The shop can work from whichever fits the operation, and it can help avoid a round trip. Pairing the files with a short note on units, material, and critical dimensions, that combination covers most jobs and can help keep the quote moving.
Conclusion
The right CAD file format gets your design to the machine without loss of geometry or intent. STEP is the modern standard for solid 3D work and the safest choice for most precision CNC projects. DXF handles 2D routing and engraving reliably. IGES supports legacy systems and complex surfaces.
At VanderLab, we accept STEP, DXF, and other common formats. If you're unsure which format to use or need help preparing your file for production, get a custom quote and we'll guide you through the process. You can also [browse our eBay Shop](https://www.ebay.com/str/vanderlab) to see examples of precision parts and custom work we've completed.
Frequently Asked Questions
What is the best file format for CNC machining?
STEP is generally the best choice for most CNC machining projects because it preserves solid geometry accurately and works across virtually all CAD and CAM systems. However, the right format depends on your specific project: DXF works well for 2D routing profiles, STL suits mesh-based designs, and IGES handles legacy systems. Always check with your machining service about their preferred format before sending your file.
Is STEP or IGES better for CNC machining?
STEP is better for most modern CNC workflows because it preserves solid geometry with high fidelity and has broader compatibility with current CAD and CAM software. IGES excels when you're working with surface geometry or need to exchange files with older systems that don't support STEP. If your CAM software or machining partner specifically requests IGES, use it; otherwise, STEP is the safer choice.
Can STL files be used for CNC?
Yes, STL files can be used for CNC machining, but they have limitations. STL represents geometry as a mesh of triangles rather than true solids, which can reduce accuracy for tight-tolerance parts. STL works well for complex sculptural forms, artistic pieces, or when you're converting 3D scans. For precision parts requiring exact dimensions, STEP or DXF is more appropriate because they maintain geometry fidelity.
What file format should I use for CNC routing?
DXF is the standard format for CNC routing because it handles 2D profiles and cutting paths efficiently. DXF files are lightweight, easy to edit, and universally supported by routing software. For 3D routing operations, STEP provides better geometry control. Always verify your CNC routing service's requirements, as some may accept both formats but have a preferred option for your specific project type.