summaryrefslogtreecommitdiff
path: root/gerbonara/layer_rules.py
diff options
context:
space:
mode:
authorjaseg <git@jaseg.de>2022-05-21 15:29:18 +0200
committerjaseg <git@jaseg.de>2022-05-21 15:29:18 +0200
commite422243a6e76d0b798ae8f175a717c193be4d22a (patch)
tree40f2de58c06baa42d45f1d47bf9ca7d111bcb6be /gerbonara/layer_rules.py
parentc127c89fa3a6dd957b2eb66660905dc84751c2b2 (diff)
downloadgerbonara-e422243a6e76d0b798ae8f175a717c193be4d22a.tar.gz
gerbonara-e422243a6e76d0b798ae8f175a717c193be4d22a.tar.bz2
gerbonara-e422243a6e76d0b798ae8f175a717c193be4d22a.zip
Fix layer stack SVG export
Diffstat (limited to 'gerbonara/layer_rules.py')
-rw-r--r--gerbonara/layer_rules.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gerbonara/layer_rules.py b/gerbonara/layer_rules.py
index c77c198..6a53f4e 100644
--- a/gerbonara/layer_rules.py
+++ b/gerbonara/layer_rules.py
@@ -39,11 +39,11 @@ MATCH_RULES = {
'kicad': {
'top copper': r'.*\.gtl|.*f.cu.(gbr|gtl)',
'top mask': r'.*\.gts|.*f.mask.(gbr|gts)',
- 'top silk': r'.*\.gto|.*f.silks.(gbr|gto)',
+ 'top silk': r'.*\.gto|.*f.silks(creen)?.(gbr|gto)',
'top paste': r'.*\.gtp|.*f.paste.(gbr|gtp)',
'bottom copper': r'.*\.gbl|.*b.cu.(gbr|gbl)',
'bottom mask': r'.*\.gbs|.*b.mask.(gbr|gbs)',
- 'bottom silk': r'.*\.gbo|.*b.silks.(gbr|gbo)',
+ 'bottom silk': r'.*\.gbo|.*b.silks(creen)?.(gbr|gbo)',
'bottom paste': r'.*\.gbp|.*b.paste.(gbr|gbp)',
'inner copper': r'.*\.gp?([0-9]+)|.*inn?e?r?([0-9]+).cu.(?:gbr|g[0-9]+)',
'mechanical outline': r'.*\.(gm[0-9]+)|.*edge.cuts.(gbr|gm1)',