diff options
author | jaseg <git@jaseg.de> | 2022-01-21 21:41:16 +0100 |
---|---|---|
committer | jaseg <git@jaseg.de> | 2022-01-21 21:41:16 +0100 |
commit | fd8a259fb00af3e5b516ca3a94ecf54178920b92 (patch) | |
tree | 6a6a074d71a00b1bd464a03e95f7af5dcfccf07b /gerbonara/gerber/layers.py | |
parent | 002d1ed0cfad09d444c086398823f2769008bbe2 (diff) | |
download | gerbonara-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.py | 2 |
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:
|