kicad-pycbnew: A Python Framework for Automated, High-Precision PCB Design in Particle Detector Instrumentation
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.
Related
- ARGUS: an experiment-agnostic framework for detector-health monitoring in particle physics
- Optimization and Underground Implementation of the KAPAE Phase II Detector for an Invisible New Particle Search in Positronium Decay
- Precision luminosity measurement in proton-proton collisions at a center-of-mass energy of 13 TeV with the CMS detector at the Large Hadron Collider
- Precision luminosity measurement in proton-proton collisions at a center-of-mass energy of 13 TeV with the CMS detector at the Large Hadron Collider
- MATHUSLA: A Proposed Long-Lived Particle Detector for High-Luminosity LHC
BibTeX
@misc{raspal2026kicadpycbnew,
title = {{kicad-pycbnew: A Python Framework for Automated, High-Precision PCB Design in Particle Detector Instrumentation}},
author = {Vincent Raspal},
howpublished = {HAL},
year = {2026},
month = sep,
doi = {10.48550/arxiv.2609.27522},
eprint = {2609.27522},
archivePrefix = {arXiv},
url = {https://hal.science/hal-05781756v1},
note = {CC BY 4.0},
}
RIS
TY - UNPB
TI - kicad-pycbnew: A Python Framework for Automated, High-Precision PCB Design in Particle Detector Instrumentation
AU - Vincent Raspal
PY - 2026
DA - 2026/09/28
PB - HAL
DO - 10.48550/arxiv.2609.27522
UR - https://hal.science/hal-05781756v1
AB - 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.
ER -