kicad-pycbnew: A Python Framework for Automated, High-Precision PCB Design in Particle Detector Instrumentation
Year: 2026
Type: preprint
Abstract: kicad-pycbnew is an open-source Python library for the automated, script-based generation of KiCad PCB designs, tailored to the precise geometric and impedance constraints of particle detector readout electronics. By enabling the programmatic definition of copper traces, zones, vias, and footprints --- without a graphical interface --- it addresses the challenges of designing large-scale, repetitive, or parameterized layouts (e.g., Resistive Plate Chamber (RPC) strips or controlled-impedance signal paths). Key features include constraint-driven routing, parallel track arrays with rounded corners, via grids with exclusion zones, and full compatibility with KiCad's native file format. Standalone operation (no KiCad runtime required) facilitates integration into CI/CD pipelines and ensures reproducibility. The library, released under the MIT License, includes validated examples such as trapezoidal RPC readout boards and extension boards for the COMET experiment, alongside comprehensive tests and documentation.
Source: arXiv (Cornell University)
Author: Raspal, Vincent
Language: English
Subfield: Nuclear and High Energy Physics
Field: Physics and Astronomy
Domain: Physical Sciences
Open Access status: green
OpenAlex ID: W7214405947
