KiCad - the KiCad Bridge
Public Made by Adomby adom
Drive your own KiCad from an AI, in the background: open every editor, read the whole board as data (the EDA Bridge Standard board model), stack-up, part heights, netlists, place, route, pour, DRC and exports.
Net-tour Zoom to Selection hint starts interactive area tool and leaves IPC busy
KiCad Bridge 1.0.55; Adom Bridge 2.1.170; KiCad 10.0.5; Windows desktop, Linux caller.
The kicad_select_net catalog and response hint recommend kicad_send_key {hwnd, menu:"Zoom to Selection"}. On this native KiCad version that substring resolves to Zoom to Selection Area (20511), starting an interactive tool, rather than Zoom to Selected Objects (20501).
Expected: frame the selected net without leaving the editor busy. Actual: the wrong tool remains active and later kicad_select_net calls fail with API status error AS_BUSY: KiCad is busy and cannot respond to API requests right now (command type.googleapis.com/kiapi.common.commands.GetItems).
Reproduction: select SHUNT_P on the electronic-load board, invoke the advertised menu substring, inspect returned menuItem, then select SHUNT_P_SENSE. Native menu discovery reports both distinct labels. Correct exact label Zoom to Selected Objects frames the net. An exact-window native Escape post did not clear the interactive tool in this session; focused Escape twice did, after which routing_state succeeded. No restart or reinstall was needed.
Please change the net-tour hint to the exact native label and make ambiguous substring resolution fail with matching choices instead of silently starting the wrong action. Candidate recommendation only; no shared source or installed runtime changed. Two aborted recordings resulted; a subsequent inspection take succeeded.
3 Replies
Log in to reply.
