summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Kirberich <robert@kirberich.de>2016-03-10 20:51:53 +0000
committerRobert Kirberich <robert@kirberich.de>2016-03-10 20:51:53 +0000
commitd274b0823dbc672682c52c5cd649916aedf8f7e4 (patch)
treef1d9c764ff3f1db287cdf11adf25948770491050
parent5df38c014fd09792995b2b12b1982c535c962c9a (diff)
downloadgerbonara-d274b0823dbc672682c52c5cd649916aedf8f7e4.tar.gz
gerbonara-d274b0823dbc672682c52c5cd649916aedf8f7e4.tar.bz2
gerbonara-d274b0823dbc672682c52c5cd649916aedf8f7e4.zip
Make sure apertures get a unit
-rw-r--r--gerber/rs274x.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/gerber/rs274x.py b/gerber/rs274x.py
index 76e5101..911b8ae 100644
--- a/gerber/rs274x.py
+++ b/gerber/rs274x.py
@@ -448,6 +448,7 @@ class GerberParser(object):
else:
aperture = self.macros[shape].build(modifiers)
+ aperture.units = self.settings.units
self.apertures[d] = aperture
def _evaluate_mode(self, stmt):