CNC-freesmachine snijdt geometrische vormen in aluminium paneel, met metaalspanen rond de frees en een laptop met 3D CAD-model op de werkbank.

In what file format should I submit my design to a CNC milling machine?

When working with a CNC milling machine, it’s best to submit your design as a STEP file (.stp or .step) for 3D machining, or as a DXF file for 2D contours. Which format is preferred depends on the type of machining and the machine used by the miller. In this article, we answer the most frequently asked questions about submitting your design for CNC machining, so you’ll know exactly what to do.

What file formats does a CNC milling machine accept?

Most CNC milling machines accept a combination of 2D and 3D file formats. The most common ones are DXF, STEP, and STL. In addition, some machines also support IGES, DWG, or even native CAD files, depending on the CAM software used by the milling machine.

The file formats accepted by a specific milling machine vary by company and by machine. It is therefore always a good idea to discuss this with the milling machine operator in advance. That said, DXF and STEP are the most widely accepted formats in the manufacturing industry, and in most cases, you’ll be fine using them.

  • DXF for 2D drawings and outlines (laser cutting, sheet metal fabrication, routing)
  • STEP for 3D models with complete geometry information
  • STL for 3D Printing and Surface Models
  • IGES as an alternative to STEP for older systems
  • NC codes (G-code) when the milling machine requests machining programs instead of CAD files

What is the difference between DXF, STEP, and STL?

DXF, STEP, and STL are three fundamentally different file formats, each serving a different purpose. DXF is a 2D drawing format, STEP is an exchange format for complete 3D models with precise geometry, and STL describes only the surface of a 3D object using triangles, without dimensional information or machining details.

DXF: for 2D contours

DXF (Drawing Exchange Format) was developed by Autodesk and has been used for years as a standard for exchanging 2D drawings. The format contains lines, arcs, and contours that a CNC machine can follow. It is compact, widely supported, and ideal for flat machining operations such as milling, sawing, or laser cutting.

STEP: for 3D models

STEP (Standard for the Exchange of Product Model Data) is an ISO standard that defines complete 3D geometry, including surfaces, edges, and volumes. The format preserves exact dimensions and is interchangeable between virtually all CAD packages. For complex 3D operations, STEP is by far the most reliable choice.

STL: for surface models

STL (Stereolithography) converts a 3D model into a mesh of triangles. This format lacks dimensional accuracy and does not contain information about machining surfaces or tolerances. STL is primarily intended for 3D printing and is rarely the right choice for CNC milling, where precision is critical.

What is the preferred format for a CNC milling machine?

For most CNC milling machines, STEP is the preferred format for 3D machining, because it preserves exact geometry and dimensions completely. For purely 2D machining operations, such as milling contours in sheet material, DXF is preferred because it can be easily and directly processed in CAM software.

A good rule of thumb: if your part is flat and you’re working only with contours, send a DXF file. As soon as depths, angles, 3D shapes, or complex surfaces come into play, choose STEP. If in doubt, always send both, so the miller can choose for themselves what works best in their workflow.

How do you export the correct file format from your CAD software?

In virtually any CAD software, you export a file using the “Save As” or “Export” option, after which you select the desired format from a list. For STEP, choose the .step or .stp extension; for DXF, choose .dxf. Always check the export settings for units (millimeters or inches) and scale before sending the file.

When exporting, please note the following:

  • Set the units to millimeters, unless the milling machine specifically requires inches
  • Always export at a 1:1 scale
  • Remove unnecessary guides, construction lines, or hidden layers from your DXF file
  • Check whether the model is “watertight” (closed) during a STEP export
  • Save tolerances or finish requirements separately in a PDF or technical drawing

Some CAD packages also offer the ability to generate NC codes directly, which eliminates an extra step in the process. Ask the miller if this is an option.

What can go wrong when submitting a CAD file?

The most common issues when submitting a CAD file are incorrect units, open contours in DXF files, and loss of geometry during export. These errors may seem minor, but they can lead to incorrect machining, rejection of the file, or additional costs for corrective work.

A list of common mistakes:

  • Duplicate lines or overlapping contours in a DXF file, causing the machine to run the same path twice
  • Open contours that are not closed, so that the CAM software cannot calculate a closed path
  • Incorrect unit of measurement, for example, because the file is saved in inches while the milling machine expects millimeters
  • Missing tolerances or surface requirements that are not included in the CAD file but are necessary for machining
  • Complex assemblies as a single file, even though the milling machine needs each part separately

In addition to the CAD file, always include a PDF drawing with the dimensions, tolerances, and material specifications. This gives the miller a visual reference for checking the file.

Does every CNC milling machine require the same file format?

No, every CNC miller may have different requirements for the file format. This depends on the CAM software the miller uses, the type of machine, and the company’s internal procedures. One miller may prefer to work with STEP, while another may require a DXF file or even a native file from a specific CAD package.

Therefore, always ask the milling company in advance what format they prefer and whether there are any specific export settings they require. This prevents confusion and unnecessary rounds of revisions. Reputable milling companies often have a submission document or checklist available that specifies exactly what they need.

If you work with the same miller on a regular basis, it’s worth agreeing on a standard procedure. That way, you’ll know exactly how to submit your design for every new project, without any questions or delays.

How IronCAD Helps You Submit Your CNC Files

If you regularly submit designs to a CNC miller, you’ll want CAD software that makes this process as easy as possible. IronCAD is a powerful 3D CAD solution designed specifically for companies in the manufacturing industry that fully supports the export of the correct file formats.

Here’s what IronCAD does for you when generating CNC files from your design:

  • Direct export to STEP, DXF, IGES, and other common CNC formats from the same design
  • Automatically generate cutting lists, NC codes, and machining reports for your production process
  • Intuitive 3D design without complex history trees, so you can make adjustments quickly
  • Seamless integration with ERP software for a fully digital production process
  • Easy to learn, so your team can be productive in a matter of days instead of months

Would you like to know how IronCAD streamlines your workflow with the CNC milling machine? Contact us, and we’d be happy to show you what’s possible.