summaryrefslogtreecommitdiff
path: root/gerbonara/layer_rules.py
diff options
context:
space:
mode:
authorjaseg <git@jaseg.de>2022-02-04 22:10:19 +0100
committerjaseg <git@jaseg.de>2022-02-04 22:10:19 +0100
commit4cbda84aa61158c06acc78aac4b318bbea5b6214 (patch)
tree7b5724b019324bbadd862076ece399a73a670b90 /gerbonara/layer_rules.py
parenteaf4f21ce65081da0490a41ee1829b4ec8319109 (diff)
downloadgerbonara-4cbda84aa61158c06acc78aac4b318bbea5b6214.tar.gz
gerbonara-4cbda84aa61158c06acc78aac4b318bbea5b6214.tar.bz2
gerbonara-4cbda84aa61158c06acc78aac4b318bbea5b6214.zip
More doc, fix tests
Diffstat (limited to 'gerbonara/layer_rules.py')
-rw-r--r--gerbonara/layer_rules.py12
1 files changed, 10 insertions, 2 deletions
diff --git a/gerbonara/layer_rules.py b/gerbonara/layer_rules.py
index 7d61170..fc9af7a 100644
--- a/gerbonara/layer_rules.py
+++ b/gerbonara/layer_rules.py
@@ -148,7 +148,7 @@ MATCH_RULES = {
},
'allegro': {
- # Allegro doesn't have any widespread convention, so we rely heavily on the layer name auto-guesser here.
+ # Allegro doesn't have any widespread convention, so we rely heavily on the layer name auto-guesser here.
'drill mech': r'.*\.rou',
'drill mech': r'.*\.drl',
'generic gerber': r'.*\.art',
@@ -160,9 +160,17 @@ MATCH_RULES = {
},
'pads': {
- # Pads also does not seem to have a factory-default naming schema. Or it has one but everyone ignores it.
+ # Pads also does not seem to have a factory-default naming schema. Or it has one but everyone ignores it.
'generic gerber': r'.*\.pho',
'drill mech': r'.*\.drl',
},
+'zuken': {
+ 'generic gerber': r'.*\.fph',
+ 'gerber params': r'.*\.fpl',
+ 'drill mech': r'.*\.fdr',
+ 'excellon params': r'.*\.fdl',
+ 'other netlist': r'.*\.ipc',
+ 'ipc-2581': r'.*\.xml',
+ },
}