Commit graph

28 commits

Author SHA1 Message Date
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
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
Paulo Henrique Silva
feda1a639b Add setuptools support 2014-10-07 09:51:08 -03:00
Paulo Henrique Silva
14e71e2c0c Merge pull request #3 from hamiltonkibbe/excellon_support
Add Excellon support
2014-09-28 20:02:30 -03:00
Hamilton Kibbe
43b599106f Add Excellon support 2014-09-28 13:04:32 -04:00
hamiltonkibbe
858fc5f6d8 Create utils.py
Start moving Gerber/Excellon number formatting to utility module
2014-09-25 12:49:03 -04:00
hamiltonkibbe
d3af7515eb Merge pull request #1 from hamiltonkibbe/context_refactor
Move evaluate methods to GerberContext class
2014-09-25 00:09:32 -04:00
Hamilton Kibbe
10d0951238 Move evaluate methods to GerberContext class 2014-09-25 00:01:10 -04:00
Paulo Henrique Silva
bd38028b01 Merge pull request #2 from DavidAustin/master
Fixed parser, added to_gerber() methods to all parse result classes to permit re-generation of Gerber file
2014-05-30 11:53:29 -03:00
David Austin
82a6de80a6 Fixed parser, added to_gerber() methods to all parse result classes to permit re-generation of Gerber file 2014-05-28 23:14:54 +10:00
Paulo Henrique Silva
7ee1866b60 N w modular organization.
* parser and render separeted on its own modules.
* svn made optional.
* PEP-8 compiant.
2014-02-05 00:34:57 +01:00
Paulo Henrique Silva
aad4fe368f Handle wierd cases where FS has no leading/trailing zero specification 2014-02-04 23:51:41 +01:00
Paulo Henrique Silva
3c825e4cae Fix handling of negative coord numbers. 2014-02-04 23:48:40 +01:00
Paulo Henrique Silva
4723852d96 New TODO file and small repo cleanup.
* idea files outside of repo now.
2014-02-04 23:37:37 +01:00
Paulo Henrique Silva
fbf5943792 Moving SVG code to use svgwrite.
Still ugly output and not all apertures handled, specially rounded and
macro based, but keeps improving.
2013-12-20 02:56:42 -02:00
Paulo Henrique Silva
a3f7c778c0 Very ugly but concept proof SVG render.
First images on first-light directory. Not a single minute spent on
visual quality, just proving that it is improving.
2013-12-19 00:46:49 -02:00
Paulo Henrique Silva
d97fe51179 Improved AD param parsing and other nicities.
* AD parsing is improved and simplified. All modifiers are now parsed and splitted.
* Refactor to remove token notation. It is not a token it is a statement.
* Added simple json export
2013-12-18 18:05:48 -02:00
Paulo Henrique Silva
cc8dc48947 Remove unnecessary PyCharm config file 2013-12-18 18:05:02 -02:00
Paulo Henrique Silva
35f0063876 Significantly improved parsing.
* Parsing complete for most of the non-deprecated gerber specification.
* Initial evaluation machine in place, but no useful result yet.
2013-12-18 06:16:32 -02:00
Paulo Henrique Silva
d8f3aa9588 Refactor function mathcing.
Make match functions that returns dict or lists of dicts to prepare for
statement creation.
2013-12-18 03:23:37 -02:00
Paulo Henrique Silva
b88e242625 Configure Epytext as default docstring formatter. 2013-12-18 03:22:56 -02:00
Paulo Henrique Silva
560a68eeb9 Make PEP-8 clean. 2013-12-18 03:01:03 -02:00
Paulo Henrique Silva
6b8f0470e9 Add PyCharm project 2013-12-18 02:58:11 -02:00
Paulo Henrique Silva
6aa1c0567d Make gerber package 2013-12-18 02:57:11 -02:00
Paulo Henrique Silva
c1518b5dfe Working version of Gerber RS-274X parser. 2013-12-17 18:05:30 -02:00
Paulo Henrique Silva
e53c6bba9b Initial commit 2013-12-17 12:01:34 -08:00