fai_report
Generate an AS9102 Form 3 first-article inspection report from a drawing page's ballooned characteristics, comparing measured values to limits or producing a blank form for inspectors.
Instructions
First-article inspection report for a drawing page, shaped like AS9102 Rev B Form 3.
Each ballooned characteristic becomes a row carrying the AS9102 fields (Char No. / Reference Location / Characteristic Designator / Requirement / Results / Designed-Qualified Tooling / Nonconformance Number / Notes) plus its limits, the suggested measurement method, and a computed status.
results: balloon number -> measured value; each row is then accepted or rejected
against its limits. For a position control you may pass {"x":.., "y":..} and
the diametral deviation 2·√(x²+y²) is used, matching gdt_check. Omit it
entirely to get a BLANK form for the inspector — every row comes back
'not_evaluated', never a silent pass.
path: optionally write the report — .csv (the data), .svg or .pdf (a printable
paginated table).
part / rev: identity stamped into the file; default to the page's part name and
title-block revision.
reference: AS9102 field 6 (Reference Location), e.g. the sheet/zone; defaults to
the view each characteristic is dimensioned on.
THIS IS NOT A CERTIFIED AS9102 SUBMISSION — it reproduces the Form 3 field layout so a real form can be filled from it, and says so on every artifact it writes.
Returns {ok, columns, rows, summary, disclaimer, part, rev, plan_ok, unmeasurable, path?, size?, format?}; ok=False means at least one characteristic measured out of limits.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rev | No | ||
| page | Yes | ||
| part | No | ||
| path | No | ||
| ratio | No | ||
| results | No | ||
| reference | No |