Hamilton Kibbe
0fedaedb6e
Add more layer hints as seen in the wild
2016-09-29 19:43:28 -04:00
Hamilton Kibbe
5df38c014f
Cleanup, rendering fixes.
...
fixed rendering of tented vias
fixed rendering of semi-transparent layers
fixed file type detection issues
added some examples
2016-01-28 12:19:03 -05:00
Hamilton Kibbe
66a0d09e72
Add support for mirrored rendering
...
- The default theme now renders the bottom layers mirrored.
- see https://github.com/curtacircuitos/pcb-tools/blob/master/examples/pcb_bottom.png
for an example.
2016-01-21 04:39:55 -05:00
Hamilton Kibbe
5476da8aa3
Fix a bunch of rendering bugs.
...
- 'clear' polarity primitives no longer erase background
- Added aperture macro support for polygons
- Added aperture macro rendring support
- Renderer now creates a new surface for each layer and merges them instead of working
directly on a single surface
- Updated examples accordingly
2016-01-21 03:57:44 -05:00
Hamilton Kibbe
6a005436b4
Refactor a little
...
pulled all rendering stuff out of the pcb/layer objects
2016-01-01 12:25:38 -05:00
Hamilton Kibbe
5430fa6738
Python3 fix
2015-12-22 10:18:51 -05:00
Hamilton Kibbe
6f876edd09
Add PCB interface
...
this incorporates some of @chintal's layers.py changes
PCB.from_directory() simplifies loading of multiple gerbers
the PCB() class should be pretty helpful going forward...
the context classes could use some cleaning up, although I'd like to wait until the freecad stuff gets merged, that way we can try to refactor the context base to support more use cases
2015-12-22 02:47:23 -05:00
Hamilton Kibbe
af5541ac93
Allow renderer to write to memory per #38
...
Some updates to rendering colors/themes
2015-12-20 23:54:20 -05:00
Hamilton Kibbe
60c5906b29
Clean up negative render code
2015-12-20 15:24:20 -05:00
Hamilton Kibbe
1cb269131b
Allow negative render of soldermask per #50
...
Update example code and rendering to show change
2015-12-19 21:54:29 -05:00
Paulo Henrique Silva
7e2e469f5e
Remove svgwrite backend
...
We moved the functionality to cairo backend, it can write png and svg and maybe more (pdfs?)
2015-11-15 22:31:42 -02:00
Hamilton Kibbe
dd63b169f1
Allow files to be read from strings per #37
...
Adds a loads() method to the top level module which generates a GerberFile or ExcellonFile from a string
2015-10-10 16:51:21 -04:00
Hamilton Kibbe
cb2fa34e88
Add support for arcs in regions.
...
This fixes the circular cutout issue described in #32 . Regions were previously stored as a collection of points, now they are stored as a collection of line and arc primitives.
2015-08-09 15:11:13 -04:00
Hamilton Kibbe
d4a8705708
Fix windows permission error
...
per #33
the issue was trying to re-open the temporary file. it works on everything but windows. I've changed it to seek to the beginning and read from the file without re-opening, which should fix the issue.
2015-07-25 09:48:58 -04:00
Hamilton Kibbe
39726e3936
Fix multiple layer issue in cairo-unification branch (see #33 )
2015-07-22 22:13:09 -04:00
Paulo Henrique Silva
b3f6ec558c
Fix arcs and ackground painting
2015-07-09 04:05:15 -03:00
Paulo Henrique Silva
5aaf18889c
Initial patch to unify our render towards cairo
...
This branch allows a pure cairo based render for both PNG and SVG.
Cairo backend is mostly the same but with improved support for
configurable scale, orientation and inverted color drawing.
API is not yet final.
2015-07-09 03:54:47 -03:00
Hamilton Kibbe
68619d4d5a
Fix parsing for multiline ipc-d-356 records
2015-03-05 22:42:42 -05:00
hbc
feb5b3d571
Convert py3k's map object to tuple explicitly.
2015-02-25 09:39:53 +08:00
Hamilton Kibbe
d830375c4c
Fix arc width per comment in #12
2015-02-20 10:07:26 -05:00
Philipp Klaus
e6fa61c82b
Fixing more relative import statements
2015-02-18 16:14:46 +01:00
Hamilton Kibbe
d63bf0d68a
Fix cairo image size
2015-02-15 13:29:50 -05:00
Hamilton Kibbe
bfe1484160
Add cairo example code, and use example-generated image in readme
2015-02-15 03:29:47 -05:00
Hamilton Kibbe
5cf1fa74b4
Tests and bugfixes
2015-02-15 02:20:02 -05:00
Hamilton Kibbe
5e23d07bcb
Fix rendering for line with rectangular aperture per #12 . Still need to do the same for arcs.
2015-02-13 09:37:27 -05:00
Hamilton Kibbe
8f69c1dfa2
Update line primitive to take aperture parameter
...
This fixes the exception referenced in #12 . Still need to add rendering
code for rectangle aperture lines and arcs.
Rectangle strokes will be drawn as polygons by the rendering backends.
2015-02-12 11:28:50 -05:00
Paulo Henrique Silva
d7a453e5ab
Remove unused file
2015-02-08 00:28:17 -02:00
Hamilton Kibbe
d98d23f8b5
More tests and bugfixes
2015-02-02 00:43:08 -05:00
Hamilton Kibbe
f5abd5b0bd
Add arc rendering and tests
2014-10-28 22:11:43 -04:00
Hamilton Kibbe
95de179bb0
Fix rendering of 0-width lines (e.g. board outlines) in SVG and Cairo renderer
2014-10-27 08:29:43 -04:00
Hamilton Kibbe
c08cdf84bc
removed dead code
2014-10-26 22:40:55 -04:00
Hamilton Kibbe
0437e4198a
cairo working
2014-10-26 22:36:47 -04:00
Hamilton Kibbe
b5f8451c8f
cairo support
2014-10-26 22:36:47 -04:00
Hamilton Kibbe
6d2db67e6d
Refactor rendering
2014-10-18 01:44:51 -04:00
Hamilton Kibbe
c50949e15a
Add SVG transparency
2014-10-13 13:26:32 -04:00
Hamilton Kibbe
8c5c7ec8bb
update docs and example images
2014-10-12 12:38:40 -04:00
Hamilton Kibbe
76c03a55c9
Working region fills and level polarity. Renders Altium-generated gerbers like a champ!
2014-10-10 20:36:38 -04:00
Hamilton Kibbe
a9059df190
doc update
2014-10-10 09:35:06 -04:00
Hamilton Kibbe
f2f411493e
doc update
2014-10-09 22:10:28 -04:00
Hamilton Kibbe
bf9f9451f5
doc update
2014-10-09 21:52:04 -04:00
Hamilton Kibbe
8851bc17b9
Doc update
2014-10-09 18:09:17 -04:00
Hamilton Kibbe
84bfd34e91
Add mode statement parsing
2014-10-09 09:51:29 -04:00
Hamilton Kibbe
bcb6cbc50d
start arc
2014-10-08 22:49:49 -04:00
Hamilton Kibbe
1653ae5cbe
Update readme and example
2014-10-08 09:27:52 -04:00
Hamilton Kibbe
5ff44efbcf
Fix resolve error
2014-10-07 18:41:14 -04:00
Hamilton Kibbe
e565624b81
Fix import error
2014-10-06 11:50:38 -04:00
Hamilton Kibbe
f8449ad2b6
tests update
2014-09-30 23:42:02 -04:00
Hamilton Kibbe
3a5dbcf1e1
added ExcellonFile class
2014-09-28 21:17:13 -04:00
Hamilton Kibbe
695e3d9220
Added excellon support and refactored project
2014-09-28 18:07:15 -04:00