Chenfan Electric
EN
Send drawing

ARTICLETechnical article

Geometry Signatures for Core Programs: Detecting Silent CAD-to-CAM Changes

  • Chenfan Power

Release a CAD-to-CAM conversion on the features it preserves. Check the bytes for file identity and compare the manufacturing geometry for hole position, contour and material-frame agreement; each record answers a different release question.

Calculation basis. Numerical demonstrations use editorial assumptions unless a value is expressly attributed to a cited supplier, standard or published study. Dimensions describe the stated model geometry; test results introduced with “assume” or “suppose” are hypothetical inputs. Calculated outputs inherit those conditions.

Compare the CAM representation with the approved features in their intended material and assembly frame. Keep file identity, geometric similarity and manufacturing equivalence as distinct checks in the geometry-signature record below.

Keep the byte digest and the geometry record

NIST’s 2015 Secure Hash Standard describes message digests that detect changes to electronic data with very high probability. That supports hashing the actual approved source file and the actual released output. It does not make a digest a dimensional inspection. [2]

If a timestamp, entity order or formatting changes, the serialized data may change even when the intended shape is preserved. If an incorrect hole location is already present in the approved bytes, a matching digest faithfully preserves the error. Hash equality also is not a mathematical guarantee against every possible collision. Retain the digest as evidence of which data were compared, and retain a separate feature comparison as evidence of what the conversion preserved.

Define the comparison boundary. The nominal part contour, the compensated tool-center path and the eventual cut edge are three different objects. A tool offset should not be mistaken for a silent contour error. Where the released format contains only a tool path, the verification needs the documented compensation interpretation; guessing the nominal boundary from a screenshot is insufficient.

Resolve units and coordinate systems before extracting features

Decode every entity using its documented coordinate frame, normal, elevation and block transformations. Convert the manufacturing features into a common part frame before comparing their positions.

Decode each entity using its specified coordinate frame, including relevant normal, elevation and block transformations. Convert the result into an explicitly named part frame with a fixed datum and physical units. Preserve the rolling-axis and face definitions as manufacturing attributes; an arbitrary best-fit alignment must not silently redefine them.

Record physical units explicitly and challenge the conversion with a known dimension. An unspecified unit field or an importer-specific scale requires resolution before the geometry can be approved.

Choose features that expose the plausible error

A compact signature can begin with contour count, hole count, approved edge lengths, corner angles and hole diameters. These catch many gross changes, but they discard information. Area and perimeter do not identify a shape uniquely. Even a full list of diameters says nothing about where the holes belong.

Add identified hole-center positions relative to functional datums and selected distances between identified features. Keep feature identity in the record: sorting all distances into an anonymous list can allow the wrong holes to exchange roles without an obvious difference. For miters, record the intended edge correspondence and signed orientation where necessary. A reflection policy belongs to the design, not to the numerical alignment routine.

Rigid-motion invariants, such as distance between two hole centers, help separate a coordinate-frame change from an internal geometry change. Datum coordinates then verify that the accepted transformation places the part correctly. Neither replaces the other. A rigidly translated part can preserve every internal distance while being wrong relative to a required assembly datum.

Two nominal core plates with equal area and perimeter but different H2 locations, alongside a geometry comparison card.
Proposed geometry-signature card for hypothetical nominal plates. The lower-left datum is fixed; x points right and y points up. Moving H2 changes its datum ordinate and identified center distance while area, perimeter and hole diameters remain equal. This is a conversion check, not a machining-tolerance specification.

A counterexample with unchanged area and perimeter

Consider two hypothetical nominal plates, each a 120 × 80 mm rectangle with two circular holes of radius 3 mm. In the approved plate, centers H1 and H2 are (20, 20) and (80, 50) mm in the fixed lower-left datum frame. In the converted plate, H1 remains fixed but H2 becomes (80, 30) mm.

Both holes remain entirely inside the rectangle and do not overlap. Therefore both plates have the same net area, 9,600 − 18π = 9,543.451 mm², and the same total boundary length, including the two hole circumferences, 400 + 12π = 437.699 mm. Their outside dimensions, outside corner angles, hole count and diameters also match.

The identified H1-to-H2 distance changes from √(60² + 30²) = 67.082 mm to √(60² + 10²) = 60.828 mm. The datum-based H2 ordinate changes by −20 mm. These two checks expose the defect that the aggregate checks miss. The diagram represents nominal geometry; none of these values is a measured manufacturing result or an acceptance tolerance.

For comparison, applying the known rigid mapping x′ = −y + 200, y′ = x + 10 to the approved plate gives H1′ = (180, 30) and H2′ = (150, 90) mm. Their separation remains 67.082 mm. Applying the documented inverse restores the original feature positions. That establishes geometric preservation under this mapping; whether this placement is permitted for cutting still depends on the approved material frame and process route.

Release a comparison with explicit coverage

For each feature, record the source value, converted value, coordinate transformation, allowable difference and comparison result. Distinguish numerical extraction tolerance from the drawing’s physical tolerance. If the computation cannot resolve a feature more tightly than its acceptance interval, report that limitation instead of rounding both values until they agree.

A compact signature is a screening control. Features omitted from it remain untested, so a matching card cannot prove complete geometric equivalence. Where completeness matters, compare all relevant curves and feature relationships in the common frame, with a documented distance metric and treatment of arcs, splines and approximations. Validate the checker using deliberately altered units, shifted holes and missing entities, alongside a legitimate frame-change case.

Keep the checked files, nominal-object definition, authorized transformation and covered features in the release record. A reviewer can then reconstruct the conversion decision and trace each accepted feature to its approved geometry.

Add a material check to the geometry signature

Nippon Steel lists 23ZH90 at a nominal steel thickness of 0.23 mm and an assumed density of 7.65 kg/dm³. [1] Using the assumed two-hole plate above, its calculated net area is 9,543.451 mm². Nominal steel mass is area × 0.23 mm × 7.65 × 10⁻⁶ kg/mm³ = 0.0167917 kg. Both hole arrangements have that same mass. The 20 mm hole-location change remains invisible to both area and mass, even though the identified centre-distance check detects it. Retain positional features in the release signature; adding another aggregate does not repair missing geometric coverage.

Manufacturing controls. Control units, material-axis mapping, contour compensation, hole coordinates and export precision. The manufacturing review should compare those features before a material-quantity check is credited.

IEC 60404-8-7 covers supplied grain-oriented electrical-steel magnetic and geometric characteristics. Carry the approved supplied grade and dimensional basis into this manufacturing record. [3]

References

[1] Nippon Steel Corporation, Grain-Oriented Electrical Steel Sheets, undated, specification tables and annealing compatibility.

[2] National Institute of Standards and Technology, FIPS PUB 180-4, Secure Hash Standard, 2015.

[3] IEC, IEC 60404-8-7:2020, Magnetic materials — Part 8-7: Specifications for individual materials — Cold-rolled grain-oriented electrical steel strip and sheet delivered in the fully-processed state.

Chenfan Electric

Direct coordination

Start a conversation.

A drawing, a material requirement, or a project to discuss.

Send drawing