Repository navigation
v1.0.2
Fixed
get_pcb_componentno longer reports a wrongparsed.pinCountfor two-terminal chip passives. The count was derived from the digits after the family prefix in the package name, which forRES/CAP/IND/INDPchip parts is the imperial case-size code (soRES0402reported402instead of2). Pin count is now derived authoritatively from pad/net geometry; the package name is trusted only for families where the number genuinely encodes a pin count.parsedis also emitted consistently, including when the package name has no trailing digits (#38)get_pcb_componentnow returns pad geometry for chip-passive and other footprints that previously came back empty.extractShapeshandles oval, rounded/chamfered/cornered rectangle, and polygon/contour pad primitives (contours reported by bounding box), and pads can resolve their shape through apadstackDefRefwhen there is no inline primitive (#40)get_pcb_netnow returns trace routing for nets routed with<Line>conductor segments, not just<Polyline>. Previously a net routed entirely with<Line>elements returned no per-layer trace widths, lengths, or segment counts at all (#39)
Changed
- Tool responses are now token-bounded, which changes the default output shape (#41). Per-coordinate arrays are summarized by default so a single query can no longer blow the caller's context:
get_pcb_netreturns a compactviaCountsrollup (count per drill type + layer) by default; the raw per-viaviaRows/viaColumnsare now returned only withdetail="full". The redundantviaDrillsfield was removed — aviaRowsentry'sdrillIndexreferencesviaCountsby position. ApinCounttotal is now included.get_pcb_componentreturnspadCount+ dedupedpadShapesby default; the per-pinpadRows/padColumnsare now returned only withdetail="full".- Both tools accept a new
detailparameter ("summary"default, or"full"). Even infullmode the raw coordinate arrays are capped and the response is flaggedtruncated: true, so no response can exceed a safe size.
Installation
See Setup Instructions for installation and configuration.
Checksums
See checksums.txt for SHA256 checksums.