diff options
author | Hamilton Kibbe <ham@hamiltonkib.be> | 2014-10-01 14:39:32 -0400 |
---|---|---|
committer | Hamilton Kibbe <ham@hamiltonkib.be> | 2014-10-01 14:39:32 -0400 |
commit | 0b8e2e4b8b552e90d55eabe39aefba0b5b3daef5 (patch) | |
tree | 5c2e88d7bfafecea182922c68324506cfcc4c613 /gerber | |
parent | ea0dc8d0c8d0002008a462fbb70e8846f6691253 (diff) | |
download | gerbonara-0b8e2e4b8b552e90d55eabe39aefba0b5b3daef5.tar.gz gerbonara-0b8e2e4b8b552e90d55eabe39aefba0b5b3daef5.tar.bz2 gerbonara-0b8e2e4b8b552e90d55eabe39aefba0b5b3daef5.zip |
added numpydoc
Diffstat (limited to 'gerber')
-rw-r--r-- | gerber/__init__.py | 5 | ||||
-rwxr-xr-x | gerber/excellon.py | 6 | ||||
-rw-r--r-- | gerber/gerber.py | 3 |
3 files changed, 11 insertions, 3 deletions
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, (<float>, <float>) Size in [self.units] of the layer described by the gerber file. |