Pythonic library for reading/modifying/writing Gerber/Excellon/IPC-356 files.
 
 
 
 
 
Go to file
Garret Fick 7b88509c4a Make writer resilient to similar macro defs 2016-03-05 09:24:54 +08:00
doc doc options 2015-02-18 23:28:19 -05:00
examples Allow files to be read from strings per #37 2015-10-10 16:51:21 -04:00
gerber Make writer resilient to similar macro defs 2016-03-05 09:24:54 +08:00
.coveragerc add coveralls 2014-09-30 17:49:04 -04:00
.gitignore Merge changes from upstream 2014-10-26 17:20:47 -04:00
.travis.yml Python 3 tests passing 2015-02-18 21:14:30 -05:00
LICENSE Initial commit 2013-12-17 12:01:34 -08:00
Makefile Add cairo example code, and use example-generated image in readme 2015-02-15 03:29:47 -05:00
README.md Remove svgwrite backend 2015-11-15 22:31:42 -02:00
doc-requirements.txt Python 3 tests passing 2015-02-18 21:14:30 -05:00
requirements.txt Remove svgwrite backend 2015-11-15 22:31:42 -02:00
setup.py finish changing the project name 2015-02-18 16:41:56 +01:00
test-requirements.txt Python 3 tests passing 2015-02-18 21:14:30 -05:00

README.md

pcb-tools

Travis CI Build Status Coverage Status Documentation Status

Tools to handle Gerber and Excellon files in Python.

Useage Example:

import gerber
from gerber.render import GerberCairoContext

# Read gerber and Excellon files
top_copper = gerber.read('example.GTL')
nc_drill = gerber.read('example.txt')

# Rendering context
ctx = GerberCairoContext()

# Create SVG image
top_copper.render(ctx)
nc_drill.render(ctx, 'composite.svg')

Rendering Examples:

###Top Composite rendering Composite Top Image Source code for this example can be found here.

Documentation:

PCB Tools Documentation