summaryrefslogtreecommitdiff
path: root/gerber/pcb.py
diff options
context:
space:
mode:
Diffstat (limited to 'gerber/pcb.py')
-rw-r--r--gerber/pcb.py13
1 files changed, 0 insertions, 13 deletions
diff --git a/gerber/pcb.py b/gerber/pcb.py
index 990a05c..0518dd4 100644
--- a/gerber/pcb.py
+++ b/gerber/pcb.py
@@ -21,7 +21,6 @@ from .exceptions import ParseError
from .layers import PCBLayer, LayerSet, sort_layers
from .common import read as gerber_read
from .utils import listdir
-from .render import theme
class PCB(object):
@@ -58,23 +57,11 @@ class PCB(object):
def __init__(self, layers, name=None):
self.layers = sort_layers(layers)
self.name = name
- self._theme = theme.THEMES['Default']
- self.theme = self._theme
def __len__(self):
return len(self.layers)
@property
- def theme(self):
- return self._theme
-
- @theme.setter
- def theme(self, theme):
- self._theme = theme
- for layer in self.layers:
- layer.settings = theme[layer.layer_class]
-
- @property
def top_layers(self):
board_layers = [l for l in reversed(self.layers) if l.layer_class in ('topsilk', 'topmask', 'top')]
drill_layers = [l for l in self.drill_layers if 'top' in l.layers]