Panelize Kicad PCB

Edit: got a permanent place here.

Making PCBs is fun these days. Years ago I always paid a lot of money and got one single layer PCB without mask or silk screen. Now there are many PCB manufacturers which make prototyping PCBs for reasonable prices. But normally they don’t allow you to make panels (putting multiple circuits on one PCB). At least two manufacturers exist which allow you to create up to 5 panels per PCB: and (their PCB options look so similar that I think it’s the same manufacturer).

But how do you create the panelized production files?

Doing it by hand is too cumbersome. It could be done with the gerber files. But I chose to write a little python script which duplicates the specified parts in a kicad PCB file (.brd). The advantage is that the panelized version is still editable with kicad and I still can run the checks.

Continue reading