Skip to content
Snippets Groups Projects
README.md 908 B
Newer Older
Grace Copplestone's avatar
Grace Copplestone committed
## Automate the generation of trace.png and cutout.png files
Grace Copplestone's avatar
Grace Copplestone committed
Matt Keeter wrote a Python script that opens up Eagle and exports a number of pngs using ImageMagick.

To get this script to run, use the following steps:
* Save eagle_png.py into the folder where you keep your .brd and .sch files
Grace Copplestone's avatar
Grace Copplestone committed
* Install [ImageMagick](https://www.imagemagick.org/script/index.php)
Grace Copplestone's avatar
Grace Copplestone committed
* Create a polygon over your .brd design on the Milling layer (number 46)
Grace Copplestone's avatar
Grace Copplestone committed
* Set the isolate value for the polygon to a number greater than 16, this will ensure there's enough black space for mods to generate toolpaths in (see image below)
Grace Copplestone's avatar
Grace Copplestone committed
* Save your .brd file and close Eagle
Grace Copplestone's avatar
Grace Copplestone committed
* Run eagle_png using the following command `python eagle_png.py board_folder/board_name.brd`
Grace Copplestone's avatar
Grace Copplestone committed
* The script should have saved several .png files into the folder where the .brd file is
Grace Copplestone's avatar
Grace Copplestone committed

<img src="img/isloate.png" alt="Increase isolate value for polygon" width="700"/>