Skip to content Skip to footer

CAD file prep for CNC routing: best practices

A CAD file can look perfect on screen and still be poor CNC geometry. The problems usually appear later, when the programmer tries to create toolpaths and discovers open contours, duplicate lines, microscopic radii, undefined pocket depths or geometry that can only be cut with an impractically small tool.

For professional CNC routing, good file preparation is about removing ambiguity before the job reaches CAM. A clean, well-structured CAD file helps reduce programming time, avoid unnecessary tool changes, improve dimensional consistency and make first-off parts more predictable.

It also makes tooling decisions easier. Cutter diameter, cutting length, flute geometry and tool access all depend on the geometry you provide.

CAD is not CAM

CAD should describe what the finished component needs to be. CAM determines how the cutter produces it. Unless your workflow specifically requires otherwise, avoid building unnecessary machining assumptions into the design geometry itself.

Start by designing for a rotating cutter

The first thing to remember is that a CNC router does not cut with an infinitely thin line. The router bit has a physical diameter, a finite cutting length and a limit to how far it can reach without losing stiffness.

A design that ignores those limitations may still be machinable, but it can force the programmer towards smaller cutters, extra operations or longer cycle times than the component really requires.

Allow for internal corner radii

A round cutter cannot produce a perfectly square internal corner. The smallest radius it can leave is determined by the cutter radius.

If a component simply needs an internal corner, designing a suitable radius is normally the simplest solution. Where a square mating component needs to fit into that corner, a deliberate relief such as a dogbone or T-bone can provide the required clearance.

This is particularly important in tab-and-slot assemblies, furniture components and interlocking sheet parts.

Professional design principle

Don’t design around the smallest cutter that could theoretically produce the feature. Design around the largest practical cutter that still gives you the geometry you need.

Larger cutters are generally stiffer, can often be run more efficiently and are less sensitive to deflection. Introducing one tiny detail that requires a much smaller bit can add a tool change and considerable machining time to an otherwise straightforward part.

Use clean, closed geometry

A drawing can look correct visually while containing geometry that causes problems in CAM.

CAM software needs clean mathematical boundaries. A gap that is almost invisible at normal zoom can stop a pocket being recognised. Two identical lines sitting on top of one another can generate duplicate toolpaths.

Before releasing a file, clean the geometry rather than assuming the CAM operator will repair it.

Remove duplicate and overlapping lines

Duplicate vectors can result in repeated cutting moves, confusing contour selection or unnecessary machining time.

They often appear when geometry has been copied, imported from another application or repeatedly edited.

Close intended contours

Profiles and pockets that are supposed to form continuous boundaries should be properly closed.

Small gaps can prevent CAM software from understanding whether the geometry represents a pocket, an external profile or a collection of unrelated lines.

Remove unnecessary construction geometry

Delete or clearly separate anything that isn’t intended to contribute to machining, including unused sketches, abandoned design options and reference lines.

If reference geometry needs to stay in the file, place it on a clearly labelled layer so there is no chance of it being mistaken for cutting geometry.

Simplify excessive nodes

Vector artwork, traced logos and poorly exported curves can contain hundreds or thousands of unnecessary points.

The result can be jerky tool motion, oversized NC files and visible hesitation or faceting in what should be a smooth curve.

Where possible, replace unnecessarily dense geometry with clean lines, arcs and controlled curves.

Check units and scale

Incorrect scaling is one of the simplest CAD problems and potentially one of the most expensive.

Your file should use a known unit system, normally millimetres or inches, and that should be communicated clearly. Never assume the person receiving the file will automatically interpret it correctly.

DXF and SVG workflows in particular can expose differences in how applications interpret units.

A good habit is to reopen the exported file and measure a known feature.

Quick check

If the finished panel should be 500 mm wide, reopen the exported file and make sure it still measures 500 mm before it leaves design.

For customer-supplied geometry, including a clearly identified reference dimension on an accompanying drawing can also help remove doubt.

Choose the right CAD file format

There is no universally correct file format for CNC routing. The best format is the one that preserves the geometry you need and works reliably with the receiving CAM workflow.

File typeCommon CNC useMain things to check
DXF2D profiles, panels, pockets and routing geometryUnits, version compatibility, splines and duplicate vectors
DWGDetailed 2D CAD workflowsSoftware and version compatibility
STEP / STP3D components and solid modelsUseful where true 3D geometry or multiple levels matter
SVGSignage, graphics and simple 2D profilesScale, converted text and excessive nodes
AI / EPSSign and graphics workflowsFont conversion and vector cleanliness
PDFReference drawings and approvalsUsually better as supporting information than primary machining geometry

