Commit graph

18 commits

Author SHA1 Message Date
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
Paulo Henrique Silva
b93804ed9a Add unspecified FS D leading zeros format
FS D leading zero format (probably form Direct) is an unspecified
coordinate format where all numbers are specified with both leading
and trailing zeros.
2015-04-07 18:22:02 -03:00
Hamilton Kibbe
68619d4d5a Fix parsing for multiline ipc-d-356 records 2015-03-05 22:42:42 -05:00
Hamilton Kibbe
e71d7a24b5 Python 3 tests passing 2015-02-18 21:14:30 -05:00
Hamilton Kibbe
288ac27084 Get unit conversion working for Gerber/Excellon files
Started operations module for file operations/transforms
2015-02-18 04:31:23 -05:00
Hamilton Kibbe
aea1f38597 Fix write_gerber_value bug 2015-02-08 22:27:24 -05:00
Hamilton Kibbe
1cc20b351c tests 2015-02-02 11:42:47 -05:00
Paulo Henrique Silva
ac89a3c365 Fix for cases whee the coordinate precision is decreased.
If we parse a file with 5.5 INCH format and ask to write
it back as 2.4 INCH we are going to loose precision and
write_gerber_value was not handling these cases write.
2015-01-14 14:31:03 -02:00
Paulo Henrique Silva
4bb2e5f8a0 Fix parsing for very short (less 20 lines) files. 2014-12-15 23:44:12 -02:00
Paulo Henrique Silva
ab69ee0172 Bunch of small fixes to improve Gerber read/write. 2014-11-10 12:24:09 -02:00
Hamilton Kibbe
254f3e5184 Merge changes from upstream 2014-10-26 17:20:47 -04:00
Hamilton Kibbe
18e3b87625 Test update 2014-10-19 22:23:00 -04:00
Hamilton Kibbe
af97dcf2a8 fix excellon render 2014-10-07 22:44:08 -04:00
Hamilton Kibbe
22a6f87e94 add excellon file write 2014-10-06 18:28:32 -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
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