summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore4
-rwxr-xr-xgerber/excellon.py10
2 files changed, 13 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
index 01ba410..c417f7a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -37,10 +37,12 @@ nosetests.xml
.idea/workspace.xml
.idea/misc.xml
.idea
+.settings
# Komodo Files
*.komodoproject
# OS Files
.DS_Store
-Thumbs.db \ No newline at end of file
+Thumbs.db
+
diff --git a/gerber/excellon.py b/gerber/excellon.py
index 65e676b..bcd136e 100755
--- a/gerber/excellon.py
+++ b/gerber/excellon.py
@@ -80,6 +80,16 @@ def loads(data, settings = None, tools = None):
class DrillHit(object):
+ """Drill feature that is a single drill hole.
+
+ Attributes
+ ----------
+ tool : ExcellonTool
+ Tool to drill the hole. Defines the size of the hole that is generated.
+ position : tuple(float, float)
+ Center position of the drill.
+
+ """
def __init__(self, tool, position):
self.tool = tool
self.position = position