Strict board graphics, text, tracks, vias, tables, dimensions, authored
zone fills, and embedded footprints subset of kicad.plotter_ir.a0. Producers
and consumers must run generated semantic validation after structural decoding.
Circle shared by graphical and drill producers. Graphic state requires only
layer. Drill state requires role plus layers; NPTH state additionally
requires all mask and pad-size hints. The generated semantic validator
enforces these mutually exclusive states.
Circular pad flash shared by footprint and PCB producers. Footprint pad
state requires mask_margin_nm and forbids role. Board via state requires
role and forbids mask_margin_nm. The generated semantic validator enforces
these mutually exclusive states.
Custom pad flash shared by footprint and PCB producers. Polygon coordinates
are pad-local. A non-empty polygon_widths_nm has one entry per polygon;
generated semantic validation enforces that relationship. An empty array is
equivalent to omission for generated Rust transport bindings.
Stroke or cached text operation. Boolean marker keys (mirror,
text_as_polygons, polyline_per_segment, knockout) are present-only
-when-true, matching the established Python emitter. Render-cache keys
appear together when an authored cache resolves; render_cache_polygons
carries the exterior rings in nanometres.
Typed render cache from an authored (render_cache ...) form, the Python
resolver, or the deterministic native hinted outline engine. knockout appears when the
knockout background restructure replaced the polygons.
Solid or decomposed segment shared by PCB, footprint, and drill producers.
Graphic state requires only layer. Drill state requires role plus layers;
NPTH drill state additionally requires all mask and pad-size hints. The
generated semantic validator enforces these mutually exclusive states.
One board via record: optional resolved copper aperture, mandatory physical
drill, and per-side mask opening/drill pairs when tenting explicitly exposes
that side. A fully removed annulus is represented by the drill alone.
IPC-4761 fabrication metadata mirrors the established stringified booleans.
One zone fill record bundling every filled_polygon ring. The parallel
fill_layers/fill_island arrays annotate the rings so consumers can
split or colour-key without re-walking the source zone.