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

Get Instant Quote

CNC outline tracing

How to Trace Outline of an Object Using CNC Machine

This guide is for engineers and shop programmers who need to copy an existing profile, a worn part or a hand-made sample into a machinable outline. It covers probing and scanning, CAD cleanup, cutter compensation and the tolerance checks that decide whether the traced profile is good enough to cut.

±0.005 mm capability16 five-axis centersNo minimum order12-hour DFM reply
how to trace outline of an object using cnc machine
Quick answer

Key takeaways

A probe gives points, not an outlineContact probing returns coordinates, and you still need CAD work to turn them into a continuous profile.
Offset the tool, not the partCut the traced curve with cutter compensation so the finished edge matches the original.
Two passes beat oneRough at 0.3–0.5 mm stock, then finish at 0.1–0.15 mm radial depth with a smaller cutter.
Datums decide accuracyA traced profile is only as good as the datum you clamp and probe against.
Scanning pays off on freeform edgesOrganic curves and worn surfaces are faster to scan than to probe point by point.
Basics

What it means to trace outline using CNC machine control

Tracing an outline means capturing the real edge of a physical object and reproducing it as a machined profile. The object might be a broken bracket with no drawing, a hand-finished sample, a worn gear tooth or a casting whose as-cast edge drifted. The CNC machine is the measuring device and the cutting device in the same setup.

On a machining center, tracing usually starts with a spindle-mounted touch probe or a laser line scanner. The probe touches the edge at defined intervals and records X, Y and Z coordinates. A laser scanner sweeps the surface and returns a dense point cloud instead. Both routes end in the same place: a curve in CAD that a CAM system can offset and cut.

The key distinction is that the machine never copies a shape directly. It records coordinates, and software rebuilds the geometry. How you rebuild it decides the final accuracy far more than the probe resolution does.

This matters most when there is no usable drawing. Reverse engineering a legacy part, matching a weld fixture to an existing panel, or duplicating a discontinued profile all depend on a traced outline that is clean enough to machine.

  • 1
    Probe routeDiscrete points, typically 0.2–1.0 mm spacing on curves, best on hard and metallic edges.
  • 2
    Scanner routeDense point clouds, best on freeform and soft surfaces that a stylus would deflect.
  • 3
    Hybrid routeScan the freeform areas, probe the critical edges and hole centers.
Preparation

Prepare the object and datums before tracing

Clean the edge first. Burrs, paint, rust and weld spatter all read as part geometry. A 0.1 mm burr on a traced edge becomes a 0.1 mm error in the profile, and it will show up on every part cut from that curve.

Choose datums that exist on the finished part. If the traced object will be clamped in a fixture later, probe the same faces the fixture locates on. A profile measured from an arbitrary corner is hard to reproduce on the next setup.

Mount the object so the traced edge is reachable in one orientation if possible. Repositioning mid-trace introduces stack-up error between setups. When the part must be flipped, add at least three common reference features that appear in both orientations.

Record the probe stylus diameter and the scanner standoff. These values change the apparent edge position, and you need them when you convert measured points into the true part surface.

  • 1
    Deburr firstRemove raised material before any point is taken.
  • 2
    Same datums as productionProbe the faces your fixture will locate on.
  • 3
    Single setup preferredFewer flips means less alignment error.
CAD work

Turn measured points into a machinable curve

Raw points are noisy. A typical probed edge shows 0.01–0.05 mm of scatter from surface finish and probe trigger variation. Fitting a spline through every point locks that noise into the geometry, so filter first.

Fit lines to straight sections, arcs to constant-radius sections, and splines only to genuine freeform runs. A worn edge that was originally a 40 mm radius should be reconstructed as an arc, not as 300 spline points. This single decision often changes the profile by more than the probe tolerance.

Close the curve and check for self-intersections before generating a toolpath. A curve that crosses itself produces gouges and unexpected retracts. Most CAM systems will warn, but not all will stop.

Finally, compare the fitted curve back against the point cloud. If the maximum deviation exceeds your target, loosen the fit or split the curve into more segments. On a profile held to ±0.05 mm, a 0.03 mm fit deviation eats most of the budget.

  • 1
    Filter before fittingA 0.02 mm smoothing pass removes probe scatter.
  • 2
    Use arcs where arcs existReconstructed radii cut faster and inspect easier.
  • 3
    Verify the fitCheck max deviation from the point cloud before cutting.
Accuracy

Where the error comes from in a traced profile

Probe trigger variation is the first source. A typical touch probe repeats within 0.005–0.01 mm, but only if the stylus is rigid and the approach direction is consistent. Mixed approach directions on the same edge add error.

Stylus radius compensation is the second. The probe reports the position of the stylus center, not the contact point. On a convex edge this shifts the measured profile outward by the stylus radius; on a concave edge it shifts inward. CAM software can compensate, but only if you tell it the correct stylus diameter.

Fit error is the third and usually the largest. A spline that passes through noisy points will oscillate between them. On a 200 mm long profile, a loose fit can swing 0.08 mm even when every measured point is good.

Machine and setup error is the last piece. Thermal growth on a long cycle, fixture deflection and tool runout all add to the final deviation. On aluminium parts held to ±0.05 mm, keeping the shop within ±2 °C removes most of the thermal contribution.

  • 1
    Consistent approachProbe each edge from one direction where possible.
  • 2
    Compensate stylus radiusEnter the true stylus diameter, not the nominal value.
  • 3
    Control temperature±2 °C covers most ±0.05 mm profile work.
Boundaries

When tracing is the wrong choice

