diff options
author | Garret Fick <garret@ficksworkshop.com> | 2015-12-30 14:05:00 +0800 |
---|---|---|
committer | Garret Fick <garret@ficksworkshop.com> | 2015-12-30 14:05:00 +0800 |
commit | 4a815bf25ddd1d378ec6ad5af008e5bbcd362b51 (patch) | |
tree | c9bd8f971d488e71a88cd4e48703533d301f9167 /gerber/gerber_statements.py | |
parent | ca3c682da59bd83c460a3e51ed3a80280f909d49 (diff) | |
download | gerbonara-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.py | 3 |
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': |