README.md 941 Bytes
Newer Older
Grace Copplestone's avatar
Grace Copplestone committed
1
## Automate the generation of trace.png and cutout.png files
Grace Copplestone's avatar
Grace Copplestone committed
2
3
4
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:
Grace Copplestone's avatar
Grace Copplestone committed
5
* Save eagle_png.py into the folder where you keep your Eagle project folders containing .brd and .sch files
Grace Copplestone's avatar
Grace Copplestone committed
6
* Install [ImageMagick](https://www.imagemagick.org/script/index.php)
Grace Copplestone's avatar
Grace Copplestone committed
7
* Create a polygon over your .brd design on the Milling layer (number 46)
Grace Copplestone's avatar
Grace Copplestone committed
8
* 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
9
* Save your .brd file and close Eagle
Grace Copplestone's avatar
Grace Copplestone committed
10
* Run eagle_png using the following command `python eagle_png.py board_folder/board_name.brd`
Grace Copplestone's avatar
Grace Copplestone committed
11
* The script should have saved several .png files into the folder where the .brd file is
Grace Copplestone's avatar
Grace Copplestone committed
12

Grace Copplestone's avatar
Grace Copplestone committed
13
<img src="img/isolate.png" alt="Increase isolate value for polygon" width="700"/>
Grace Copplestone's avatar
Grace Copplestone committed
14
15
16