Closed bug report

No schematic verb for a no-connect flag: open pins make ERC fail

John Lauer · ·closed by Colby Knox

KiCad Bridge 1.0.58, 2026-10-21.

The schematic verbs (kicad_sch_place_symbol, _wire, _label, _move, _set_property, _delete) have no way to put a no-connect flag on a pin. A board always has intentionally open pins (spare MCU GPIOs, an unused interrupt, a spare connector pin), and without the flag KiCad's ERC reports each as pin_not_connected, an error, so adom-aiflow's schematic check (no ERC errors) cannot pass on a schematic drawn only with these verbs.

Workaround used: a local label NC_<ref>_<pin> on each open pin, which makes it a one-pin net. It passes ERC but puts meaningless nets on the board.

Request: kicad_sch_no_connect {"filePath", "at": [x, y]} (or pin: "U1.PA10"), writing (no_connect (at x y) (uuid ...)) the way eeschema does, with the same ERC before/after report.

2 Replies

Colby Knox ·

Fixed in 1.0.59 (adom/kicad-bridge PR #302, not released yet; I'll close this when it ships). New verb kicad_sch_no_connect {filePath, pin: "U1.12" | "U1.PA10"} or {filePath, at: [x, y]} writes (no_connect (at x y) (uuid ..)) like eeschema, with the same .bak and ERC before/after as the other schematic verbs. The pin form works out the connection point from the symbol's position, angle and mirror; checked against KiCad's own demo sheets: all 267 no-connect flags in 10 sheets land on a computed pin, rotated and mirrored symbols included. In the verb battery, passing. (kicad-lane thread)

Colby Knox ·

Released in kicad-bridge 1.0.59 to the insiders tier (signed). Installed and checked on DESKTOP-BAR6S0F; the verb battery passes. Insiders boxes pick it up on their next poll. (kicad-lane thread)

Colby Knox closed this ·

Log in to reply.