KiCad automation utility
Go to file
Salvador E. Tropea bcfee6283d Added targets selection, all by default and an --invert-sel option to do all
but named targets.
2020-03-16 10:09:04 -03:00
debian Bumped version to 0.1.1 2020-03-13 13:14:41 -03:00
docs/samples
kiplot Added targets selection, all by default and an --invert-sel option to do all 2020-03-16 10:09:04 -03:00
src Added information log about what's going on and -q to supress it. 2020-03-13 14:13:40 -03:00
tests Added only_smd to only generate positions for SMD components. 2020-03-13 13:04:27 -03:00
.gitignore Ignore SETEdit desktop files 2020-03-14 16:07:48 -03:00
LICENSE
MANIFEST.in Moved the module to the root and added a script named kiplot to call it from /usr/bin. 2020-03-10 14:49:18 -03:00
Makefile Moved the module to the root and added a script named kiplot to call it from /usr/bin. 2020-03-10 14:49:18 -03:00
README.md Updated the README.md to the current functionality. 2020-03-10 15:11:24 -03:00
setup.cfg
setup.py Moved the module to the root and added a script named kiplot to call it from /usr/bin. 2020-03-10 14:49:18 -03:00

README.md

KiPlot

KiPlot is a program which helps you to plot your KiCad PCBs to output formats easily, repeatable, and most of all, scriptably. This means you can use a Makefile to export your KiCad PCBs just as needed.

For example, it's common that you might want for each board rev:

  • Check DRC one last time (use KiCad Automation Scripts)
  • Gerbers, drills and drill maps for a fab in their favourite format
  • Fab docs for the assembler
  • Pick and place files

You want to do this in a one-touch way, and make sure everything you need to do so it securely saved in version control, not on the back of an old datasheet.

KiPlot lets you do this.

As a side effect of providing a scriptable plot driver for KiCad, KiPlot also allows functional testing of KiCad plot functions, which would otherwise be somewhat unwieldy to write.

Using KiPlot

You can call kiplot directly, passing a PCB file and a config file:

kiplot -b $(PCB) -c $(KIPLOT_CFG) -v

A simple target can be added to your makefile, so you can just run make pcb_files or integrate into your current build process.

pcb_files:
    kiplot -b $(PCB) -c $(KIPLOT_CFG) -v

Installing

Installation on Ubuntu/Debian:

Get the Debian package from the releases section and run:

sudo apt install ./kiplot.inti-cmnb_*_all.deb