diff options
author | Robert Kirberich <robert@kirberich.de> | 2016-03-10 20:51:53 +0000 |
---|---|---|
committer | Robert Kirberich <robert@kirberich.de> | 2016-03-10 20:51:53 +0000 |
commit | d274b0823dbc672682c52c5cd649916aedf8f7e4 (patch) | |
tree | f1d9c764ff3f1db287cdf11adf25948770491050 /gerber | |
parent | 5df38c014fd09792995b2b12b1982c535c962c9a (diff) | |
download | gerbonara-d274b0823dbc672682c52c5cd649916aedf8f7e4.tar.gz gerbonara-d274b0823dbc672682c52c5cd649916aedf8f7e4.tar.bz2 gerbonara-d274b0823dbc672682c52c5cd649916aedf8f7e4.zip |
Make sure apertures get a unit
Diffstat (limited to 'gerber')
-rw-r--r-- | gerber/rs274x.py | 1 |
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): |