June 3, 2026
CAD File Formats for CNC in 2026: STEP vs IGES vs STL
Learn CAD File Formats for CNC in 2026—why STEP AP242 is best, when IGES or Parasolid works, and why STL fails. Get tips and upload with confidence.
TL;DR
STEP (.stp) is the best CAD file format for CNC machining. It stores mathematically precise solid geometry that CAM software needs for accurate toolpaths. Use AP242 if your CAD software supports it. IGES works but is a legacy format prone to surface gaps. STL files cannot hold CNC tolerances and should not be used. If you only have photos or a broken part, reverse engineering can recreate the CAD model from scratch.
This guide is for engineers, procurement teams, and maintenance managers who need to send a file to a CNC shop or upload one to a quoting platform. The decision it helps you make: which file format to submit so you get an accurate quote fast, avoid delays, and end up with a part that meets spec.
File format is not an administrative checkbox. It’s a manufacturing variable that affects toolpath accuracy, quoting speed, and part cost. Choosing the wrong one can mean slower quotes, manual geometry repair by the shop, or parts that don’t hold tolerance.
Upload your CAD file for instant CNC pricing and a defined lead time.
Why CAD File Format Matters for CNC Machining
Every CAD file format stores geometry differently. The critical distinction for CNC machining is between two representations:
B-rep (boundary representation) stores shapes as mathematical surface definitions. A cylinder is described as an exact mathematical cylinder. An arc is a true arc. This is what CAM software needs to generate precise toolpaths.
Mesh (triangulated approximation) stores shapes as collections of tiny flat triangles. A cylinder becomes a polygon of straight segments. This works fine for visual rendering and 3D printing, but it destroys the dimensional precision CNC machining requires.
The choice between these two representations determines whether your file can be machined directly or needs to be rebuilt from scratch. Formats like STEP and IGES store B-rep data. STL stores mesh data. That single difference drives most of the practical advice in this guide.
Beyond geometry type, file format choices add or eliminate significant hidden cost in CNC manufacturing. A clean STEP file can be quoted instantly by automated systems. A problematic IGES file with surface gaps may require manual review, adding hours or days to the quoting cycle. And an STL file may require complete geometry reconstruction before any machining can begin.
Understanding the benefits of CNC machining starts with understanding the file you send.
Glossary of CAD File Formats for CNC
STEP (.stp / .step)
STEP is the preferred CAD file format for CNC machining. Defined by ISO 10303, it’s a neutral exchange standard that stores complete solid geometry as mathematical surface definitions (B-rep), maintaining true dimensional accuracy that CAM software uses for toolpath generation.
STEP files are “dumb solids,” meaning they carry the correct geometry but no parametric feature tree. You can’t open a STEP in SolidWorks and edit it by changing a sketch dimension. For manufacturing, this is actually an advantage. Practitioners on the Practical Machinist forum consistently report that it’s more consistent and trouble-free to program from a dumb solid than from a parametric, intelligent-feature model. The CAM programmer cares about surfaces, not your design history.
STEP also wins on longevity. As one machinist noted in a forum discussion, STEP files should open with no problems 10 years from now, while native CAD formats change every few years with software updates.
When to use it: Always, if you can. STEP is the industry standard for CNC quoting and programming. Canadian machine shops overwhelmingly use STEP-compatible CAM software, making it the safest upload choice.
Limitation: No parametric history. If your shop needs to modify the design, they’ll need to rebuild features or request the native file.
IGES (.igs / .iges)
IGES was the first neutral CAD exchange format, developed in the 1970s and last updated in 1996. It stores surface geometry as collections of independent NURBS surfaces without enforcing that those surfaces connect into a closed, watertight solid.
For decades, IGES dominated CAD data exchange. It remains in use in industries with older software infrastructure, particularly some aerospace supply chains. But it is now a legacy format in most modern workflows.
The practical problems are well documented. STEP preserves exact B-rep geometry with full mathematical precision, while IGES approximates curves as polylines during export, introducing chord errors on curved surfaces that degrade toolpath accuracy. IGES files also tend to be larger and may carry extra data artifacts. One machinist on Practical Machinist reported that “the igs file is usually low quality when importing into Mastercam” and that they’ve “often seen extra junk come in” when opening IGES files.
When to use it: Only if your CAM system or supplier specifically requires it, or if STEP export isn’t available in your software. Both situations are rare today.
BREP (.brep)
Boundary representation (BREP) is a method for representing a 3D shape by defining the limits of its volume. A BREP file stores topological components (faces, vertices, edges) and their geometric links (surfaces, points, curves) as mathematically precise 3D data.
The BREP format is part of Open CASCADE Technology (OCCT) and is less commonly used as an interchange format than STEP. However, it stores the same type of exact solid geometry that CNC machining requires. FrankWorks accepts BREP uploads for instant quoting alongside STEP and IGES.
Most competing guides skip BREP entirely, but if your CAD workflow produces BREP files (common with FreeCAD and other OCCT-based tools), there’s no reason to add a conversion step when your quoting platform accepts the format directly.
When to use it: When your CAD software exports BREP natively and your CNC supplier or platform accepts it.
STL (.stl)
STL is a triangulated mesh format designed for 3D printing. It is not suitable for CNC machining.
The reason is geometric. A perfect circle becomes a polygon of many straight line segments. A smooth fillet becomes a series of flat facets. For CNC machining of a bore specified to H7 tolerance (±0.018 mm on a 25 mm bore), a typical 0.05 mm tessellation error is already outside the tolerance band before machining even begins. Holes aren’t cylinders; they’re collections of small planar faces arranged in a ring. Applying a ±0.01 mm tolerance to a bore that’s geometrically a 32-sided polygon is meaningless.
A common misconception: “I’ll just convert my STL to STEP.” This does not work. The conversion doesn’t recover the original mathematical geometry. In a converted file, arcs remain faceted approximations and cylinders remain polygonal tubes. Going from STL to STEP isn’t a file format swap; it’s an engineering reconstruction process. Users on the McNeel Forum (Rhino community) regularly struggle with converting mesh files to solid bodies for CAM software, confirming this is a real and recurring pain point.
What to do if you only have an STL: You likely need reverse engineering to rebuild the solid model with proper mathematical geometry. This is a service, not a file conversion.
DXF (.dxf)
DXF (Drawing Exchange Format) is a 2D vector format that stores geometric elements like lines, arcs, and splines in a flat plane. It’s the standard format for laser cutting, plasma cutting, and waterjet cutting.
Many engineers also use DXF to define pockets, holes, or engraving paths in simple 2.5D milling operations. But DXF files don’t include 3D data or thickness information. If you’re sending a DXF for a flat part, you need to specify material thickness separately.
When to use it: For 2D profiles destined for laser, plasma, waterjet, or simple 2.5D milling. Not for 3D CNC parts.
DWG (.dwg)
DWG is AutoCAD’s proprietary format. While many CAD packages can open DWG files, the format’s embedded metadata and scaling features frequently cause compatibility issues during import to CAM systems.
Most engineers convert DWG to DXF for 2D machining or to STEP for 3D parts before sending files externally. DWG remains useful for design reviews and internal communication, but treat it as a reference format, not a machining-ready file.
When to use it: Don’t, for CNC purposes. Convert to DXF (2D) or STEP (3D) first.
Parasolid (.x_t / .x_b)
Parasolid is one of the most widely used geometric kernels in industrial CAD/CAM software, developed by Siemens. The .X_T (text) and .X_B (binary) file extensions represent its native export formats.
Parasolid files preserve high-quality solid geometry with excellent fidelity for complex features, including Boolean operations, fillets, lofts, and exact math. In many cases, Parasolid imports cleaner than other neutral formats, especially for complex parts and advanced surfaces.
The catch is that Parasolid is proprietary. If both designer and manufacturer use Parasolid-based systems (SolidWorks, Siemens NX, Solid Edge), it can be an excellent choice. Otherwise, STEP is the safer option for broad interoperability.
When to use it: When you know the receiving shop uses Parasolid-based CAM software. Otherwise, export STEP.
Native Formats (SLDPRT, CATPART, .prt, .ipt)
Native formats from SolidWorks (.sldprt), CATIA (.catpart), Creo (.prt), and Inventor (.ipt) capture every feature, every history tree, and every parameter. They’re the richest representation of your design intent.
But CNC and CAM platforms don’t typically accept proprietary files directly. Version compatibility is a constant headache: a SolidWorks 2024 file may not open correctly in SolidWorks 2022. And sharing native files means sharing your full design history, which raises IP concerns.
Rule of thumb: Always export to STEP before sending to a shop or quoting platform. GrabCAD forum users confirm that programmers can work with many file types (.PRT, .SLDPRT, .STEP, .IGES, .DXF), but STEP is the most universally accepted starting point.
G-Code (.nc / .gcode)
G-code is the machine-readable instruction set that tells a CNC machine where to move, how fast to cut, and what tools to use. It’s the output of CAM software, not a design file.
Buyers don’t send G-code. You upload a CAD file (ideally STEP), the shop’s CAM programmer generates toolpaths from that geometry, and the CAM software outputs G-code tailored to the specific machine.
If someone asks you for “the G-code,” they’re asking for the wrong thing. What they need is your CAD model.
Quick Comparison: CAD File Formats for CNC
| Format | Type | Best Use | CNC Machining? | Key Note |
|---|---|---|---|---|
| STEP (.stp) | 3D B-rep | CNC machining, quoting | ✅ Preferred | Use AP242 when possible |
| IGES (.igs) | 3D surface | Legacy CNC workflows | ⚠️ Acceptable | Check for surface gaps |
| BREP (.brep) | 3D B-rep | OCCT-based workflows | ✅ Accepted by some platforms | Less common as interchange |
| STL (.stl) | 3D mesh | 3D printing | ❌ Not recommended | Cannot hold CNC tolerances |
| DXF (.dxf) | 2D vector | Laser/plasma/waterjet | ✅ For 2D only | Specify material thickness |
| DWG (.dwg) | 2D/3D | Drafting reference | ⚠️ Convert first | Compatibility issues |
| Parasolid (.x_t) | 3D kernel | Siemens/SW ecosystems | ✅ When compatible | Proprietary; STEP is safer |
| Native (.sldprt, etc.) | 3D parametric | Internal design | ❌ Export first | Version issues |
| G-Code (.nc) | Machine code | CNC execution | N/A (output, not input) | Shop generates this |
STEP AP203 vs AP214 vs AP242: Which Should You Export?
STEP isn’t one format. It has multiple Application Protocols (APs) that define what data gets included. This matters more than most buyers realize.
AP203 was the original mechanical design protocol, developed primarily for aerospace and defense. It handles individual parts and assemblies with design revision tracking, but offers minimal support for non-geometric data like material properties or colors.
AP214 extends AP203 by adding product classification, material properties, and color information. It was developed with the automotive industry in mind. If you’ve ever opened a STEP file and the part had colors, it was likely AP214 or newer.
AP242 is the current standard, merging the strengths of both predecessors. Its most important addition for CNC machining is complete support for Product Manufacturing Information (PMI), which enables Model-Based Definition by embedding machine-readable annotations like GD&T directly in the 3D model. AP242 also offers improved interoperability with CAM software for machined features.
Both AP203 and AP214 have been officially withdrawn by ISO (lifecycle stage 95.99), deprecated with the publication of AP242 in 2014. They still work for basic geometry transfer, but AP242 is where the standard lives now.
Buyer advice: Export AP242 when your CAD software supports it. If it defaults to AP203 or AP214, the geometry transfers fine for basic parts, but you lose PMI data and future-proofing. For a deeper walkthrough, see the STEP AP242 guide and CNC drawing checklist.
What Buyers Need to Provide for CNC Machining
Beyond the file format, a complete CNC order requires several pieces of information. Having these ready prevents delays.
CAD file. STEP AP242 is ideal. IGES and BREP work. Native formats need to be exported first.
2D drawing (if needed). A dimensioned PDF drawing paired with your 3D model communicates tolerances, surface finish callouts, and critical dimensions that the STEP file alone doesn’t specify. Not every part needs one, but anything with tight tolerances or GD&T should have an accompanying drawing.
Material. Steel 1018, aluminum 6061, 304 stainless, Delrin? The material affects price, lead time, and machining approach. If you’re unsure, the quoting platform or shop can advise based on the application.
Quantity. One-off parts cost more per unit than production runs due to fixed setup costs. Know how many you need, and whether you’ll reorder.
Finish. As-machined, anodized, powder coated, bead blasted? Finish affects both appearance and function.
Tolerances. Standard machining tolerance is typically ±0.005 inches (±0.127 mm). Tighter tolerances increase cost. Only specify tight tolerances where the function demands it.
Delivery location. Shipping distance and method affect the all-in price. Understanding what it costs to manufacture a spare part includes freight.
Photos or a sample part. If no CAD exists, these become the starting point for reverse engineering.
What to Do When You Don’t Have a STEP File
Not every buyer has a clean STEP file ready to upload. Here’s what to do in each common scenario.
You have an STL file
Don’t try to convert it to STEP yourself. The resulting file won’t have true mathematical geometry, and tolerances will be meaningless. You need the part reverse engineered from scratch, either from the STL as a visual reference alongside physical measurements, or from the actual part.
You have a DWG or DXF only
If the part is a flat 2D profile (for laser or waterjet cutting), DXF works. For 3D parts, a DWG or DXF alone isn’t enough. You’ll need a solid model rebuilt from the 2D drawing dimensions.
You have a native file (SLDPRT, CATPART, .prt, .ipt)
Open it in your CAD software and export as STEP AP242. Learn how to prepare a CAD drawing for CNC machining before exporting.
You have nothing but a broken part or old paper drawing
This is more common than people think, especially in MRO and maintenance environments with legacy equipment. A reverse-engineering service can recreate the CAD model from photos, physical measurements, or the actual part. FrankWorks offers this, with the reverse-engineering fee credited if you proceed with a manufacturing order.
You have a PDF drawing only
A dimensioned PDF is a good reference document, but it’s not directly machinable. If it’s all you have and the part is simple enough, a shop can potentially model the part from the drawing. For complex geometry, reverse engineering is the more reliable path.
The Tradeoffs Buyers Face
Choosing a file format is one decision in a chain of tradeoffs that affect your final part.
Faster vs. cheaper. A clean STEP file gets you an instant quote. A problematic file format means manual review, slower turnaround, and potentially higher programming costs. Expedited delivery costs more than economy timelines.
Tight tolerance vs. higher cost. Specifying ±0.001" everywhere when ±0.005" would suffice inflates the price. Only call out tight tolerances on functional surfaces.
One-off vs. production quantity. Setup costs are fixed regardless of quantity. One part absorbs the full setup cost. Ten parts spread it across the run. Consider ordering a small buffer for future replacements.
Local machining vs. offshore. Canadian shops eliminate cross-border delays, customs complications, and communication gaps. The per-unit price may be higher than offshore, but the all-in cost (including shipping time, rework risk, and downtime) often favors local. See how FrankWorks compares to other Canadian MRO machining services.
CAD upload vs. manual RFQ. Uploading a STEP file to an automated quoting platform gets you a price and lead time in minutes. Traditional RFQ cycles with back-and-forth emails can take days or weeks. For buyers managing unplanned downtime, the speed difference matters.
Reverse engineering vs. supplying a model. If you have CAD, uploading it is always faster and cheaper. Reverse engineering adds time and cost but is the only path when no digital model exists.
Tips for Exporting CNC-Ready CAD Files
Before you upload, run through this quick checklist:
-
Export as STEP AP242. In SolidWorks, go to File > Save As > .STEP, then select AP242 in the options. In Fusion 360, export as STEP and select the AP242 option.
-
Verify geometry after export. Open the exported file in a neutral viewer like eDrawings or FreeCAD. Look for missing faces, gaps, or unexpected artifacts.
-
Pair the 3D model with a dimensioned 2D PDF. The STEP carries the geometry. The drawing carries the intent: tolerances, surface finish, thread callouts, and critical dimensions.
-
Check your units. A part designed in millimeters but interpreted as inches will be 25.4x the intended size. Confirm your export units match your intent.
-
Remove unnecessary bodies. Delete extra sketches, reference planes, construction geometry, and unused bodies before exporting. Cleaner files process faster.
-
Confirm the file opens. Corrupted exports happen. Open the file yourself before submitting it.
How FrankWorks Handles Your CAD File
FrankWorks accepts STEP, IGES, and BREP uploads. Once you upload a file, the platform checks geometry, shows you a price and lead time, and routes the order to vetted, Canadian-owned machine shops. Pricing is all-in, including shipping, with a two-year workmanship warranty.
For buyers without CAD, FrankWorks offers a reverse-engineering service. Submit photos or a sample part, receive a quote for the engineering work, and if you proceed with manufacturing, the reverse-engineering fee is credited toward your order.
Upload your file for instant pricing or submit photos for reverse engineering.
Frequently Asked Questions
What is the best CAD file format for CNC machining?
STEP (.stp / .step) is the best format for CNC machining. It stores exact B-rep solid geometry that CAM software can use directly for toolpath generation. Use AP242 for the most complete data transfer, including PMI annotations.
Can I use an STL file for CNC machining?
No. STL files store geometry as triangulated meshes, which cannot maintain the dimensional accuracy CNC machining requires. A bore that should be a perfect cylinder is represented as a many-sided polygon in an STL, making precision machining impossible. If STL is all you have, the part needs to be reverse engineered into a proper solid model.
What is the difference between STEP AP203 and AP242?
AP203 handles basic mechanical geometry and assemblies. AP242 includes everything AP203 does plus support for Product Manufacturing Information (PMI), color, material properties, and improved CAM interoperability. AP203 has been officially withdrawn by ISO. AP242 is the current standard and the recommended export option.
Should I send my native SolidWorks or CATIA file to a CNC shop?
Export to STEP AP242 instead. Native files carry version compatibility risks (a SolidWorks 2024 file may not open correctly in older versions) and expose your full parametric design history. STEP transfers the geometry cleanly without these issues.
What should I do if I have no CAD file at all?
If you have a broken part, old paper drawing, or even just photographs, a reverse-engineering service can recreate the CAD model. FrankWorks offers this with the engineering fee credited if you proceed with manufacturing. Submit what you have, whether that’s photos, measurements, or the physical part itself.
Is IGES still acceptable for CNC machining?
IGES is accepted by most CAM systems and CNC shops, but it’s a legacy format last updated in the 1990s. It’s more prone to surface gaps, imported artifacts, and file bloat compared to STEP. Use STEP whenever you have the option.
Do I need a 2D drawing if I already have a STEP file?
Not always. For parts with standard tolerances and no special callouts, a STEP file alone is sufficient. But if your part has critical tolerances, GD&T requirements, surface finish specifications, or thread callouts, pair the STEP with a dimensioned 2D PDF drawing. The 3D model defines the shape; the drawing defines the intent.
What CAD file formats does FrankWorks accept?
FrankWorks accepts STEP, IGES, and BREP files for instant quoting. For buyers without any CAD file, the platform also accepts photos and sample parts through its reverse-engineering service.