No description
Find a file
Paulo Henrique Silva b9f1b106c3 Excellon format detection uses ExcelonFile.bounds now
Long term we should have only one .bounds method. But ExcellonParser right
now is not correct for cases with two drills in the same line
(it will report one dimension being zero)
2016-01-25 12:42:12 -02:00
doc doc options 2015-02-18 23:28:19 -05:00
examples Add support for mirrored rendering 2016-01-21 04:39:55 -05:00
gerber Excellon format detection uses ExcelonFile.bounds now 2016-01-25 12:42:12 -02: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
doc-requirements.txt 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 PCB interface 2015-12-22 02:47:23 -05:00
README.md Update Readme 2015-12-19 21:56:01 -05:00
requirements.txt Fix a bunch of rendering bugs. 2016-01-21 03:57:44 -05: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

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