How to Send a File to a CNC Machine
This guide is for design engineers and buyers who need to send a file to a CNC machine without losing geometry, tolerances or time. It covers what the machine actually reads, how to prepare the model, which transfer method fits each shop floor, and the mistakes that turn a good part into scrap.

In this article
- 1
- 2
- 3
- 4
- 5
- 6
- 7
Key takeaways: building a clean CNC machine file
What a CNC machine file actually contains
A CNC machine never opens your CAD file. It runs G-code, a list of coordinates, feed rates and spindle speeds. Your job when you send a file to a CNC machine is to hand over a model that a CAM programmer can convert into that G-code without guessing. The cleaner the model, the fewer questions come back and the faster the quote.
The machine file the shop wants is usually STEP (.step or .stp). It stores exact NURBS surfaces, so a hole modeled at Ø8.00 mm stays Ø8.00 mm. STL is a mesh of triangles; a 0.05 mm chord tolerance on a Ø8 mm bore can shift the diameter by 0.04 mm before any tool touches metal.
IGES works for older systems but can drop trimmed surfaces and split a single face into patches. Send IGES only when the shop asks for it. Native SolidWorks, NX or Creo files are useful for DFM review, but the STEP export is what goes to the machine.
2D formats have their place. DXF drives laser cutting and waterjet for sheet parts, and a PDF drawing carries tolerances, finishes and notes that a solid model cannot express. For turned parts, a drawing with GD&T is still the controlling document.
- 1STEP AP214 or AP242Best default for 3-axis, 4-axis and 5-axis milling.
- 2STL only for rough checksAcceptable for a visual quote, not for cutting.
- 3DXF for flat profilesPairs with a PDF drawing for sheet metal.
- 4PDF drawing stays authoritativeWhen model and drawing disagree, the drawing wins.
Preparing the model before you send the CNC machine file
Model at final size, in millimeters or inches, and state which. A part modeled at 0.98× scale to allow for shrinkage makes sense for die casting, not for machining. If you scale a model, say so in the upload notes.
Set the coordinate origin on a real datum: the primary locating face, a dowel hole, or a corner that can be probed. A model floating in space forces the programmer to invent a datum, and that is where ±0.05 mm of stack-up quietly appears.
Check the solid is watertight. Open shells, duplicate faces and zero-thickness slivers cause CAM software to fail or, worse, to patch the gap silently. Run a geometry check in your CAD tool before export. Most shops reject a model with more than a handful of surface errors.
Model the threads, chamfers and fillets you actually want. A cosmetic 0.2 mm fillet on an internal corner may be unmachinable with a Ø6 mm end mill. Leave sharp internal corners if a fillet is not functional, and let the shop decide the tool radius.
- 1One solid per part numberDelete fixtures, clamps and reference geometry.
- 2Units in the file nameBracket-PN4471-RevC-mm.step removes all doubt.
- 3Suppress cosmetic threadsKeep the pilot diameter, note the thread on the drawing.
Tolerances that travel with the file
A bare STEP file has no tolerances. If you send only geometry, the shop assumes a general tolerance, often ±0.1 mm on metal. That is fine for a bracket and wrong for a bearing bore. Put critical dimensions on a drawing or in the upload notes.
GreatLight machines to ±0.005 mm (±0.0002 in) when the feature needs it. The cost sits in inspection and cycle time, not in the cut. Apply tight tolerances to the three or four dimensions that mate with something, and leave the rest at general tolerance.
Surface finish is a separate call. As-machined faces run Ra 1.6–3.2 μm, a fine finish reaches Ra 0.2–0.8 μm. A sealing face or a sliding bore may need the fine range; a mounting face rarely does. State it per surface, not for the whole part.
If the part has to match a certification route, say so at upload. ISO 9001:2015, IATF 16949:2016, ISO 13485:2016 and ISO 27001:2022 coverage changes how inspection records and documents are handled.
- 1Mark critical dimensionsA boxed tolerance or a GD&T callout is enough.
- 2Name the datumA-B-C on the drawing, matching the model origin.
- 3Specify finish per faceRa 0.8 μm on the bore, as-machined elsewhere.
How the file reaches the machine after upload
Once the CNC machine file lands, a CAM programmer builds the setup and toolpaths. For 3-axis work the part may need two or three setups. For a 5-axis center, a single setup can reach five faces and remove most of the repositioning error.
The program is then posted and moved to the control. Some shops run a DNC network straight to the machine; others copy to a USB stick at the console. Either way, the operator proves the program on the first article and checks critical dimensions against the drawing.
This is where a clean file pays off. If the model datum matches the drawing datum, the operator probes once and cuts. If they disagree, the setup is rebuilt and the first article is scrapped. At GreatLight, 100% inspection before shipment covers raw material checks, in-process monitoring and final inspection, with reports on request.
Large parts are not a barrier. The largest travel is 4,000 × 400 × 150 mm, with 16 simultaneous 5-axis machining centers and a Ø400 mm rotary table for round work. If your part fits those envelopes, the transfer method does not change.
- 1First article before the run
- 2One revision at a time
7 steps to send a file to a CNC machine
Follow the order. Skipping step 3 is the most common cause of a re-quote.
- 11. Clean the CAD modelDelete construction geometry, fixtures and unused bodies. Run a geometry check and repair open shells. Confirm the solid is watertight and the wall thickness is above 0.8 mm for aluminum, 1.0 mm for stainless.
- 22. Set units and originWork in millimeters or inches and keep it consistent. Place the origin on the primary datum face or a locating hole. Export at 1:1 scale, no shrink factor.
- 33. Export STEP AP214 or AP242Use the highest surface precision your CAD tool offers. For a Ø8 mm bore, keep chord tolerance at 0.001 mm or tighter. Avoid IGES unless the shop requests it.
- 44. Add the controlling drawingExport a PDF with critical dimensions, GD&T, thread callouts and surface finish. Note material and temper, for example 6061-T6 or 17-4PH. The drawing overrides the model.
- 55. Name the files clearlyUse part number, revision and material: PN4471-RevC-6061-T6.step. Add a short readme for quantity, finish and inspection needs. No spaces in file names.
- 66. Send through the shop channelUse the upload form or a secure link rather than a personal email. Request an NDA first if the design is sensitive. State the quantity from one prototype to 10,000+ parts.
- 77. Review the DFM and confirm the revisionExpect free DFM analysis within 12 hours. Read the flagged features, confirm the revision letter, then release. Production can start within 24 hours of that confirmation.
Choosing how to send the CNC machine file
Pick the method that matches file size, IT policy and how fast the shop needs to start.
| Method | Best for | Watch out for |
|---|---|---|
| Shop upload portal | Most jobs, any size | Confirm the revision you uploaded |
| Secure file link | Large assemblies, 500 MB+ | Set an expiry date and password |
| Email attachment | One small STEP file under 25 MB | Blocked by many corporate filters |
| USB or SD card | Air-gapped machines on site | Version drift when files are edited later |
| DNC network to machine | Repeat production runs | Needs a proven, locked program |
| Cloud folder | Long projects with many revisions | Two engineers editing the same STEP |
The file you send decides the part you get
Send a watertight STEP at final size, name the revision, and put the tight tolerances on a drawing. That combination removes almost every surprise between upload and first article.
Frequently asked questions
Can I send a DXF file to a CNC machine?
Yes, for flat parts. DXF carries 2D profiles and is the normal input for laser cutting, waterjet and some sheet metal work.
For milling or turning, a DXF alone is not enough. Send the STEP solid plus the DXF, and note which faces are machined.
Is STL acceptable for CNC machining?
STL is a mesh, so curved surfaces become facets. A Ø8 mm bore can come out at 7.96 mm depending on the export tolerance.
Use STL for a rough quote or a visual check. Switch to STEP before cutting.
How large a file can I upload?
A single STEP file under 100 MB covers most parts. Assemblies with hundreds of bodies are better sent as a zipped folder or a secure link.
Strip out internal components you do not need machined. It speeds up the DFM review.
What if my CAD software only exports IGES?
IGES is workable. Export with the highest precision setting and check that trimmed surfaces survive.
Expect the shop to rebuild a few faces. Mention it in the upload notes so the programmer knows.
Do you sign an NDA before I upload?
Yes. Uploads are secure and confidential, and an NDA is available on request.
Send the NDA first if your IP policy requires it. We can hold the upload until it is signed.
How fast can a file become a quote?
Quotation and free DFM analysis come back within 12 hours of a complete upload.
Production can start within 24 hours after you confirm the DFM and the revision.
Send your CNC machine file today
Upload a STEP file and drawing for a free DFM review and a quote within 12 hours. No minimum order quantity, from one prototype to 10,000+ parts.
12-hour quote100% inspectionNDA available