Remove svgwrite backend
We moved the functionality to cairo backend, it can write png and svg and maybe more (pdfs?)
This commit is contained in:
parent
6e29b9bcae
commit
7e2e469f5e
5 changed files with 4 additions and 137 deletions
|
|
@ -9,14 +9,14 @@ Tools to handle Gerber and Excellon files in Python.
|
|||
Useage Example:
|
||||
---------------
|
||||
import gerber
|
||||
from gerber.render import GerberSvgContext
|
||||
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 = GerberSvgContext()
|
||||
ctx = GerberCairoContext()
|
||||
|
||||
# Create SVG image
|
||||
top_copper.render(ctx)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue