summaryrefslogtreecommitdiff
path: root/gerber/am_statements.py
diff options
context:
space:
mode:
authorGarret Fick <garret@ficksworkshop.com>2016-05-28 13:06:08 +0800
committerGarret Fick <garret@ficksworkshop.com>2016-05-28 13:06:08 +0800
commit3fc296918e7d0d343840c5daa08eb6d564660a29 (patch)
tree64847e0483cc5bc4893c7fa426047200a4697a9f /gerber/am_statements.py
parent49dadd46ee62a863b75087e9ed8f0590183bd525 (diff)
downloadgerbonara-3fc296918e7d0d343840c5daa08eb6d564660a29.tar.gz
gerbonara-3fc296918e7d0d343840c5daa08eb6d564660a29.tar.bz2
gerbonara-3fc296918e7d0d343840c5daa08eb6d564660a29.zip
Use the known macro statement to render. Fix thermal not setting rotation
Diffstat (limited to 'gerber/am_statements.py')
-rw-r--r--gerber/am_statements.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/gerber/am_statements.py b/gerber/am_statements.py
index faaed05..c3229ba 100644
--- a/gerber/am_statements.py
+++ b/gerber/am_statements.py
@@ -715,8 +715,9 @@ class AMThermalPrimitive(AMPrimitive):
outer_diameter = self.outer_diameter,
inner_diameter = self.inner_diameter,
gap = self.gap,
+ rotation = self.rotation
)
- fmt = "{code},{position},{outer_diameter},{inner_diameter},{gap}*"
+ fmt = "{code},{position},{outer_diameter},{inner_diameter},{gap},{rotation}*"
return fmt.format(**data)
def _approximate_arc_cw(self, start_angle, end_angle, radius, center):