DXF remains common for straightforward 2D routing because it is widely supported, but that does not make it automatically better than STEP for a genuinely three-dimensional part.

Agree the preferred format with whoever will be programming the job.

Organise layers logically

Layers can make a complex CAD file dramatically quicker to programme if they communicate intent clearly.

For example:

  • PROFILE_OUTSIDE
  • POCKET_6MM
  • POCKET_12MM
  • DRILL_5MM
  • ENGRAVE
  • REFERENCE_DO_NOT_CUT

The naming convention itself is less important than consistency.

Avoid relying on generic names such as Layer 1, Layer 2 or Copy. Those may make sense to the designer who created the file but communicate very little to somebody seeing the job for the first time.

For repeat production work, agree a standard layer convention between design and CNC programming.

Communicate depths and machining intent clearly

A flat CAD file tells the programmer where geometry exists. It does not necessarily explain what should happen to it.

A closed rectangle could represent a through-cut, a 6 mm-deep pocket, a rebate, an engraving boundary or simply reference geometry.

Where your design includes features such as pockets, dados, rebates, engraving, countersinks or partial-depth drilling, make the intended operation and depth explicit.

That might be done using:

  • clearly named layers
  • an accompanying manufacturing drawing
  • annotations or notes
  • a 3D model
  • an agreed internal design convention

The important thing is that the programmer shouldn’t need to guess.

A useful handover test

Could somebody unfamiliar with the project tell the difference between every through-cut, pocket, drilled hole and reference feature without asking the designer?

Prepare text, logos and artwork for machining

Signage, display and decorative work often starts with artwork rather than conventional engineering CAD.

Before sending text or logos into CAM, make sure they have been converted into clean, machinable vectors.

Convert fonts when required

Unless your agreed workflow specifically preserves editable fonts, convert text to outlines or curves before export.

This prevents font substitutions and removes dependency on the receiving computer having exactly the same typeface installed.

But conversion is only the first step. The resulting vectors still need checking.

Look for:

  • open contours
  • overlapping characters
  • self-intersections
  • duplicate vectors
  • very narrow strokes
  • tiny islands or internal details

Check that the detail suits the intended cutter

If a letter contains a 1.5 mm-wide internal channel, a 6 mm router bit cannot machine it.

The solution might be a smaller tool, but that adds a tool change and may slow the entire job.

Where the appearance allows it, simplifying tiny details can make a design much more efficient to produce without noticeably changing the finished result.

Design slots, holes and mating parts for real-world fit

CAD systems encourage exact dimensions. Real materials are less accommodating.

An 18 mm board may not actually measure 18.00 mm. Sheet thickness can vary between products, batches and even across the same board, particularly once coatings or laminates are involved.

If an 18 mm tab is designed to fit an exactly 18 mm slot, the assembly may be too tight before cutter tolerance, material variation and finishing are even considered.

For mating components, think in terms of the fit you require rather than just nominal dimensions.

That might mean:

  • clearance fit for easy assembly
  • snug fit for location
  • interference fit where the process genuinely requires it

Critical fits should normally be proven with test pieces using the actual production material.

Be explicit about hole function

Not every hole needs the same accuracy.

A hole might be:

  • a clearance hole for a bolt
  • a locating hole
  • a dowel hole
  • a decorative opening
  • a feature that will later be reamed or drilled to final size

The function should determine the tolerance and machining approach.

Consider tool access as well as cutter diameter

A feature isn’t automatically easy to machine simply because the cutter fits inside it.

Depth changes the equation.

A narrow pocket that is several times deeper than its width may require a long-reach cutter. Additional tool stick-out reduces stiffness and makes deflection, chatter and poor wall finish more likely.

Before finalising deep geometry, ask whether the feature could be:

  • made slightly wider
  • made shallower
  • approached from another face
  • split across multiple components

A small design change can sometimes remove the need for specialist long-reach tooling entirely.

Tooling principle

The shortest, stiffest practical cutter will normally give you a more stable process than a long tool chosen simply because the CAD geometry demands it.

Identify show faces and material orientation

For wood, plywood, melamine and laminated boards, orientation can directly affect tooling and cutting strategy.

Your handover should identify relevant information such as:

  • which face is visible in the finished product
  • whether both sides require a clean routed edge
  • grain direction
  • veneer direction
  • laminate orientation
  • whether mirrored parts genuinely are interchangeable

This matters because the programmer may choose different tooling depending on the required finish.

For example, a visible top veneer may influence the decision between an upcut and downcut cutter, while a through-cut that needs clean top and bottom faces may be better suited to a compression bit.

