Expand description
Board-level plotter IR producer over selected PCB families.
Mirrors the Python pcb_to_ir gr_*/segment/track_arc/via/zone record
subset: layerless graphic-state operations, per-category record ordering,
PCB stroke widths without the footprint pen-width clamps, dash/dot
decomposition parity, reversed track-arc endpoints, via aperture/
drill/mask-hint operation sequences, zone fill rings, and project
sidecar net-class extras.
Structs§
- Board
Bounds Limits - Ignored ceilings, defaulting to
usize::MAX: KiCad reads and plots boards and footprints without them (#612). Request hosts still pass caller values. - Board
Dimension Record - One
(dimension ...)record in Python text-before-shape order. - Board
Footprint Block - One grouping marker surrounding a pad flash or its independently grouped drill operation.
- Board
Footprint Block Attributes - Closed string-valued block attributes. Python’s
start_blockhelper stringifies every retained value and drops empty values. - Board
Footprint Child Attributes - Closed, typed child attributes serialized under
extra_attrs. - Board
Footprint Child Metadata - Canonical ownership metadata attached to one embedded-footprint child operation by the established Python producer.
- Board
Footprint Placement - Board-local placement carried separately from footprint-local operations.
- Board
Footprint Record - One PCB-embedded footprint record in canonical child-family order.
- Board
Graphic Record - One board-level graphic record; the carrier layer travels on the record.
- Board
Import Facts - Source-bound import observations. This is a Rust operation result, not a plot document or saved carrier. Ordinary plots keep their complete output.
- Board
NetClass Assignments - Exact net-name to net-class assignments from the project sidecar.
- Board
NetClass Extras - Python
_with_net_class_extras: optional exact-match sidecar classes. - Board
PadFlash Fact - An affected authored pad’s actual plot-block admission, without its drawing.
Noneis missing, not an inferred empty copper set. The separate suppression observation lets a consumer retain its existing qualified NPTH exception. - Board
Plot Build Profile - Opt-in successful-build timings for board Plotter-IR production.
- Board
Plot Document - Typed facts needed to serialize the promoted board plotter subset.
- Board
Plot Facts - Source-bound board plot facts used by downstream presentation.
- Board
Plot Facts Build Profile - Board
Plot Limits - Ignored ceilings, defaulting to
usize::MAX: KiCad reads and plots boards and footprints without them (#612). Request hosts still pass caller values. - Board
Plot Source Artifact - One atomic source-model document/facts pair. Construction is core-owned so facts from a different board cannot be paired with the document.
- Board
Render Facts - Complete source-layer facts required by truthful presentation filtering.
- Board
Segment Record - One
(segment ...)track record; Python emits exactly one thick segment. - Board
Table Record - One
(table ...)record with its source cell count and participating layers. - Board
Text BoxRecord - One
gr_text_boxrecord with its border extra. - Board
Text Operation - One
Textoperation payload. Ordinarygr_textremains black; the text-box source model can carry an RGBA font color. - Board
Text Record - One
gr_textrecord; Python board text never hides, so records carry a constanthide: falseextra at serialization time. - Board
Text Render Cache - Attached authored or native-generated render-cache facts.
- Board
Text Variables - Case-expanded
${NAME}variables mirroring Pythonkicad_text_variables.normalize_text_variables. - Board
Track ArcRecord - One
(arc ...)routing record; the Python serializer reverses the file-order endpoints so the arc plots end-to-start. - Board
ViaFabrication - Front/back optional fabrication metadata mirrored from the via carrier.
- Board
ViaFlash Fact - An affected via’s resolved aperture layers; empty is an actual drill-only result.
- Board
ViaOperation - One via operation; flashes and drills share the circular payload.
- Board
ViaRecord - One
(via ...)record with its raw-mm extras and operation sequence. - Board
Zone Record - One
(zone ...)record bundling everyfilled_polygonfill ring.
Enums§
- Board
Dimension Operation - One board dimension operation. Stroke-font text and dimension geometry use shared layered geometry operations; faced text retains the board cache payload used by ordinary board text.
- Board
Footprint Operation - One operation in an embedded board-footprint record. Geometry and text children retain source ownership metadata; pad payloads are bracketed by explicit block markers exactly as in the Python plotter IR.
- Board
Graphic Record Kind - Board graphic record kinds promoted in the first board slice.
- Board
Plot Record - One record of the promoted board plotter subset in Python emission order.
- Board
Table Operation - One operation within a table record. Grid/border segments precede cached cell text, matching the established Python producer.
- Board
Text BoxOperation - One
gr_text_boxoperation in Python emission order: the optional border rect precedes the optional text payload. - Board
TextH Align - Python
KiCadHorizAlignsubset emitted for board text. - Board
Text Render Cache Coordinate Space - Coordinate space retained by the typed cache payload.
- Board
Text Render Cache Source - Provenance serialized with an attached board text render cache.
- Board
TextV Align - Python
KiCadVertAlignsubset emitted for board text. - Board
ViaOperation Kind - The role of one operation inside a via record’s fixed sequence.
- Board
ViaType - Python via types serialized in the
via_typeextra.
Functions§
- board_
import_ facts_ from_ view - Resolve exactly the facts consumed by canonical board import from an already parsed, current Source view. No reparse, standalone wrapper or whole-board plot is constructed. Existing bounds apply to input and retained fact work; operation budgets do not charge omitted route/zone/table/dimension drawings. Required syntax/selected-family errors and consumed text/flash errors remain strict. Unconsumed families must be interpreted by their actual downstream reader; this operation does not qualify their drawing capability.
- board_
outline_ page_ bounds - The board outline’s extent in nanometres,
[min_x, min_y, max_x, max_y]: the centrelines of the board’s and its footprints’ Edge.Cuts lines, arcs, circles, rectangles and polygons and the board’s curves, stroke excluded.Nonewhen they form no closed outline: no Edge.Cuts shape, or a line, arc or curve end that meets no other end within KiCad’s chaining epsilon. The board SVG’s page is this box, else the board’s drawn bounds. - board_
plot_ artifact_ with_ sidecars - Build one atomic board Plotter-IR/source-layer artifact with project sidecars. This parses the source once through the existing source-bound facts path.
- board_
plot_ artifact_ with_ text_ cache_ sidecar - Build one atomic board artifact with optional deterministic text-cache resources. This is the fit-capable direct-render producer; the document and complete layer facts are derived from the same parsed board view.
- board_
plot_ document - Read supported board families into plotter records without sidecar extras.
- board_
plot_ document_ with_ net_ classes - Read supported board graphics, tracks, vias, and zones into plotter records, attaching project-sidecar net-class extras by exact net name.
- board_
plot_ document_ with_ primary_ errors - Localize primary drawing capability failures without emitting error wire fields. Scalar fields, other drawings and pads remain in the ordinary plot document.
- board_
plot_ document_ with_ sidecars - Read the supported board families into plotter records with both project
sidecar inputs: net-class extras and
${NAME}text variables (which the board(property ...)entries overlay key-by-key). - board_
plot_ document_ with_ text_ cache_ sidecar - Read the supported board families with project sidecars plus optional, caller-supplied deterministic outline-font/cache-generation resources.
- board_
plot_ facts_ with_ sidecars - Build one immutable, source-bound board fact set with project sidecars.
- board_
plot_ facts_ with_ sidecars_ profiled