Support "merging of DRC rules of multiple boards"
Prerequisites
- [x] I have read the documentation and the proposed feature is not implemented.
Description
I run into the following KiCAD error:
File "C:\Users\mchhe\OneDrive\Dokumente\KiCad\9.0\3rdparty\Python311\site-packages\kikit\panelize.py", line 706, in transferProjectSettings raise RuntimeError("Merging of DRC rules of multiple boards is currently unsupported") RuntimeError: Merging of DRC rules of multiple boards is currently unsupported
Can you please implement this feature?
@yaqwsx
This isn't a trivial feature to implement. It means:
- rewriting all the standard DRC rules into to custom DRC format and
- building a global lifted state.
That is quite laborious and hard to test. So far, I haven't found a single good use for merging the rules. If you combine multiple boards into a single panel, they have the same technological requirements. If there are special needs for parts of a PCB, you already implement it via net classes or custom DRC rules.
If you build custom panels and the boards indeed have the same technological requirements, just specify inheritDrc=True for a single board and inheritDrc=False for all other boards when calling appendBoard.