Skip to content

svenstucki/kicad-scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

KiCad Scripts

A place where I collect scripts for automating KiCad.

fix_vias.py

This script is meant to fix vias that have no net association due to the way KiCad handles stitching vias (this post explains the problem in more detail).

It does this by replacing all vias not associated to a net, by a footprint consisting of a single through hole pad with the same dimensions, connected to the GND net. This is not always the right behaviour, especially if there are multiple different copper pours of different nets (it won't work at all in that case).

If the vias should be associated to a different net than GND, the script must be edited accordingly.

The script is called like this:

./fix_vias.py <input .kicad_pcb file>

It will modify the input file, creating a backup first is highly recommended.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages