Paulo Henrique Silva
cbb662491c
Refactor AM aperture handling and add unit conversion support
...
* Add support to convert between metric/impertial
* AM primitives are now properly created and can be
converted between metric/imperial.
(only Outline primitive is supported, no rendering yet)
2015-01-14 03:15:52 -02:00
Paulo Henrique Silva
53ee756609
Fix region primitive creation
2015-01-13 23:12:27 -02:00
Paulo Henrique Silva
be5b94b8c0
Fix parsing for OrCAD.
...
* Modify the way we parse parameters to allow more than
one parameter in a single line as in the following example:
%FSLAX55Y55*MOIN*%
%IR0*IPPOS*OFA0.00000B0.00000*MIA0B0*SFA1.00000B1.00000*%
(this is from OrCAD 16 default output)
* Add missing deprecated parameters.
* Change API to use given FileSettings on output. This allows
us to use pcb-tools to convert between FS formats.
2014-12-15 23:44:12 -02:00
Paulo Henrique Silva
4bb2e5f8a0
Fix parsing for very short (less 20 lines) files.
2014-12-15 23:44:12 -02:00
Hamilton Kibbe
29deffcf77
add ipc2581 primitives
2014-12-05 23:59:28 -05:00
Paulo Henrique Silva
ab69ee0172
Bunch of small fixes to improve Gerber read/write.
2014-11-10 12:24:09 -02: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
Paulo Henrique Silva
c285e6b014
style change
2014-10-26 22:36:47 -04:00
Paulo Henrique Silva
f23c3cb00a
Add simple hack to allow evaluation when gerber have macros and polygon
2014-10-26 22:36:47 -04:00
Paulo Henrique Silva
0a0331c5f3
Fix parsing for AM macros and support for zero sized circle primitives
2014-10-26 22:36:47 -04:00
Paulo Henrique Silva
0f85d5b070
Fix ValueError, missing self.
2014-10-26 22:36:47 -04:00
Paulo Henrique Silva
76abd9e3f8
Fix parsing of Unknown commands
2014-10-26 22:36:47 -04:00
Hamilton Kibbe
b5f8451c8f
cairo support
2014-10-26 22:36:47 -04:00
Hamilton Kibbe
4f076d7b76
Merge aperture fixses from upstream
2014-10-26 17:59:57 -04:00
Hamilton Kibbe
254f3e5184
Merge changes from upstream
2014-10-26 17:20:47 -04:00
Paulo Henrique Silva
d0eedf3dd7
Support for zero size C apertures and fix parsing of ADDNN<macro-name>
2014-10-25 12:52:13 -02:00
Paulo Henrique Silva
5c4705fcee
Fix coordinate computation when x or y is 0 in non standard way
2014-10-22 00:53:40 -02:00
Paulo Henrique Silva
0d4cb55c97
Fix parsing when x or y coordinate is missing on COORD statement
2014-10-21 20:46:37 -02:00
Hamilton Kibbe
18e3b87625
Test update
2014-10-19 22:23:00 -04:00
Hamilton Kibbe
6d2db67e6d
Refactor rendering
2014-10-18 01:44:51 -04:00
Paulo Henrique Silva
cb18cc4635
Fix parsing of COORD with +000 styled numbers
2014-10-17 17:20:49 -03:00
Paulo Henrique Silva
e128507974
Fix parsing of Unknown statements
2014-10-17 17:20:23 -03:00
Hamilton Kibbe
d90da4000f
Add primitive definitions and bounding box calcs for DRC
2014-10-16 18:13:43 -04:00
Hamilton Kibbe
c50949e15a
Add SVG transparency
2014-10-13 13:26:32 -04:00
Hamilton Kibbe
6adcdbae5f
Merge branch 'master' of https://github.com/hamiltonkibbe/gerber-tools
2014-10-13 12:38:57 -04:00
Hamilton Kibbe
8c5c7ec8bb
update docs and example images
2014-10-12 12:38:40 -04:00
Hamilton Kibbe
62c689be17
Doc update
2014-10-11 13:12:21 -04:00
Hamilton Kibbe
ae3bbff8b0
Added excellon format detection
2014-10-10 23:07:51 -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
152fca0768
Add layer names file
2014-10-10 17:56:15 -04:00
Hamilton Kibbe
1750c3c60a
Add tests
2014-10-10 13:07:54 -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
af97dcf2a8
fix excellon render
2014-10-07 22:44:08 -04:00
Hamilton Kibbe
5ff44efbcf
Fix resolve error
2014-10-07 18:41:14 -04:00
Hamilton Kibbe
b971dacd3f
more tests
2014-10-07 18:36:03 -04:00
Hamilton Kibbe
8ac771db92
More tests
2014-10-07 09:12:46 -04:00
Hamilton Kibbe
f7c1939873
add tests
2014-10-07 00:16:39 -04:00
Hamilton Kibbe
7f75e8b9e9
add tests
2014-10-06 23:54:39 -04:00
Hamilton Kibbe
2abb7159be
add tests
2014-10-06 23:52:57 -04:00
Hamilton Kibbe
22a6f87e94
add excellon file write
2014-10-06 18:28:32 -04:00
Hamilton Kibbe
08253b40f6
Update excellon statements/ExcellonFile
2014-10-06 13:11:16 -04:00