From d274b0823dbc672682c52c5cd649916aedf8f7e4 Mon Sep 17 00:00:00 2001 From: Robert Kirberich Date: Thu, 10 Mar 2016 20:51:53 +0000 Subject: Make sure apertures get a unit --- gerber/rs274x.py | 1 + 1 file changed, 1 insertion(+) (limited to 'gerber') 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): -- cgit