summaryrefslogtreecommitdiff
path: root/gerber
diff options
context:
space:
mode:
Diffstat (limited to 'gerber')
-rw-r--r--gerber/__init__.py5
-rwxr-xr-xgerber/excellon.py6
-rw-r--r--gerber/gerber.py3
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.