From efcb221fc7bd8dae583357e6c4e1c2d3fc9e9df6 Mon Sep 17 00:00:00 2001 From: Garret Fick Date: Sat, 25 Jun 2016 16:00:46 +0800 Subject: Missing * in writing aperture macro --- gerber/am_statements.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gerber/am_statements.py b/gerber/am_statements.py index f5330a5..a58f1dd 100644 --- a/gerber/am_statements.py +++ b/gerber/am_statements.py @@ -409,7 +409,7 @@ class AMOutlinePrimitive(AMPrimitive): rotation=str(self.rotation) ) # TODO I removed a closing asterix - not sure if this works for items with multiple statements - return "{code},{exposure},{n_points},{start_point},{points},\n{rotation}".format(**data) + return "{code},{exposure},{n_points},{start_point},{points},\n{rotation}*".format(**data) def to_primitive(self, units): -- cgit