summaryrefslogtreecommitdiff
path: root/gerbonara/cad/primitives.py
diff options
context:
space:
mode:
authorjaseg <git@jaseg.de>2024-07-07 00:52:38 +0200
committerjaseg <git@jaseg.de>2024-07-07 00:52:38 +0200
commitef3b5d5e1c242d98a03b9527862d0216a5188796 (patch)
treeefe3ebb313c32c29f815f84ad47c3987a345187b /gerbonara/cad/primitives.py
parent552f30c15dc1fc11b418d08e3f598d170bbea5c4 (diff)
downloadgerbonara-ef3b5d5e1c242d98a03b9527862d0216a5188796.tar.gz
gerbonara-ef3b5d5e1c242d98a03b9527862d0216a5188796.tar.bz2
gerbonara-ef3b5d5e1c242d98a03b9527862d0216a5188796.zip
Spiky proto also works now
Diffstat (limited to 'gerbonara/cad/primitives.py')
-rw-r--r--gerbonara/cad/primitives.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/gerbonara/cad/primitives.py b/gerbonara/cad/primitives.py
index 82c06e1..591999c 100644
--- a/gerbonara/cad/primitives.py
+++ b/gerbonara/cad/primitives.py
@@ -118,7 +118,7 @@ class Board:
def layer_stack(self, layer_stack=None):
if layer_stack is None:
- layer_stack = LayerStack()
+ layer_stack = LayerStack(board_name='proto')
cache = {}
for obj in chain(self.objects):
@@ -127,6 +127,7 @@ class Board:
layer_stack['mechanical', 'outline'].objects.extend(self.outline)
layer_stack['top', 'silk'].objects.extend(self.extra_silk_top)
layer_stack['bottom', 'silk'].objects.extend(self.extra_silk_bottom)
+ print('layer stack is', repr(layer_stack['top', 'copper'].objects)[:1000])
return layer_stack