diff options
author | Garret Fick <garret@ficksworkshop.com> | 2016-07-16 14:22:38 +0800 |
---|---|---|
committer | Garret Fick <garret@ficksworkshop.com> | 2016-07-16 14:22:38 +0800 |
commit | 7a79d1504e348251740efe622b4018cc26ffcd59 (patch) | |
tree | 7f193b4931f97df56b9fef95ba5f2f026ae70b94 /gerber/excellon.py | |
parent | 10c7075ad5fc05907e53036b2e308cfc372476c7 (diff) | |
download | gerbonara-7a79d1504e348251740efe622b4018cc26ffcd59.tar.gz gerbonara-7a79d1504e348251740efe622b4018cc26ffcd59.tar.bz2 gerbonara-7a79d1504e348251740efe622b4018cc26ffcd59.zip |
Setup .gitignore for Eclipse. Start creating doc strings
Diffstat (limited to 'gerber/excellon.py')
-rwxr-xr-x | gerber/excellon.py | 10 |
1 files changed, 10 insertions, 0 deletions
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
|