Providing this information at CAD stage helps tooling decisions happen deliberately rather than reactively.

Don’t over-specify tolerances

Applying tight tolerances everywhere doesn’t make a routed component more professional.

It often makes it more expensive.

Professional tolerance specification is about identifying which dimensions affect function, assembly or quality and controlling those appropriately.

A locating slot might need close control. A decorative outside profile may not.

Where possible, distinguish between:

  • critical dimensions
  • assembly interfaces
  • locating features
  • cosmetic features
  • non-critical geometry

Tolerance should have a purpose

If a dimension has a tight tolerance, somebody should be able to explain what would stop working if the part fell outside it.

That approach makes inspection more useful as well. Operators know what genuinely needs checking rather than measuring every feature to an unnecessarily tight standard.

Separate part design from nesting

For sheet work, it can be tempting to supply a CAD file with all parts already tightly arranged on the sheet.

Sometimes that is exactly what production needs. Often it isn’t.

CAM nesting may need to account for:

  • actual cutter diameter
  • spacing between parts
  • tabs or bridges
  • onion-skin strategies
  • grain direction
  • vacuum hold-down
  • part stability
  • offcut requirements
  • common-line cutting where appropriate

Unless the nesting itself is a deliberate manufacturing requirement, supplying clean individual component geometry often gives the CNC programmer more flexibility to optimise the sheet.

Agree this with the production team rather than assuming either approach is universally correct.

Use clear file naming and revision control

File naming may not feel like CAD preparation until the wrong revision gets cut.

Production environments accumulate files quickly, so names such as:

panel-final.dxf

followed by:

panel-final-v2.dxf

and eventually:

panel-final-FINAL-new.dxf

create unnecessary risk.

Use a consistent convention that identifies the project, component and revision.

For example:

KITCHEN42_ENDPANEL_EP03_REV-C.dxf

Whether you include dates or other identifiers depends on your workflow. What matters is that the production team can identify the current approved manufacturing file without interpretation.

Superseded files should also be handled deliberately rather than left alongside live production data.

Reopen and inspect the exported file

One of the simplest best practices is also one of the most commonly skipped.

Do not check only the original CAD model. Check the actual file you intend to send.

Export processes can change geometry, particularly when splines, text, units or cross-application compatibility are involved.

Before release:

  1. Reopen the exported DXF, SVG, STEP or other file.
  2. Check the overall scale.
  3. Measure several known dimensions.
  4. Inspect critical curves and arcs.
  5. Check text and logos.
  6. Verify layer names.
  7. Confirm all intended contours are present and closed.
  8. Make sure reference geometry has not accidentally become cutting geometry.

This takes minutes and can prevent a much more expensive mistake later.

CAD-to-CAM pre-flight checklist

Before releasing a drawing or model for CNC routing, run through a final check.

Geometry

  • Intended profiles are closed
  • Duplicate and overlapping vectors have been removed
  • Self-intersections have been corrected
  • Unnecessary construction geometry has been removed or isolated
  • Curves have been simplified where appropriate

Tooling compatibility

  • Internal radii can be produced with realistic router-bit sizes
  • Slots and narrow features allow sensible cutter access
  • Deep features do not demand unnecessary tool reach
  • Fine details justify the smaller tooling they require

Manufacturing information

  • Units are clear
  • Material is identified
  • Actual or expected material thickness is understood
  • Pocket, rebate and engraving depths are defined
  • Show faces are identified
  • Grain, veneer or laminate orientation is shown where relevant
  • Critical tolerances are identified

File handover

  • The agreed file format has been used
  • Layers are clearly named
  • Text has been converted where required
  • Revision status is clear
  • The exported file has been reopened and checked

Before you send the file

Ask one question: could somebody who hasn’t seen this project before understand exactly what needs to be produced without guessing?

If the answer is yes, the CAD handover is probably in good shape.

Common CAD preparation problems

Production problemCAD or file issue to investigate
Toolpath unexpectedly runs twiceDuplicate or overlapping vectors
Pocket toolpath won’t generateOpen contour or self-intersection
Part imports at the wrong sizeUnit or export scaling issue
Mating part won’t sit into an internal cornerCutter radius wasn’t allowed for
CAM becomes unusually slowExcessive nodes or unnecessarily complex vectors
Text changes or disappearsFont wasn’t converted or embedded correctly
Wrong depth gets machinedPocket or machining intent wasn’t communicated
Wrong component revision gets cutWeak naming and revision control
Feature requires an unexpectedly tiny cutterCAD geometry wasn’t designed around practical tooling
Deep feature chatters or finishes poorlyExcessive tool reach required by the design

