diff options
author | Hamilton Kibbe <ham@hamiltonkib.be> | 2014-10-06 13:11:16 -0400 |
---|---|---|
committer | Hamilton Kibbe <ham@hamiltonkib.be> | 2014-10-06 13:11:16 -0400 |
commit | 08253b40f6f677c4edaeb7108177846d8f0d8703 (patch) | |
tree | 6d96738ac15c3e8a2e207eac2828e19cbcc9eecd /gerber/cnc.py | |
parent | e565624b8181ea0a9dd5ea1585025a4eec72ac18 (diff) | |
download | gerbonara-08253b40f6f677c4edaeb7108177846d8f0d8703.tar.gz gerbonara-08253b40f6f677c4edaeb7108177846d8f0d8703.tar.bz2 gerbonara-08253b40f6f677c4edaeb7108177846d8f0d8703.zip |
Update excellon statements/ExcellonFile
Diffstat (limited to 'gerber/cnc.py')
-rw-r--r-- | gerber/cnc.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gerber/cnc.py b/gerber/cnc.py index aaa1a42..d17517a 100644 --- a/gerber/cnc.py +++ b/gerber/cnc.py @@ -92,7 +92,7 @@ class CncFile(object): decimal digits) """ - def __init__(self, settings=None, filename=None): + def __init__(self, statements=None, settings=None, filename=None): if settings is not None: self.notation = settings['notation'] self.units = settings['units'] @@ -103,6 +103,7 @@ class CncFile(object): self.units = 'inch' self.zero_suppression = 'trailing' self.format = (2, 5) + self.statements = statements if statements is not None else [] self.filename = filename @property |