add_gdt_callout
Place an ASME Y14.5 feature control frame on a drawing page to make geometric tolerances inspectable, so inspection plans and FAI reports read them as characteristics.
Instructions
Place a GD&T feature control frame on a drawing page.
Declaring geometric tolerance ON THE DRAWING (rather than only checking a measurement with gdt_check) is what makes it inspectable: the frame renders as a real compartmented symbol, and inspection_plan / fai_report read it back as a characteristic with its own balloon and measurement method.
control: an ASME Y14.5 geometric characteristic — the same vocabulary gdt_check
accepts: flatness, straightness, circularity, cylindricity, profile_line,
profile_surface, perpendicularity, parallelism, angularity, position,
concentricity, runout, total_runout.
zone: tolerance zone in mm (rendered with a Ø for the diametral controls —
position, concentricity, circularity, cylindricity).
datums: the ordered datum reference frame, e.g. ["A", "B", "C"]. A control with
datums is CMM work; a datum-free form control is surface-plate work, and the
inspection plan picks the instrument accordingly.
feature: optionally the enumerated feature id (drawing_gate's
enumerated_features) the frame controls.
mmc_bonus: material-condition bonus tolerance carried into inspection, mm.
modifier: free text printed in the tolerance compartment (e.g. "Ⓜ").
x / y: page position in mm (origin bottom-left, +Y up, like add_annotation).
Returns {handle, name, control, zone, datums, text}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | ||
| y | No | ||
| name | No | Fcf | |
| page | Yes | ||
| view | No | ||
| zone | Yes | ||
| datums | No | ||
| control | Yes | ||
| feature | No | ||
| modifier | No | ||
| mmc_bonus | No |