CAD file preparation FAQs

What is the best CAD file format for CNC routing?

For straightforward 2D profiles and sheet work, DXF is one of the most widely used formats because most CAM systems support it well. STEP is often better for true 3D components because it preserves solid geometry rather than flattening the job into 2D vectors.

SVG and AI/EPS can also be appropriate for signage and graphical work.

The best format is ultimately the one that your receiving CAM system handles reliably, so confirm requirements before building a workflow around a particular file type.

Is DXF better than DWG for CNC routing?

Not necessarily. DXF is widely used for interchange and is often convenient for relatively simple 2D routing geometry. DWG can preserve richer drawing information but may introduce software/version compatibility considerations.

For production workflows, reliability is more important than preference. Use whichever format transfers geometry cleanly into the CAM system you actually use.

Should text be converted to outlines before CNC routing?

Usually, yes, unless your agreed workflow specifically supports live text.

Converting fonts to outlines prevents substitution when a receiving computer doesn’t have the same font installed. After converting, check the resulting vectors for overlaps, open contours and details smaller than your intended cutter can machine.

Why won’t my DXF generate a closed toolpath?

The most common cause is a tiny gap somewhere in the contour, although duplicate vectors, self-intersections and poorly exported spline geometry can also prevent CAM software recognising a closed region.

Zoom in, use your CAD application’s geometry checking tools and make sure the boundary is genuinely continuous rather than simply looking continuous on screen.

How do I remove duplicate lines before CNC routing?

Most professional CAD applications include commands for removing duplicate or overlapping geometry, although the terminology varies between platforms.

It is worth checking imported and customer-supplied files carefully because duplicate vectors can be visually invisible while still generating repeated toolpaths in CAM.

What internal radius should I use for CNC-routed parts?

Use a radius that suits the cutter you realistically expect to use.

A 6 mm-diameter cutter naturally leaves roughly a 3 mm internal radius. If a square mating component must fit into that corner, incorporate deliberate relief such as a dogbone rather than simply specifying an impossible sharp corner.

Where possible, standardise radii around your normal tooling so jobs don’t require unnecessary cutter changes.

How much clearance should I allow for CNC-cut slots and tabs?

There isn’t one universal allowance because the answer depends on material thickness variation, cutter accuracy, machine condition and the type of fit required.

For professional production, measure the actual material, decide whether you need a clearance, snug or interference fit, then test the joint using the production cutter and material before committing to a batch.

Should I include pocket depths in a DXF?

Yes, but because DXF is normally being used as 2D geometry, the depth needs to be communicated separately.

Common methods include naming layers by depth, supplying an annotated manufacturing drawing or including a companion 3D model.

A programmer should never have to infer whether a closed shape represents a 6 mm pocket or a through-cut.

Should parts be nested before sending them for CNC routing?

Only where the nesting arrangement itself is part of the manufacturing requirement.

In many cases it is better to supply clean individual parts and allow the CAM system to nest them according to cutter diameter, material utilisation, grain direction, vacuum hold-down and part stability.

Agree this with the production team.

Why does my DXF import at the wrong size?

This is commonly caused by different software interpreting drawing units differently during export and import.

Always confirm the intended units and reopen the exported file to measure known geometry before releasing it.

Should I send CAD files or CAM toolpaths to a CNC workshop?

Unless you have an agreed workflow with the workshop, sending clean CAD geometry plus clear manufacturing information is generally safer.

CAM toolpaths are dependent on the actual machine, tooling, workholding and post-processor. A toolpath created for one setup may not be appropriate for another.

If a workshop specifically requests CAM or NC files, follow its own file and post-processing requirements.

How should I prepare customer artwork for CNC routing?

Start by cleaning it as vector geometry rather than assuming artwork created for print is ready to machine.

Convert fonts where required, remove duplicate vectors and self-intersections, simplify excessive nodes and check minimum stroke widths against the router-bit diameter you intend to use.

The result should be geometry designed to be cut, not simply artwork that happens to look right on screen.

Conclusion

Good CNC routing starts before the cutter touches the material.

A well-prepared CAD file gives the programmer clean geometry, clear manufacturing intent and enough information to choose practical tooling without repairing or reinterpreting the design first.

The most important principles are straightforward: design around real cutter geometry, keep vectors clean, communicate depths and critical features clearly, check your exported files and remove ambiguity from the handover.

That preparation saves time in CAM, reduces mistakes on the shop floor and makes it much easier to choose the right router bit for the job.