diff options
author | Paulo Henrique Silva <ph.silva@gmail.com> | 2015-04-24 13:34:26 -0300 |
---|---|---|
committer | Paulo Henrique Silva <ph.silva@gmail.com> | 2015-04-24 13:34:26 -0300 |
commit | 80cdaf075e97da688e95dc2c5d5f2c3d702fdf5a (patch) | |
tree | c07ae5b56ccb13bce694ce1b51b4eab19ace0622 /gerber/excellon.py | |
parent | a3cce62be741cb2bc1e65165ba4f0b45c8838b60 (diff) | |
parent | 390838fc8b70c9b105fdc1d3e35a4533b27faa83 (diff) | |
download | gerbonara-80cdaf075e97da688e95dc2c5d5f2c3d702fdf5a.tar.gz gerbonara-80cdaf075e97da688e95dc2c5d5f2c3d702fdf5a.tar.bz2 gerbonara-80cdaf075e97da688e95dc2c5d5f2c3d702fdf5a.zip |
Merge pull request #26 from curtacircuitos/unit_conversion_fix
Fix for #25. Check units at the primitive level
Diffstat (limited to 'gerber/excellon.py')
-rwxr-xr-x | gerber/excellon.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gerber/excellon.py b/gerber/excellon.py index 930b683..0f70de7 100755 --- a/gerber/excellon.py +++ b/gerber/excellon.py @@ -81,7 +81,7 @@ class ExcellonFile(CamFile): filename=filename)
self.tools = tools
self.hits = hits
- self.primitives = [Drill(position, tool.diameter)
+ self.primitives = [Drill(position, tool.diameter, units=settings.units)
for tool, position in self.hits]
@property
|