Skip to main content
← Back to kicad-monkey Rust Docs kicad-monkey Rust Crate API Reference

Module schematic_diagnostics

Module schematic_diagnostics 

Source
Expand description

Schematic diagnostics that travel beside the Plotter IR, never inside it.

KiCad Monkey does not stop a page or a project for something it does not fully handle. It draws by KiCad’s rule, or by its best rule, and reports a diagnostic here, so the Plotter IR stays comparable with KiCad’s own plot. The codes are shared with Python’s kicad_monkey.kicad_diagnostics. Citations are paths in the KiCad source tree.

Structs§

KiCadDiagnostic
One diagnostic about one source object.
RepeatedUuid
One (uuid ...) value KiCad would make unique while loading.

Enums§

KiCadDiagnosticCode
Stable diagnostic codes. Each one names the KiCad behaviour it follows.
KiCadDiagnosticSeverity
How a diagnostic relates to what was drawn.

Constants§

PIN_UUID_MIN_VERSION
Placed-symbol pin UUIDs written before this version are ignored by KiCad (eeschema/sch_io/kicad_sexpr/sch_io_kicad_sexpr_parser.cpp:4124-4134).

Functions§

effective_uuid_text
Apply KiCad’s load rule for repeated UUIDs to one schematic file.
increment_uuid_text
Increment a hexadecimal UUID by one, keeping its textual width and dashes, as KiCad’s KIID::Increment adds one to the 128-bit value (common/kiid.cpp:299-311). A value that is not hexadecimal is returned unchanged.
sorted_diagnostics
Stable order shared with Python: occurrence, source path, code, object kind, object UUID, message. Repeats are removed.