Commit graph

31 commits

Author SHA1 Message Date
Garret Fick
288f49955e Actually fix the rout rendering to be correct 2016-03-27 14:24:11 +08:00
Garret Fick
acde19f205 Support for the G85 slot statement 2016-03-26 15:59:42 +08:00
Garret Fick
d12f6385a4 Basic rendering of excellon works, but still has issues 2016-03-24 00:10:34 +08:00
Garret Fick
7053d320f0 Better detection of plated tools 2016-03-13 14:27:09 +08:00
Garret Fick
0f1d1c3a29 Remove some testing code from gerber writer. More implementation for excellon writer - not working yet 2016-03-05 14:56:08 +08:00
Garret Fick
e84f131720 Add support for more excellon formats. Dont consider line width when determinging region bounding box 2016-01-31 14:17:35 +08:00
Garret Fick
2e42d1a470 Support KiCad format statement where FMAT,2 is 2:4 with inch 2015-12-30 16:11:25 +08:00
Garret Fick
4e838df32a Parse misc nc drill files 2015-12-19 11:44:12 +08:00
Paulo Henrique Silva
9ca75f991a Improve Excellon parsing coverage
Add some not so used codes that were generating unknown stmt.
2015-11-13 03:31:32 -02:00
Hamilton Kibbe
94f3976915 Add keys to statements for linking to primitives. Add some API features to ExcellonFile, such as getting a tool path length and changing tool parameters. Excellonfiles write method generates statements based on the drill hits in the hits member, so drill hits in a generated file can be re-ordered by re-ordering the drill hits in ExcellonFile.hits. see #30 2015-06-11 11:20:56 -04:00
Hamilton Kibbe
8ec3077be9 Add checks to ensure statement unit conversions are idempotent 2015-05-16 09:45:34 -04:00
Paulo Henrique Silva
21d963d244 Allow 3 digits on Excellon tool selection
Fritzing uses more than 2 digits for tool in their Excellons. To comply
with that, I check specifically for 3 or less digits and use as tool
number, more than that we treat as the standard (2 for tool and 2 for
compensation index)
2015-04-27 04:01:48 -03:00
Paulo Henrique Silva
b9b20a9644 Fix Excellon repeat command 2015-04-07 18:17:25 -03:00
Hamilton Kibbe
5966d7830b Add offset operation 2015-02-18 23:13:23 -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
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
b495d51354 Changed zeros/zero suppression conventions to match file format specs 2015-01-25 14:19:48 -05:00
Paulo Henrique Silva
0f36084aad Add Repeat Hole Stmt and fix UnitStmt parsing
* Repeat hole support (with no real parsing, just a copy)
* Fix UnitStmt to works even when a ,TZ or ,LZ information is not provided.
2015-01-15 05:01:40 -02:00
Paulo Henrique Silva
137c73f3e4 Many additions to Excellon parsing/creation.
CAUTION: the original code used zero_suppression flags
         in the opposite sense as Gerber functions. This
         patch changes it to behave just like Gerber code.

* Add metric/inch conversion support
* Add settings context variable to to_gerber just like Gerber code.
* Add some missing Excellon values.

Tests are not entirely updated.
2015-01-14 14:33:00 -02:00
Hamilton Kibbe
18e3b87625 Test update 2014-10-19 22:23:00 -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
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
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
Hamilton Kibbe
597427d785 add excellon statements 2014-10-06 08:33:53 -04:00