gerbonara/README.md

32 wiersze
939 B
Markdown
Czysty Zwykły widok Historia

2014-10-28 13:55:34 +00:00
pcb-tools
2014-09-30 21:55:47 +00:00
============
2014-10-28 13:55:02 +00:00
![Travis CI Build Status](https://travis-ci.org/curtacircuitos/pcb-tools.svg?branch=master)
[![Coverage Status](https://coveralls.io/repos/curtacircuitos/pcb-tools/badge.png?branch=master)](https://coveralls.io/r/curtacircuitos/pcb-tools?branch=master)
2014-09-30 21:55:47 +00:00
Tools to handle Gerber and Excellon files in Python.
2014-10-11 17:14:47 +00:00
Useage Example:
---------------
2014-10-08 03:02:53 +00:00
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
2014-10-08 13:27:52 +00:00
ctx = GerberSvgContext()
2014-10-08 03:02:53 +00:00
# Create SVG image
2014-10-08 13:27:52 +00:00
top_copper.render(ctx)
nc_drill.render(ctx, 'composite.svg')
2014-10-11 17:12:21 +00:00
2014-10-11 17:14:47 +00:00
Rendering Examples:
-------------------
###Top Composite rendering
2014-10-11 17:12:21 +00:00
![Composite Top Image](examples/composite_top.png)
2014-10-11 17:14:47 +00:00
###Bottom Composite rendering
2014-10-28 13:55:02 +00:00
![Composite Bottom Image](examples/composite_bottom.png)