A 3D CAD design displayed on a monitor next to a CNC-machined aluminum part, a caliper, and a keyboard on a workbench.

How do I prepare my CAD file so that I can submit it directly for CNC machining?

To submit a CAD file directly for CNC machining, save it in a machine-readable format such as DXF, DWG, STEP, or IGES, check it for design errors, set the correct tolerances and units of measurement, and include clear technical documentation. How smoothly the submission process goes depends heavily on the quality of your design and the agreements you’ve made with your CNC supplier. In this article, we’ll answer the most frequently asked questions about submitting CNC files from a design, step by step.

What file formats does a CNC machine accept?

A CNC machine does not work directly with your native CAD file. The most widely accepted formats are DXF and DWG for 2D milling and laser cutting, and STEP (.stp) or IGES (.igs) for 3D machining such as 5-axis milling or turning. Many CNC software programs also support STL files, although that format is less suitable for custom manufacturing.

The format you choose depends on both the machine and the CAM software used by the supplier. DXF is by far the most universal format for sheet metal and woodworking. STEP is preferred for complex 3D geometry because it preserves parametric information better than IGES. If in doubt, always ask your CNC supplier in advance which format is preferred. This prevents unnecessary conversions and loss of quality.

In addition to the file format, it’s also important that your file contains clean geometry. A DXF file with duplicate lines, open contours, or overlapping entities can confuse a CNC machine or even cause it to crash.

What design flaws hinder smooth CNC machining?

The most common design errors that prevent CNC machining are: open contours, duplicate or overlapping lines, non-contiguous curves, missing radii on inner edges, and geometry that exceeds the machine’s capabilities. These errors prevent CAM software from generating a toolpath or cause it to produce incorrect NC code.

The most critical errors are listed below:

  • Open contours: A contour that is not closed cannot be milled as a closed profile. Always check to make sure that all lines and arcs connect correctly.
  • Duplicate entities: Two lines at exactly the same position result in duplicates in the toolpath and cause overlaps.
  • Radii that are too small: An inside corner with a radius smaller than half the milling cutter diameter cannot be machined. Be sure to take your supplier’s tool dimensions into account.
  • Unsupported geometry: Splines or NURBS curves are not correctly interpreted by all CAM packages. If possible, convert them to polylines or arcs.
  • Missing depth information: For 3D operations, the depth must always be explicitly specified in the geometry or documentation.

Many CAD packages offer a built-in verification tool that lets you check your geometry before exporting. Always use it before sending the file.

How do you correctly set tolerances and units of measurement for CNC?

Set tolerances and units of measurement based on the agreements with your CNC supplier and the material being machined. Always use millimeters unless the supplier explicitly requests inches, and define tolerances for critical dimensions directly in the design or in the attached technical drawing. By default, CNC machining operates with an accuracy of plus or minus 0.1 mm, but a tighter tolerance is required for interference fits or functional surfaces.

Here are some practical guidelines:

  • Set the drawing units in your CAD file to millimeters and double-check this after exporting. Some export formats reset the units without you noticing.
  • Specify tolerances for functional dimensions, such as holes for bolts, hinges, or fitting joints.
  • Take into account material expansion in the case of metal or shrinkage in the case of plastic. This affects the final dimensions after machining.
  • For stacked tolerances (multiple parts that fit together), explicitly specify the tolerance chain in the documentation.

A CNC operator cannot guess which dimensions are critical. The more clearly your tolerances are documented, the lower the chance of rejection.

What is the difference between submitting 2D and 3D files for CNC?

When submitting 2D files, you send a flat drawing file—usually DXF or DWG—that describes the contours and holes of a part. This is suitable for processes such as laser cutting, waterjet cutting, sheet metal milling, and punching. For 3D submissions, you send a solid model, usually in STEP or IGES format, that contains the part’s complete geometry. This is necessary for multi-axis machining operations, such as 3D milling, turning, or complex milling shapes.

When should you choose 2D?

Choose 2D if the part is flat or if the machining takes place exclusively in a single plane. Examples include sheet metal parts, panels, frames, or profiles that are laser-cut or sawed. A 2D file is easier to check, faster to process, and less prone to errors during conversion.

When should you choose 3D?

Select 3D if the part has multiple machining planes, if it contains free-form surfaces, or if the CNC operator needs the model for collision checking in their CAM software. A STEP file fully preserves the solid geometry and makes it easier for the CAM software to automatically generate toolpaths.

How do you export a CNC-ready file from your CAD software?

To export a CNC-ready file from your CAD software, select the appropriate output format, check the scale and units, remove unnecessary layers and auxiliary geometry, and save the file without native parametric information that the receiving software cannot read. This process varies slightly depending on the CAD package, but the basic steps are universal.

Follow these steps to ensure a reliable export:

  1. Choose the correct format: DXF for 2D, STEP for 3D. Check which version of DXF the supplier expects, as older machines sometimes use DXF R12.
  2. Remove auxiliary geometry: Centerlines, dimension lines, text boxes, and construction lines do not belong in a CNC file. Place them on a separate layer and exclude that layer during export.
  3. Check the scale: Always export at a 1:1 scale. A file at a 1:10 scale will result in parts that are ten times too small.
  4. Validate the geometry: Use your CAD software’s validation tool to detect open contours and duplicate entities before exporting.
  5. Test the export file: Open the exported file in a neutral viewer or run it through a DXF validator. This will let you see if the geometry has remained intact.

Always save both the native CAD file and the exported file. If an error occurs, you can quickly revert to the original without having to start over.

What should be included in the technical documentation that accompanies your CNC file?

When submitting a CNC file, you should always include a technical drawing or specification sheet that specifies: the material and thickness, the required surface finish, tolerances on critical dimensions, machining notes such as thread direction or grain direction, and the quantity. Without this information, the CNC operator must make assumptions, which leads to errors and delays.

Good technical documentation should include at least the following:

  • Material Specification: Not just “aluminum,” but the specific alloy—such as 6061-T6—and the sheet thickness.
  • Surface Finish: Please specify whether the part needs to be anodized, painted, or polished after machining, as this affects the final dimensions.
  • Tolerances: Specify both the general tolerance and the specific tolerances for functional dimensions.
  • Editing Notes: Indicate which faces are visible, where the screw holes will be located, and which faces are reference planes.
  • Revision number and date: This ensures that the supplier always knows which version they are working with and helps prevent confusion regarding revisions.
  • Contact Information: Name and phone number of the engineer in charge, so that the operator can quickly get in touch in case of any uncertainties.

Always include the technical documentation as a PDF, separate from the CNC file. A PDF is universally readable and cannot be accidentally modified.

How IronCAD Helps with CNC Data Output from Design

IronCAD was developed specifically for companies in the manufacturing industry that want to design quickly and accurately and have their files ready for production right away. Whereas traditional CAD packages force you to manage complex history structures, IronCAD gives you the freedom to design flexibly while generating production-ready output.

Specifically, IronCAD helps you prepare CNC-ready files in the following ways:

  • Direct export to STEP, DXF, DWG, and other CNC-compatible formats, with full control over layers and units.
  • Automatically generate cutting lists, parts lists, and NC codes, so you don’t have to switch manually between design and production documentation.
  • Built-in geometry validation that flags open contours and design errors before export.
  • Seamless integration with Dynfos ERP and CAM solutions, so that design and production flow together in a single workflow.
  • A steep learning curve, so that engineers and drafters can be productive within days, even if they’re switching from another CAD system.

Would you like to see how IronCAD simplifies your CNC data submission process? Contact us, and we’ll show you what’s possible for your manufacturing process.