summaryrefslogtreecommitdiff
path: root/gerber/excellon.py
diff options
context:
space:
mode:
authorGarret Fick <garret@ficksworkshop.com>2015-12-02 12:44:30 +0800
committerGarret Fick <garret@ficksworkshop.com>2015-12-02 12:44:30 +0800
commitd69f50e0f62570a4c327cb8fe4f886f439196010 (patch)
tree571d519f91f4852b283d0f7a5ce7c61be4767b75 /gerber/excellon.py
parent8eede187f3f644c4f8a0de0dc5825dc4c00c7b8f (diff)
downloadgerbonara-d69f50e0f62570a4c327cb8fe4f886f439196010.tar.gz
gerbonara-d69f50e0f62570a4c327cb8fe4f886f439196010.tar.bz2
gerbonara-d69f50e0f62570a4c327cb8fe4f886f439196010.zip
Make the hit accessible from the drawable Hit, fix crash with cario drawing rect
Diffstat (limited to 'gerber/excellon.py')
-rwxr-xr-xgerber/excellon.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gerber/excellon.py b/gerber/excellon.py
index 708f50b..4ff2161 100755
--- a/gerber/excellon.py
+++ b/gerber/excellon.py
@@ -126,7 +126,7 @@ class ExcellonFile(CamFile):
@property
def primitives(self):
- return [Drill(hit.position, hit.tool.diameter,units=self.settings.units) for hit in self.hits]
+ return [Drill(hit.position, hit.tool.diameter, hit, units=self.settings.units) for hit in self.hits]
@property