From 0b8e2e4b8b552e90d55eabe39aefba0b5b3daef5 Mon Sep 17 00:00:00 2001 From: Hamilton Kibbe Date: Wed, 1 Oct 2014 14:39:32 -0400 Subject: added numpydoc --- gerber/__init__.py | 5 +++++ gerber/excellon.py | 6 ++++++ gerber/gerber.py | 3 --- 3 files changed, 11 insertions(+), 3 deletions(-) (limited to 'gerber') diff --git a/gerber/__init__.py b/gerber/__init__.py index e31bd6f..3197335 100644 --- a/gerber/__init__.py +++ b/gerber/__init__.py @@ -14,7 +14,12 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. +""" +gerber module +============ +**Gerber Tools** +""" def read(filename): """ Read a gerber or excellon file and return a representative object. diff --git a/gerber/excellon.py b/gerber/excellon.py index dbd9502..7c7d0c6 100755 --- a/gerber/excellon.py +++ b/gerber/excellon.py @@ -14,7 +14,13 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. +""" +Excellon module +============ +**Excellon file classes** +This module provides Excellon file classes and parsing utilities +""" import re from .utils import parse_gerber_value from .cnc import CncFile, FileSettings diff --git a/gerber/gerber.py b/gerber/gerber.py index 20409f1..3f93ed4 100644 --- a/gerber/gerber.py +++ b/gerber/gerber.py @@ -59,9 +59,6 @@ class GerberFile(CncFile): comments: list of strings List of comments contained in the gerber file. - units : string - either 'inch' or 'metric'. - size : tuple, (, ) Size in [self.units] of the layer described by the gerber file. -- cgit