summaryrefslogtreecommitdiff
path: root/gerber/layers.py
diff options
context:
space:
mode:
authorHamilton Kibbe <hamilton.kibbe@gmail.com>2016-01-01 12:25:38 -0500
committerHamilton Kibbe <hamilton.kibbe@gmail.com>2016-01-01 12:25:38 -0500
commit6a005436b475e3517fd6a583473b60e601bcc661 (patch)
tree5678cff7ba877e9c93ea63445f081fd0430f8b4b /gerber/layers.py
parent5430fa6738b74f324c47c947477dd5b779db5d1c (diff)
downloadgerbonara-6a005436b475e3517fd6a583473b60e601bcc661.tar.gz
gerbonara-6a005436b475e3517fd6a583473b60e601bcc661.tar.bz2
gerbonara-6a005436b475e3517fd6a583473b60e601bcc661.zip
Refactor a little
pulled all rendering stuff out of the pcb/layer objects
Diffstat (limited to 'gerber/layers.py')
-rw-r--r--gerber/layers.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/gerber/layers.py b/gerber/layers.py
index c6a5bf7..2b73893 100644
--- a/gerber/layers.py
+++ b/gerber/layers.py
@@ -21,7 +21,7 @@ from collections import namedtuple
from .excellon import ExcellonFile
from .ipc356 import IPC_D_356
-from .render.render import Renderable
+
Hint = namedtuple('Hint', 'layer ext name')
@@ -109,7 +109,7 @@ def sort_layers(layers):
return output
-class PCBLayer(Renderable):
+class PCBLayer(object):
""" Base class for PCB Layers
Parameters
@@ -207,7 +207,7 @@ class InternalLayer(PCBLayer):
return (self.order <= other.order)
-class LayerSet(Renderable):
+class LayerSet(object):
def __init__(self, name, layers, **kwargs):
super(LayerSet, self).__init__(**kwargs)
self.name = name