summaryrefslogtreecommitdiff
path: root/gerber
diff options
context:
space:
mode:
authorHamilton Kibbe <hamilton.kibbe@gmail.com>2016-03-11 08:48:03 -0500
committerHamilton Kibbe <hamilton.kibbe@gmail.com>2016-03-11 08:48:03 -0500
commitd7df755d60f97d8c6cf29b6671a1f899c2609bab (patch)
treef1d9c764ff3f1db287cdf11adf25948770491050 /gerber
parent5df38c014fd09792995b2b12b1982c535c962c9a (diff)
parentd274b0823dbc672682c52c5cd649916aedf8f7e4 (diff)
downloadgerbonara-d7df755d60f97d8c6cf29b6671a1f899c2609bab.tar.gz
gerbonara-d7df755d60f97d8c6cf29b6671a1f899c2609bab.tar.bz2
gerbonara-d7df755d60f97d8c6cf29b6671a1f899c2609bab.zip
Merge pull request #54 from kirberich/master
Make sure apertures get a unit
Diffstat (limited to 'gerber')
-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):