diff options
author | Garret Fick <garret@ficksworkshop.com> | 2016-01-31 14:17:35 +0800 |
---|---|---|
committer | Garret Fick <garret@ficksworkshop.com> | 2016-01-31 14:17:35 +0800 |
commit | e84f131720e5952ba0dc20de8729bfd1d7aa0fe7 (patch) | |
tree | dcecbfd0e96d437aa45b30206ce606daa96985d1 /gerber/excellon.py | |
parent | 60784dfa2107f72fcaeed739b835d647e4c3a7a9 (diff) | |
download | gerbonara-e84f131720e5952ba0dc20de8729bfd1d7aa0fe7.tar.gz gerbonara-e84f131720e5952ba0dc20de8729bfd1d7aa0fe7.tar.bz2 gerbonara-e84f131720e5952ba0dc20de8729bfd1d7aa0fe7.zip |
Add support for more excellon formats. Dont consider line width when determinging region bounding box
Diffstat (limited to 'gerber/excellon.py')
-rwxr-xr-x | gerber/excellon.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gerber/excellon.py b/gerber/excellon.py index 4317e41..4456329 100755 --- a/gerber/excellon.py +++ b/gerber/excellon.py @@ -461,6 +461,8 @@ class ExcellonParser(object): stmt = UnitStmt.from_excellon(line)
self.units = stmt.units
self.zeros = stmt.zeros
+ if stmt.format:
+ self.format = stmt.format
self.statements.append(stmt)
elif line[:3] == 'M71' or line [:3] == 'M72':
|