Expand description
Typed fresh-source authoring for KiCad PCB and footprint files.
Structs§
- Authored
Backdrill - Authored
Barcode - One
(barcode ...)on a board or in a footprint. A footprint barcode’satis local to the footprint, as a footprint text’s is. - Authored
Board Text - Authored
Color - Authored
Dimension - One board
(dimension ...), written as KiCad 10.0.8 saves it (pcbnew/pcb_io/kicad_sexpr/pcb_io_kicad_sexpr.cpp:886-998). - Authored
Dimension Format - A dimension’s
format: how its value is written. - Authored
Dimension Style - A dimension’s
style, the fields every kind writes. - Authored
Dimension Text - A dimension’s
gr_text. Its layer, lock and UUID are the dimension’s: KiCad writes the dimension’s own as the text’s (pcbnew/pcb_io/kicad_sexpr/pcb_io_kicad_sexpr.cpp:994-995 and 2265-2329 at 10.0.8). Color and hyperlink are never written (:2318-2322). - Authored
Drill - Authored
Embedded File - Authored
Footprint - Authored
Footprint Occurrence - One placed board occurrence of a footprint definition.
- Authored
Footprint Property - A graphical footprint property with an explicit local presentation.
- Authored
Footprint Scalar Property - Authored
Footprint Text - Authored
Front Back Policy - Authored
Graphic - Authored
Group - A board-owned editor group. Members are UUIDs of board-root items or groups, not footprint children. This does not author design-block library links.
- Authored
Keepout - Complete effective restrictions, emitted explicitly rather than inheriting source-version-dependent omission defaults.
- Authored
Layer - Authored
Model - Authored
Net - Authored
NetRef - Authored
Pad - Authored
PadPrimitive - Authored
Padstack - Authored
Pcb - Authored
Placement Constraint - Authored
Point - Authored
Property - One board-root source property, independent of footprint graphical fields.
- Authored
Routing Arc - Authored
Rule Area - One board-frame source zone used for restrictions and/or placement. No net, fill cache, or thermal/pour policy can be attached to this type.
- Authored
Segment - Authored
Setup - Authored
Stackup - Authored
Stackup Layer - Authored
Stackup SubLayer - One
addsublayerparameter group of a dielectric stackup layer. - Authored
Standalone Footprint - A fresh standalone
.kicad_modenvelope around one local footprint definition. - Authored
Text Box - Authored
Text Effects - Authored
Via - Authored
ViaStack - Authored
ViaStack Layer - KiCad via stacks support circular diameters only; no per-layer nets/shapes.
- Authored
Zone - Authored
Zone Fill - Authored
Zone Filled Polygon - Authored
Zone Hatched Fill - A hatch-pattern fill (
(mode hatch)), written as pcbnew writes it. - Authored
Zone Polygon - PcbAuthored
Text - A written source and the warnings about it.
- PcbAuthoring
Limits - Independent ceilings for fresh typed source construction.
- PcbAuthoring
Warning - One warning about a written source; the object was written.
Enums§
- Authored
Barcode EccLevel - QR and Micro QR error-correction level, by its source
ecc_leveltoken. - Authored
Barcode Kind - A KiCad 10 barcode symbology, by its source
typetoken. - Authored
Chamfer Corner - Authored
Custom PadClearance - Authored
Dimension Arrow Direction - KiCad’s
arrow_direction, written for aligned and orthogonal dimensions. - Authored
Dimension Kind - A KiCad 10 board dimension kind, with the fields only that kind has.
- Authored
Dimension Orientation - An orthogonal dimension’s
orientation(KiCad’sPCB_DIM_ORTHOGONAL::DIR). - Authored
Dimension Text Frame - A leader’s
text_frame(KiCad’sDIM_TEXT_BORDER). - Authored
Dimension Text Position - Where a dimension’s text sits (KiCad’s
DIM_TEXT_POSITION). - Authored
Dimension Units - The
unitsof a dimension’s value (KiCad’sDIM_UNITS_MODE). - Authored
Dimension Units Format - How a dimension’s value shows its unit (KiCad’s
DIM_UNITS_FORMAT). - Authored
Graphic Geometry - Authored
PadAnchor - Authored
PadKind - Authored
PadPolygon Point - Authored
PadPrimitive Fill - KiCad retains solid/unfilled custom primitive policy on closed shapes. Hatch modes and stroke styles are not retained by its custom-pad writer.
- Authored
PadPrimitive Geometry - Authored
PadShape - Authored
Padstack Layer - Authored
Padstack Layer Selector - Authored
Padstack Mode - Authored
Padstack Zone Connection - Authored
Placement Source - Authored
Polygon Point - Authored
Resource Data - Authored
Restriction - Authored
Text BoxGeometry - Authored
Text Horizontal Justification - Authored
Text Vertical Justification - Authored
ViaKind - Authored
Zone Connection - Authored
Zone Hatch - Authored
Zone Hatch Border - KiCad’s
hatch_border_algorithm: the hatch fill’s border is as wide as the hatch lines or as the zone’s minimum thickness. - Authored
Zone PadConnection - PcbAuthoring
Warning Code - What the writer reports about a source it wrote.
Constants§
- KICAD_
SOURCE_ VERSION_ 2024_ 12_ 29 - First explicitly supported PCB and footprint source format revision.
Functions§
- recover_
board_ text_ knockout_ cache - Recover pre-knockout glyph/counter contours from final Source cache regions. Reapplication must reproduce exact complete integer regions, ordered owned holes and multiplicity. Filled-region traversal order alone may differ. This does not regenerate fonts, change receipts, or prove board membership.