summaryrefslogtreecommitdiff
path: root/gerbonara/gerber/layer_rules.py
diff options
context:
space:
mode:
authorjaseg <git@jaseg.de>2022-01-21 21:15:53 +0100
committerjaseg <git@jaseg.de>2022-01-21 21:15:53 +0100
commit606e41d4b7969c1f1d0a935aa1e957631e71cd39 (patch)
tree59a28438a8d38a8cb548407389ecdd2c7399b23a /gerbonara/gerber/layer_rules.py
parent125ef6af40307402f8c9854fae9e208573ed9d37 (diff)
downloadgerbonara-606e41d4b7969c1f1d0a935aa1e957631e71cd39.tar.gz
gerbonara-606e41d4b7969c1f1d0a935aa1e957631e71cd39.tar.bz2
gerbonara-606e41d4b7969c1f1d0a935aa1e957631e71cd39.zip
Layer merging WIP
Diffstat (limited to 'gerbonara/gerber/layer_rules.py')
-rw-r--r--gerbonara/gerber/layer_rules.py20
1 files changed, 10 insertions, 10 deletions
diff --git a/gerbonara/gerber/layer_rules.py b/gerbonara/gerber/layer_rules.py
index 6dd16c6..e0a6954 100644
--- a/gerbonara/gerber/layer_rules.py
+++ b/gerbonara/gerber/layer_rules.py
@@ -11,7 +11,7 @@ MATCH_RULES = {
'bottom silk': r'.*\.gbo',
'bottom paste': r'.*\.gbp',
'inner copper': r'.*\.gp?([0-9]+)',
- 'outline mech': r'.*\.(gko|gm[0-9]+)',
+ 'drill outline': r'.*\.(gko|gm[0-9]+)',
'drill unknown': r'.*\.(txt)',
},
@@ -25,7 +25,7 @@ MATCH_RULES = {
'bottom silk': r'.*\.gbo|.*b.silks.*',
'bottom paste': r'.*\.gbp|.*b.paste.*',
'inner copper': r'.*\.gp?([0-9]+)|.*inn?e?r?([0-9]+).cu.*',
- 'outline mech': r'.*\.(gm[0-9]+)|.*edge.cuts.*',
+ 'drill outline': r'.*\.(gm[0-9]+)|.*edge.cuts.*',
'drill plated': r'.*\.(drl)',
},
@@ -39,7 +39,7 @@ MATCH_RULES = {
'bottom silk': r'.*\.bottomsilk\.\w+',
'bottom paste': r'.*\.bottompaste\.\w+',
'inner copper': r'.*\.inner_l([0-9]+)\.\w+', # FIXME verify this
- 'outline mech': r'.*\.outline\.gbr',
+ 'drill outline': r'.*\.outline\.gbr',
'drill plated': r'.*\.plated-drill.cnc',
'drill nonplated': r'.*\.unplated-drill.cnc',
},
@@ -63,12 +63,12 @@ MATCH_RULES = {
'top mask': r'.*\.smt',
'top silk': r'.*\.sst',
'top paste': r'.*\.spt',
- 'top copper': r'.*\.bot',
- 'top mask': r'.*\.smb',
- 'top silk': r'.*\.ssb',
- 'top paste': r'.*\.spb',
+ 'bottom copper': r'.*\.bot',
+ 'bottop mask': r'.*\.smb',
+ 'bottop silk': r'.*\.ssb',
+ 'bottop paste': r'.*\.spb',
'inner copper': r'.*\.in([0-9]+)',
- 'outline gerber': r'.*\.(fab|drd)',
+ 'drill outline': r'.*\.(fab|drd)',
'drill plated': r'.*\.tap',
'drill nonplated': r'.*\.npt',
},
@@ -84,12 +84,12 @@ MATCH_RULES = {
'bottom silk': r'.*(\.pls|\.bsk|\.bottomsilkscreen\.ger)|.*(silkscreen_bottom|bottom_silk).*',
'bottom paste': r'.*(\.crs|\.bsp|\.bcream\.ger)|.*(solderpaste_bottom|bottom_paste).*',
'inner copper': r'.*\.ly([0-9]+)|.*\.internalplane([0-9]+)\.ger',
- 'outline mech': r'.*(\.dim|\.mil|\.gml)|.*\.(?:board)?outline\.ger|profile\.gbr',
+ 'drill outline': r'.*(\.dim|\.mil|\.gml)|.*\.(?:board)?outline\.ger|profile\.gbr',
'drill plated': r'.*\.(txt|exc|drd|xln)',
},
'siemens': {
- 'outline mech': r'.*ContourPlated.ncd',
+ 'drill outline': r'.*ContourPlated.ncd',
'inner copper': r'.*L([0-9]+).gdo',
'bottom silk': r'.*SilkscreenBottom.gdo',
'top silk': r'.*SilkscreenTop.gdo',