Expand description
Native, source-backed views and focused edits for KiCad PCB documents.
The board model indexes exact source spans and decodes domain records on demand. It intentionally does not construct the generic compatibility tree.
Structs§
- PcbAnnular
Ring Stats - Scalar pad/via envelope statistic in millimetres; not a copper-union clearance proof.
- PcbBarcode
- PcbBoard
Metadata - PcbBoard
Text - One source
gr_textowner, including empty and hidden text. Coordinates remain KiCad millimetres and angles remain authored degrees. - PcbBoard
Text Box - One source
gr_text_boxowner: a text box on the board, typed like a footprint text box. Coordinates remain KiCad millimetres (right/down) and the angle is the authored text angle in degrees. - PcbBoard
Variant - PcbComponent
Class Ref - PcbCounts
- Collection counts used to compare the lazy view with the Python model.
- PcbDimension
- PcbDimension
Format - PcbDimension
Style - PcbDocument
- An owned KiCad board document.
- PcbDrill
Layer Span - PcbDrill
Properties - PcbEdit
- PcbEmbedded
File - Metadata for one source-backed embedded resource.
- PcbFootprint
- PcbFootprint
Graphic - One non-text graphic owned by an embedded board footprint.
- PcbFootprint
Primary Batch - One footprint’s strict effective scalars and independently fallible drawings. This is an operation result over existing Source records, not a saved carrier.
- PcbFootprint
Property - One source-authored property owned by an embedded board footprint.
- PcbFootprint
Text - One source-authored footprint-local text item.
- PcbFootprint
Text Box - One source-authored footprint-local text box.
- PcbFootprint
Transform - PcbFootprint
Zone - One zone or rule area owned by an embedded board footprint. Its outline is in board coordinates, as KiCad stores it.
- PcbFront
Back Optional Bool - PcbGenerated
Item - PcbGraphic
- A producer-neutral typed view of one board graphic carrier.
- PcbGroup
- PcbHole
- PcbImage
- PcbLayer
- PcbLimits
- Ignored ceilings, defaulting to
usize::MAX: KiCad reads and plots boards and footprints without them (#612). Request hosts still pass caller values. - PcbModel
Reference - One typed footprint 3D-model reference in board source order.
- PcbNet
- PcbNet
Ref - A board-object net reference, which KiCad may encode by ordinal or name.
- PcbPad
- One typed footprint pad in board source order.
- PcbPad
Custom Options - Custom-pad clearance and anchor policy.
- PcbPad
Custom Primitive - One source-local custom-pad primitive, with policy declaration evidence.
- PcbPad
Drill - PcbPad
Name Group - PcbPadstack
- PcbPadstack
Layer - PcbPoint
- PcbPost
Machining Properties - PcbProfile
Primitive - PcbProperty
- One exact top-level PCB property and its editable value range.
- PcbResolved
PadCopper Layer - Effective source-local shape and layer-local policy for one copper selector. Distances remain millimetres and angles remain KiCad degrees. A drill offset moves the copper shape, not the hole. No policy is inherited from a footprint or a design rule here; absence remains absence.
- PcbRouting
Arc - PcbSegment
- PcbSelection
- A compact, allocation-free set of requested PCB families.
- PcbSetup
- PcbStackup
- PcbStackup
Layer - PcbStackup
SubLayer - PcbTable
- PcbTable
Cell - PcbTeardrop
Parameters - PcbVia
- PcbVia
Stack - PcbVia
Stack Layer - KiCad via-stack rows support only a circular diameter, not pad shapes/policies.
- PcbView
- A board view backed by one source buffer and exact selected form spans.
- PcbZone
- PcbZone
Filled Polygon - PcbZone
Keepout - PcbZone
Layer Connections - PcbZone
Layer Property - PcbZone
Placement - PcbZone
Polygon
Enums§
- PcbEmbedded
Data Presence - Authored state of an embedded resource’s
(data ...)form. - PcbEmbedded
File Owner - Source owner for an embedded resource declaration.
- PcbFamily
- One independently requestable native PCB model family.
- PcbFootprint
Member Owner - Source owner for a footprint-local typed member reused by board and standalone readers.
- PcbGraphic
Kind - PcbHole
Owner - PcbHole
Shape - PcbPad
Primitive Geometry - Source-local geometry. Proxy shapes are not copper primitives.
- PcbPolygon
Point - Ordered source polygon elements; embedded arcs are not tessellated or omitted.
- PcbProfile
Owner - PcbZone
Placement Source
Functions§
- footprint_
primary_ property_ name - Exact source standard role; legacy ki_description is scalar-only before 20230620.
- is_
standalone_ footprint_ custom_ property - Source-format role classification; exact user spelling is never normalized.
- resolve_
pad_ copper_ layer - Resolve a copper shape without deciding whether copper is present there.
Type Aliases§
- PcbFootprint
Primary Field Results - Independent graphical results in Reference, Value, Description order. Only the existing unpositioned build-capability errors are eligible for drawing recovery; source errors and resource limits must remain fatal.
- PcbPad
Polygon Point - Compatibility name for the shared source polygon element type.