Expand description
UI-independent schematic and board documents, symbol import, and connectivity.
Object IDs are random version 4 UUIDs. On wasm32-unknown-unknown the randomness
comes from the host: enable the uuid crate’s js feature (as BREP_app does) or
configure another getrandom backend, or creating an object fails.
Modules§
- autoroute
- Grid-based autorouter.
- board
- Printed circuit board layout: footprints, copper, connectivity, and design checks.
- erc
- Electrical rule check: what a schematic’s pins say about how they may be joined,
checked against the nets
Document::netlistbuilds. - fabrication
- Manufacturing outputs: Gerber X2 layers, Excellon drill files, and a zip bundle.
- footprint
- Ordering pad and pin labels, which are free strings that usually carry numbers.
- kicad
- KiCad 6+ symbol and footprint importers with inherited and multi-unit device support.
- kicad_
git - KiCad’s official libraries, cloned with git.
- netlist
- A schematic’s netlist as KiCad writes one: the
.nets-expression file (export version “E”) that Pcbnew, and most tools that read KiCad, take in.
Structs§
- Component
- Connection
- One row of a wiring diagram’s connection list.
- Document
- Gate
Placement - One gate of a component on the sheet: the gate’s geometry, taken about
pivotin symbol coordinates, turned byrotationquarter turns and put atat. - History
- Snapshot history: one transaction per gesture; no filesystem or UI dependency. Defaults to a document, and also serves the symbol and footprint editors.
- Label
- Net
- NetPin
- Netlist
- Part
Source - The part a component was placed from: the host’s key for that part, and the signature of the version whose symbol and pads were copied. A host compares the signature against the part as it stands now to find components to refresh.
- Pin
- Point
- Integer micrometres; positive Y points down on a schematic sheet.
- Symbol
- Terminal
- A stable reference to a component terminal, independent of drawing position.
- Uuid
- A Universally Unique Identifier (UUID).
- Wire
Enums§
- Connection
Target - Interactive connection targets. Junctions use their exact sheet coordinates.
- Document
Kind - What a document is drawn for.
- Graphic
Constants§
- DOCUMENT_
VERSION - Current document format version.
- WIRING_
DOCUMENT_ VERSION - Format version of wiring diagrams. It is newer than a schematic’s so that earlier builds refuse a wiring diagram instead of opening it as a schematic.
Functions§
- gate_
letter - The letter a sheet adds to a reference for gate
gate:Afor 1,Bfor 2, …,Z, thenAA, as KiCad names units. - on_
segment