summaryrefslogtreecommitdiff
path: root/gerbonara/gerber/layers.py
diff options
context:
space:
mode:
authorjaseg <git@jaseg.de>2022-01-21 21:41:16 +0100
committerjaseg <git@jaseg.de>2022-01-21 21:41:16 +0100
commitfd8a259fb00af3e5b516ca3a94ecf54178920b92 (patch)
tree6a6a074d71a00b1bd464a03e95f7af5dcfccf07b /gerbonara/gerber/layers.py
parent002d1ed0cfad09d444c086398823f2769008bbe2 (diff)
downloadgerbonara-fd8a259fb00af3e5b516ca3a94ecf54178920b92.tar.gz
gerbonara-fd8a259fb00af3e5b516ca3a94ecf54178920b92.tar.bz2
gerbonara-fd8a259fb00af3e5b516ca3a94ecf54178920b92.zip
Add allegro gerber comment parser
Diffstat (limited to 'gerbonara/gerber/layers.py')
-rw-r--r--gerbonara/gerber/layers.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/gerbonara/gerber/layers.py b/gerbonara/gerber/layers.py
index 26dd9c1..bb72ff0 100644
--- a/gerbonara/gerber/layers.py
+++ b/gerbonara/gerber/layers.py
@@ -174,6 +174,7 @@ class LayerStack:
filemap = autoguess([ f for files in filemap for f in files ])
if len(filemap < 6):
raise SystemError('Cannot figure out gerber file mapping')
+ # FIXME use layer metadata from comments and ipc file if available
else:
excellon_settings = None
@@ -236,6 +237,7 @@ class LayerStack:
self.drill_layers = [target]
def normalize_drill_layers(self):
+ # TODO: maybe also separate into drill and route?
drill_pth, drill_npth, drill_aux = [], [], []
for layer in self.drill_layers: