How to Scan Parts for CNC Machine Work in 5 Steps
This guide is for engineers and buyers who need a physical part turned back into a machinable CAD model. We cover scanner choice, surface prep, capture settings, mesh cleanup, and how to validate the result before it reaches a 5-axis machine.

In this article
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
Key takeaways
What it means to scan parts for CNC machine work
Scanning a part for CNC machining means turning a physical object into a digital model accurate enough to program toolpaths from. The output is usually a point cloud or a triangle mesh, later rebuilt into a parametric CAD file. That file then drives a 3-axis, 4-axis, or 5-axis machine.
The job shows up in three common situations. A legacy part has no drawings. A supplier sent a sample you must replicate. Or a worn component needs reverse engineering with new tolerances. In each case the scan is only the middle of the chain, not the end.
Accuracy targets decide everything downstream. A bracket with ±0.2 mm fits on a desktop structured-light scanner. A hydraulic manifold with Ø8 H7 bores and a ±0.005 mm location callout needs contact measurement on a CMM or touch probe. Mixing those two up is the most expensive mistake in this workflow.
We run scans on parts from 5 mm to 4,000 mm long, in aluminum, stainless, titanium, PEEK, and carbon fibre. The material changes the prep, not the sequence. Shiny, dark, or translucent surfaces all need treatment before a light-based scanner can see them.
Pick the scanning technology that fits the tolerance
Three technologies cover most shop work. Structured-light or laser scanners capture millions of points per second across free-form surfaces. Touch probes and CMMs measure a small number of points to very high accuracy. Photogrammetry handles large frames where you need overall geometry, not fine detail.
Use a laser or structured-light scanner when the part has organic curves, deep ribs, or a surface you cannot easily probe. Expect 0.02–0.05 mm volumetric accuracy on a well-prepped part in the 300 mm range. That is enough for housings, covers, and impellers, and not enough for bearing seats.
Use a CMM or touch probe when the drawing controls hole position, bore diameter, or flatness. A bridge CMM with a scanning head holds ±0.002 mm or better on a 500 mm part. It is slower, and it cannot see inside a narrow slot, so most projects combine both methods.
Skip scanning entirely when the part is a simple prismatic shape. If you can measure length, width, height, and hole positions with calipers in ten minutes, modeling from those numbers is faster and cleaner than cleaning a mesh.
- 1Free-form surfacesLaser or structured light, 0.02–0.05 mm
- 2Tight bores and datumsCMM or touch probe, ±0.002 mm
- 3Large frames over 1,000 mmPhotogrammetry plus local scanning
- 4Simple prismatic partsCalipers and hand modeling
Prepare the part and the scan setup
Clean the part first. Oil, coolant residue, and loose corrosion flake off and register as geometry. Wipe with solvent, then let it dry. Loose paint or rust should be removed only if the customer agrees, because the scan should reflect the part as it will be used.
Shiny and dark surfaces defeat light scanners. A thin coat of matte white spray, 5–10 μm, gives a diffuse surface without changing dimensions beyond the scan tolerance. Let it flash off for two to three minutes. On translucent plastics, dust the surface lightly instead of spraying.
Fix the part so it cannot move. A single shift of 0.05 mm mid-scan shows up as a visible step in the mesh. Use a fixture plate, clamps, or clay on a rotary table. If you must flip the part, keep at least three reference targets visible in both orientations.
Place reference targets or coded markers around the part. They let the software align multiple scans and catch drift. Keep markers flat, unobstructed, and spread across the field of view. On a 300 mm part, 8–12 markers is a workable starting point.
Capture the data without blind spots
Set exposure before you start the scan. Overexposed pixels clip highlights and create holes; underexposed frames add noise. On most systems, aim for a histogram that sits in the middle third. Run one test pass and check the point density before committing to a full capture.
Scan in overlapping passes. Each pass should share 30–50% of its field with the previous one. That overlap gives the alignment algorithm enough common geometry. Long, single-direction passes look fast but drift at the far end by 0.1 mm or more on a 500 mm part.
Watch three failure modes. Deep holes and slots lose data because the scanner cannot see the bottom. Thin walls and edges round off because the beam reflects from both sides. Transparent or mirror surfaces return almost nothing. Note those areas for contact measurement later.
Log the scan conditions while you work. Scanner model, accuracy setting, ambient temperature, part temperature, and marker layout all belong in the report. If the CAD model is ever questioned, that log is what lets you defend or redo the measurement.
Clean the mesh and rebuild it as CAD
Raw scan data always carries noise. Remove stray points, close small holes, and decimate the mesh to a workable density. A 20 million triangle mesh will choke most CAD packages. Decimate to 1–2 million triangles for reverse engineering, and keep the full-resolution scan archived.
Do not machine from the mesh. Meshes have no true planes, no cylindrical holes, and no thread data. A CAM system will either refuse to offset the toolpath or produce a faceted surface that fails inspection. The mesh is a reference, not a model.
Rebuild the model with parametric features. Fit planes to flat faces, cylinders to bores, and cones to chamfers. Snap hole centers to the fitted cylinder axis rather than to the mesh surface. For a symmetric part, model one half and mirror it, then check the mirror plane against the scan.
Handle threads, knurls, and text deliberately. Scanners cannot resolve a 1.5 mm pitch thread, so measure the major diameter and pitch with gauges, then model the thread as a cosmetic feature or a note. Engraved text below 1.5 mm character height will not scan; either omit it or state it as an assumption.
Compare the rebuilt CAD to the scan before release. The overlay should show deviation inside your stated tolerance band on controlled features. If the flatness of a mounting face comes back at 0.08 mm on a part that should be flat within 0.02 mm, either the scan drifted or the part is genuinely worn. Both answers matter.
Validate the model before it reaches the machine
Validation is where scan work either holds up or falls apart. Overlay the rebuilt CAD on the original mesh and color-map the deviation. Controlled features should sit inside your tolerance band, typically ±0.05 mm for scanned surfaces and ±0.005 mm for probed bores.
Check the datum structure next. If the drawing calls out datum A as a mounting face, the model must use that face as the primary datum, not a fitted average plane. A 0.03 mm tilt in the datum shifts every downstream hole by a measurable amount.
Verify wall thickness on castings and worn parts. A scanner sees the outer skin, not the internal core shift. On a die-cast housing, wall thickness can vary 0.5 mm from nominal and still look fine on the mesh. Ultrasonic or sectioning confirms the real number.
Finally, cut a first article and inspect it. Machining a test piece from the rebuilt model is the only way to prove the whole chain. On a 5-axis part with 16 simultaneous-axis capability, a first article at ±0.005 mm confirms both the model and the setup.
Step-by-step scan-to-CNC procedure
Follow this order. Skipping a step usually shows up later as a dimensional failure.
- 1Define the tolerance mapList every controlled feature and its callout. Mark which ones need ±0.005 mm and which can live at ±0.2 mm. This decides the measurement method before any hardware is booked.
- 2Clean and dry the partRemove oil, coolant, and loose debris with solvent. Let it dry fully. Weigh the part before and after if material removal is a concern.
- 3Apply matte coating and markersSpray a 5–10 μm matte coat on shiny or dark surfaces. Wait 2–3 minutes. Add 8–12 coded markers spread across the part for a 300 mm scan.
- 4Fixture and referenceClamp the part so it cannot shift. Establish a reference frame from three markers or a datum face. Record the setup in photos.
- 5Run a test passScan a small area at 0.05 mm point spacing. Check for holes, noise, and exposure clipping. Adjust exposure and scanner distance before the full capture.
- 6Capture overlapping passesKeep 30–50% overlap between passes. Cover every accessible face. Note hidden bores and undercuts for CMM follow-up.
- 7Measure critical features by contactProbe bores, datums, and flatness on a CMM. Compare against the scan. A 0.03 mm gap between the two means the scan needs a redo.
- 8Build, overlay, and release CADRebuild parametric features, overlay on the mesh, and confirm deviation inside tolerance. Release the model to CAM with a deviation report attached.
Which scanning method to use for which part
Pick the method by the tightest tolerance on the drawing, not by part size.
| Method | Typical accuracy | Best for | Avoid when |
|---|---|---|---|
| Structured light | 0.02–0.05 mm | Free-form housings, covers, ribs | Mirror or transparent surfaces |
| Laser line scanner | 0.02–0.05 mm | Medium parts, deep pockets | Very shiny or black parts |
| CMM touch probe | ±0.002 mm | Bores, datums, flatness | Free-form surfaces, large parts |
| CMM scanning head | ±0.003 mm | Mixed geometry in one setup | Parts over 1,000 mm |
| Photogrammetry | 0.05–0.1 mm per metre | Large frames and fixtures | Fine detail or small holes |
| Hand measurement | ±0.05 mm | Simple prismatic parts | Curved or organic geometry |
Scan when the geometry is complex, measure when it is critical
Use optical scanning for free-form surfaces and contact probing for tight bores and datums. Combining both gives a model you can actually machine.
Scanning questions engineers ask us
What part sizes can you scan for CNC machining?
We handle parts from roughly 5 mm up to 4,000 mm in the longest dimension. Large frames use photogrammetry plus local scanning; small precision features use a CMM or touch probe.
The practical limit is not the scanner bed but the tolerance. Above 1,000 mm, thermal drift and marker layout dominate the error budget, so we scan in a temperature-stable room.
Can you scan both metal and plastic parts?
Yes. Aluminum, stainless, titanium, copper alloys, and most engineering plastics scan well after surface prep. PEEK, POM, and carbon fibre need a light matte coat because they are dark or slightly translucent.
Soft plastics and elastomers deform under clamping. We scan those unclamped on a bed of soft supports and accept a slightly higher uncertainty on the result.
Do I get the CAD files after scanning?
You receive the rebuilt parametric CAD in STEP or native format, plus the deviation report and the archived point cloud if you want it. The mesh alone is not released as a machining model.
If you only need the scan data for your own modeling, we can deliver the aligned point cloud instead. Say so at the quote stage.
What if the scanned data does not meet my tolerance?
We re-scan with a different method or re-fixture the part. If a feature cannot be captured optically, we probe it on a CMM and use that value in the model.
If the part itself is worn beyond your tolerance, the scan will show it. We flag the deviation and ask whether to model to nominal or to the measured condition.
Can you reverse engineer a worn or damaged legacy part?
Yes, and it is one of the more common jobs. We scan the intact areas, then infer the worn geometry from symmetry, mating parts, or the original function.
Where the wear crosses a critical surface, we model to the nominal design intent rather than the damaged shape. That decision is documented in the deviation report.
Send us the part and the tolerance callouts
We review your scan or your sample, return a DFM analysis within 12 hours, and machine the first article from the rebuilt model.
12-hour quote±0.005 mm100% inspectionNDA on request