summaryrefslogtreecommitdiff
path: root/gerber/gerber_statements.py
diff options
context:
space:
mode:
authorGarret Fick <garret@ficksworkshop.com>2015-12-30 14:05:00 +0800
committerGarret Fick <garret@ficksworkshop.com>2015-12-30 14:05:00 +0800
commit4a815bf25ddd1d378ec6ad5af008e5bbcd362b51 (patch)
treec9bd8f971d488e71a88cd4e48703533d301f9167 /gerber/gerber_statements.py
parentca3c682da59bd83c460a3e51ed3a80280f909d49 (diff)
downloadgerbonara-4a815bf25ddd1d378ec6ad5af008e5bbcd362b51.tar.gz
gerbonara-4a815bf25ddd1d378ec6ad5af008e5bbcd362b51.tar.bz2
gerbonara-4a815bf25ddd1d378ec6ad5af008e5bbcd362b51.zip
First time any macro renders
Diffstat (limited to 'gerber/gerber_statements.py')
-rw-r--r--gerber/gerber_statements.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/gerber/gerber_statements.py b/gerber/gerber_statements.py
index fd1e629..14a431b 100644
--- a/gerber/gerber_statements.py
+++ b/gerber/gerber_statements.py
@@ -26,6 +26,7 @@ from .utils import (parse_gerber_value, write_gerber_value, decimal_string,
from .am_statements import *
from .am_read import read_macro
from .am_eval import eval_macro
+from .primitives import AMGroup
class Statement(object):
@@ -388,6 +389,8 @@ class AMParamStmt(ParamStmt):
self.primitives.append(AMThermalPrimitive.from_gerber(primitive))
else:
self.primitives.append(AMUnsupportPrimitive.from_gerber(primitive))
+
+ return AMGroup(self.primitives, units=self.units)
def to_inch(self):
if self.units == 'metric':