Tracing copies errors as well as geometry. If the sample is worn, bent or corroded, the traced outline inherits that damage. A gear tooth flank worn by 0.15 mm will be reproduced at 0.15 mm unless you reconstruct the original theoretical profile instead.

If a usable drawing or CAD model exists, use it. Tracing adds measurement uncertainty on top of machining uncertainty, and the two stack. A part held to ±0.02 mm is usually better cut from the nominal model than from a traced curve.

Very thin or flexible parts are also poor candidates. A 0.8 mm sheet panel deflects under probe contact, so the measured profile reflects the probing force, not the free shape. Support the part from behind or switch to a non-contact scanner.

Internal features add another limit. Deep bores and undercuts cannot be reached by a straight stylus, and a scanner will not see into them. For those areas, measure with a CMM and combine the data with the traced outer profile.

  • 1
    Worn samplesReconstruct theoretical geometry instead of copying the wear.
  • 2
    Drawing availableUse the model; tracing only adds uncertainty.
  • 3
    Flexible partsUse non-contact scanning or back the part with support.
Procedure

Step by step: trace outline using CNC machine workflow

  • 1
    1. Clean and mount the objectDeburr all traced edges, then clamp the part on a fixture plate. Keep overhang under 3× the part thickness so vibration does not move the edge during probing.
  • 2
    2. Establish datums and zeroProbe the primary face, then two edges for X and Y. Set work offset to the same corner your CAM file uses. Record the values; a datum shift of 0.05 mm shows up directly in the profile.
  • 3
    3. Probe or scan the outlineUse 0.2–0.5 mm point spacing on curves and 2–5 mm on straights. Keep probe feed at 100–300 mm/min. With a laser scanner, hold 50–80 mm standoff and overlap passes by 30%.
  • 4
    4. Export and clean the point dataRemove outlier points beyond 0.1 mm from the local trend, then export as a neutral format such as .igs or .step. Delete duplicate points to keep the spline stable.
  • 5
    5. Rebuild geometry in CADFit lines, arcs and splines to the cleaned points. Close the profile and check for self-intersections. Compare the fitted curve to the cloud and keep max deviation under one third of the profile tolerance.
  • 6
    6. Set cutter compensationProgram the profile on the part edge and apply G41 or G42 with the actual cutter radius. For a Ø6 mm end mill cutting an external profile, compensation shifts the path 3 mm outward.
  • 7
    7. Rough and finishRough with 0.3–0.5 mm radial stock. Finish with 0.1–0.15 mm radial depth of cut, 0.05–0.1 mm feed per tooth and 8,000–12,000 rpm on aluminium. Climb mill the finish pass.
  • 8
    8. Inspect against the originalProbe the finished edge and compare to the traced cloud. Document the maximum deviation. If it exceeds tolerance, check compensation direction before touching the geometry.
Method choice

Probing vs scanning vs manual tracing

MethodBest forTypical accuracyWatch out for
Touch probeHard edges, holes, datums±0.01–0.03 mmSlow on freeform surfaces
Laser scannerFreeform and soft parts±0.02–0.05 mmReflective or dark finishes
Optical comparatorSmall flat parts, 2D only±0.005 mm on 2DNo depth information
Manual height gaugeSimple one-off checks±0.05 mmOperator-dependent, slow
CMM offlineComplex parts, full report±0.003 mmPart must leave the machine

Decide before you probe

If a drawing exists, cut from the model. If it does not, probe the datums first, rebuild the curve with arcs and lines, and set cutter compensation before the first cut.

FAQs

Frequently asked questions

What does it mean to trace the outline of an object in CNC machining?

It means measuring the real edge of a physical object with a probe or scanner and rebuilding that edge as a CAD curve. The CNC machine then cuts new parts to that curve.

The machine does not copy the shape directly. It records coordinates, and the CAD and CAM steps decide the final profile.

Can all CNC machines trace complex outlines?

Any machine with a spindle probe or a scanner mount can collect points. The limit is reach, not the control.

Complex 3D outlines usually need 4-axis or 5-axis motion so the probe or cutter can follow the surface without repositioning the part. A 3-axis machine handles flat 2D profiles well but struggles with undercuts.

What is the best tool for tight-tolerance outlines?

For edges held to ±0.02 mm, a touch probe on the machine plus a CMM check is the practical route. Probe repeatability is typically 0.005–0.01 mm.

For freeform surfaces, a laser scanner is faster but less accurate at the edge, so many shops scan the surface and probe the critical edges separately.

Is 5-axis machining necessary for outline tracing?

No, for flat profiles a 3-axis machine with a probe is enough.

Five-axis becomes useful when the outline wraps around the part, when the traced surface is not normal to the spindle, or when you want to probe and cut in one setup. GreatLight runs 16 simultaneous 5-axis centers for those cases.

How do you check a traced profile after machining?

Probe the finished edge and compare it to the original point cloud or the fitted curve. Report the maximum deviation, not the average.

If the deviation is a consistent offset, check cutter compensation direction first. If it varies along the profile, the CAD fit is the likely cause.

What tolerance can a traced and machined profile realistically hold?

A practical target is ±0.05 mm for a traced profile on a rigid part, and ±0.1 mm on larger or thinner parts.

GreatLight machines to ±0.005 mm on the cutting side, so the traced profile tolerance is usually set by the measurement step, not by the machining step.

Send us your sample data and get a quote

Upload your probe points, scan data or sample photos. We reply with a quotation and a free DFM analysis within 12 hours, and production can start within 24 hours.

12-hour quote100% inspection±0.005 mmNo minimum order

Follow us

More CNC process 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