summaryrefslogtreecommitdiff
path: root/gerber/cnc.py
diff options
context:
space:
mode:
Diffstat (limited to 'gerber/cnc.py')
-rw-r--r--gerber/cnc.py3
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