GreatLight CNC Machining Factory logo
CNC Machining
Rapid Prototyping
Materials
Industries
News
About GL

Get Instant Quote

File formats for machining

Do CNC Machines Use STL?

Short answer: not directly. An STL file is a tessellated surface mesh, and a CNC control reads G-code toolpaths, not triangles. Below we explain how STL fits into a real machining workflow, where it costs you money, and which format to send when the part actually has to be cut.

STL vs STEPMesh to G-code±0.005 mm toleranceNo minimum order quantity
do cnc machines use stl
Mechanism

What an STL File Actually Contains

An STL file stores one thing: a triangle mesh that approximates the outer surface of a solid. There are no units, no datums, no feature names, no thread callouts, no tolerances. Just a list of vertices and normals. Two files can describe the same bracket and differ by a factor of 25.4, and nothing inside either file tells you which one is right.

That is fine for a slicer, because 3D printing is a surface-driven process. The machine deposits material along a path derived from the mesh. A CNC machine is different. The cutting tool follows a commanded path in machine coordinates, referenced to a work origin, with a defined tool diameter and a stock allowance. Between the mesh and the motion there is a whole preparation step.

So the honest answer to "do CNC machines use STL" is that the machine never sees it. A CAM programmer reads the file, converts the geometry into toolpaths, posts G-code, and the control executes that. The STL is an input to software, not to hardware. Any claim that a mill or lathe consumes STL natively is describing the front end of a CAM chain, not the machine.

Conversion

How an STL Becomes Toolpaths

CAM software can import an STL, but it treats the model as dumb geometry. Feature recognition fails, so every pocket, hole, fillet and chamfer has to be rebuilt or selected manually. On a part with twenty holes that is an afternoon. On the same part supplied as STEP, the holes arrive as cylinders with axes and diameters, and the programmer assigns drill cycles in minutes.

Chord tolerance is the second problem. A curved surface exported at a coarse setting becomes a faceted shell, and the CAM system cuts the facets. The tool leaves visible steps. Tighten the export and the file grows fast, which slows regeneration and can crash older CAM seats. You are paying for tessellation you never wanted.

Watertightness matters too. Slicers repair small gaps on the fly. CAM usually will not. A mesh with flipped normals or open edges produces toolpaths that plunge through the part or skip a face entirely. Repair tools exist, but every repair is time on a quote you are waiting for.

Once the geometry is clean, the normal CAM chain applies. Roughing clears the bulk with a 12–20 mm end mill, semi-finishing follows, then finishing with a 6 mm or 3 mm cutter at Ra 0.8–1.6 μm. Toolpath tolerances start around 0.01 mm and tighten for the finishing pass. None of those numbers come from the STL. They come from the shop's process plan.

When it works

When an STL Is Still the Right File

There are real cases where STL is the practical choice. If the part is an organic, sculpted shape with no prismatic features, the CAD kernel behind it may already be mesh-based. Sending the mesh avoids a lossy conversion to a solid that CAM then has to reverse. Lattice and topology-optimized geometries often fall into this group.

STL is also fine for an early feasibility check. A shop can slice the mesh, look at wall thickness and tool access, and tell you whether a 3 mm cutter reaches the internal corner before you commit to a full DFM report. That is a rough check, not a production definition.

A third case: the part is being 3D printed first and machined later. The same mesh drives the printer, and the machined version gets its own solid model. Keeping the two separate avoids the trap of machining a print file that was never dimensioned.

Outside those cases, the mesh path costs time. For a bracket, a housing, a manifold or a shaft, the features are the part. Strip them out and you have handed the shop a modeling job plus a machining job, and only one of those was quoted.

Consequences

What the Wrong Format Costs You

The first cost is time in the quote queue. A STEP file with clean features usually returns a quotation and DFM analysis within 12 hours. A dense, repaired mesh takes longer because someone has to rebuild reference geometry before a price means anything.

The second cost is dimensional risk. If the mesh has no units, a programmer who assumes millimeters on a part designed in inches gets a scale error of 25.4×. That is not a subtle failure. It shows up as a scrapped blank and a lost week.

The third cost is tolerance drift on curved surfaces. A faceted boss machined to the mesh will measure smaller than the nominal cylinder. On a press fit that is a rejected assembly. On a cosmetic cover it may never be noticed until the customer runs a CMM check.

