Pythonic library for reading/modifying/writing Gerber/Excellon/IPC-356 files.
 
 
 
 
 
Go to file
Paulo Henrique Silva 80cdaf075e Merge pull request #26 from curtacircuitos/unit_conversion_fix
Fix for #25. Check units at the primitive level
2015-04-24 13:34:26 -03:00
doc
examples
gerber Fix for #25. Checking was happening at the gerber/excellon file level, but I added units checking at the primitive level so the use case shown in the example is covered. Might want to throw a bunch more assertions in the test code (i started doing a few) to cover multiple calls to unit conversion functions 2015-04-24 10:54:13 -04:00
.coveragerc
.gitignore
.travis.yml
LICENSE
Makefile
README.md
doc-requirements.txt
requirements.txt
setup.py
test-requirements.txt

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 GerberSvgContext

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

# Rendering context
ctx = GerberSvgContext()

# 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