Back to resources
Guide6 min read · Nov 15, 2026

Datum reference frames on a 3D scan: building A | B | C from measured features

A best-fit alignment makes a good colour map and a poor datum frame. How a datum reference frame is built from the measured datum features of a scan, why one frame must serve position, coordinates and profile, and what should happen when a datum cannot be established.

An alignment is not a datum frame

Bringing a scan onto the CAD model with a best-fit alignment spreads the deviation evenly over the whole surface. That is what a colour map wants. A position callout wants something else: the location of a hole relative to datums A, B and C, the three features the designer chose because the part is mounted on them. A hole can sit well inside its position tolerance in the datum frame and look displaced in a best-fit, or the other way round.

So a scan-based inspection needs two things at once: an alignment that brings the scan close to the model, and a datum reference frame built from the datum features as they were measured on this part.

Building the frame from measured features

The frame follows the precedence the feature control frame states. The primary datum — usually a plane — removes three degrees of freedom: two rotations and one translation. The secondary removes two more, the tertiary the last one. In Ai-Inspect a datum letter is assigned to a measured element: a plane, a cylinder, a circle, a slot or a point, with custom names such as B1 where the drawing uses them. The frame is then built from those measured elements, the way a CMM program builds it from probed features.

  • Primary plane: the direction of one axis and the origin along it
  • Secondary axis or plane: the rotation about the primary direction
  • Tertiary feature: the remaining origin
  • A cylinder or a circle as a datum contributes its axis or centre

Refine-to-Datums and RPS

Two tools tie the alignment itself to the drawing. Refine-to-Datums corrects the alignment onto the datum frame before any tolerance is judged — the same correction a CMM operator makes after probing the datums. RPS alignment covers drawings that locate the part by reference points: each constraint fixes chosen axes at a feature, a picked point or a typed coordinate, and the RPS manager shows the residual of every constraint per axis, so a constraint that does not fit the others is visible before the alignment is used.

One frame for position, coordinates and profile

A report often shows the same hole three times: its true position, its X and Y coordinates, and a profile of the surface around it. If each of those rows were computed in a slightly different frame, the report would contradict itself. Ai-Inspect builds the datum frame in one place and every consumer reads it — the position deviation, the coordinate rows and a profile with datums all use the frame built from the same measured datums. A position reported in the datum frame therefore agrees with the same position measured in a coordinate system built from those datums.

When a datum cannot be established

On a real scan a datum sometimes fails: the datum face was not covered, the fit is contaminated by a neighbouring surface, or the measured patch is too short to fix a direction. The correct outcome is a refusal with the reason. The rows that depend on that datum become N/A — they are not evaluated in the alignment frame instead, because that would report a number in a frame the drawing did not ask for.

After a program run the Measurement Copilot puts datums first: for each open letter it shows a closed set of candidate faces the engine can prove on the scan, the operator picks one, and the dependent rows are measured again through the same engine.

Datums in recorded programs and DMIS

Datum assignments are recorded steps. They survive a switch between stored coordinate systems and replay on the next scan, where the frame is rebuilt from that part's measured datums. A DMIS program brings its own datum definitions; before it runs, a frame-registration gate checks that the program's frame lands on the CAD model, and a frame that cannot be verified is flagged for confirmation.

Questions this article answers

No. Position is defined relative to the datums of the feature control frame. The best-fit brings the scan to the model; the tolerance is judged in the frame built from the measured datum features.

Yes. Planes, cylinders, circles, slots and points can carry a datum letter, and the frame uses the axis, centre or mid-plane the feature provides.

The datum frame each GD&T row was evaluated in and the status of the row. A row whose datum failed is printed as N/A with the reason.

See it on your own parts

Bring a drawing, a CAD model and a scan — we will run the inspection with you in a guided demo.

Request a demo