For regulated work the format question is not optional. Aerospace, automotive and medical programs need traceable dimensions that match the drawing. A mesh cannot carry that. This is one reason our shops work from STEP or native CAD, inspect 100% before shipment, and hold ISO 9001:2015, IATF 16949:2016, ISO 13485:2016 and ISO 27001:2022.

Practical

How to Prepare Files for a CNC Quote

Export STEP (AP214) from your CAD system and include the drawing or a PDF with critical dimensions, datums and GD&T. If a feature is cosmetic, say so. If a hole is a press fit, call out the tolerance. Those notes remove assumptions before the programmer makes them.

If you only have an STL, send it plus the original CAD if any exists. Add a note on units and the intended function of each critical face. A programmer can rebuild the solid faster when the intent is clear, and the quote will be closer to final.

Keep the model at nominal size with sharp corners. Do not pre-apply chamfers for tool radius or add draft for machining. The shop decides cutter compensation. Pre-modified geometry hides intent and makes the DFM review argue with your model instead of your design.

For assemblies, send the individual parts, not just the assembly. A shop quoting a single machined component needs the component's own coordinate system. Also state the material from our stocked list, such as 6061-T6, 304 stainless, 17-4PH or Ti-6Al-4V, because machinability changes the process plan and the price.

Format choice

STL vs STEP for CNC Machining

Use this to decide what to upload.

AspectSTLSTEP (AP203/214)
Geometry typeTriangle mesh, surface onlyExact B-rep solids and surfaces
UnitsNot stored in the fileStored and unambiguous
Feature dataNoneCylinders, planes, axes, radii
Tolerance and GD&TCannot be embeddedPart of the CAD definition
CAM programming timeHigh, manual reconstructionLow, features recognized
Curved surfacesFaceted, chord errorMathematically exact
WatertightnessOften needs repairSolid model closes by definition
Best use3D printing, visual reviewCNC milling, turning, inspection

The Verdict

If the part will be machined, send STEP or native CAD. Use STL only for 3D printing, visual review, or an organic mesh that has no prismatic features to lose.

FAQs

Frequently Asked Questions

Can a machinist convert my STL to G-code without a CAD model?

Yes, through CAM software that imports meshes. The programmer works on the triangle shell, rebuilds features manually and generates toolpaths. It is possible on simple parts and slow on complex ones.

Expect extra quoting time and a risk of interpretation errors, because the mesh does not state which dimensions are critical.

Do CNC machines use STL files in any direct way?

No. The machine control reads G-code or a similar motion program. STL is consumed upstream by CAM software during programming.

Some hybrid machines support on-machine probing and adaptive routines, but those still run from toolpaths, not from a mesh file.

Will my STL part come out dimensionally accurate?

The cut can be accurate to ±0.005 mm on the toolpath. The problem is that the toolpath follows the mesh, and a coarse mesh is not the nominal surface.

Curved faces milled to a faceted shell measure undersize. A tight export reduces the error but never removes it entirely.

What file formats does GreatLight accept?

STEP, IGES, native SolidWorks, and DXF for sheet metal, plus PDF drawings with critical dimensions. STL is accepted for review or for 3D printing quotes.

Uploads stay confidential, and we can sign an NDA before you send production data.

Does the format change the price?

Indirectly, yes. Clean solid geometry takes less programming time, so the quote reflects fewer engineering hours.

Material, tolerance and surface finish drive most of the cost. Format affects the preparation portion, not the cutting rate.

Can I send an STL and ask for a STEP back?

We can reverse-model a solid from a mesh when the geometry is machinable and the intent is clear. It is a paid engineering step.

For parts with tight tolerances or regulated end use, it is usually faster for you to export STEP from the original CAD system.

Send the Right File, Get a Real Number

Upload STEP or native CAD and get a quotation with free DFM analysis within 12 hours. No minimum order quantity, from one prototype to 10,000+ parts.

12-hour quote100% inspectionNDA on request

Follow

More machining notes

We publish setup notes, tooling trials and inspection data from the factory floor.

FacebookTikTokYouTubeLinkedInInstagramThreadsPinterest

Trusted by engineers and manufacturers worldwide

Tesla Ford Motor Company BYD Auto Denso Magna International Boeing Airbus Medtronic KUKA FANUC