aboutsummaryrefslogtreecommitdiff
path: root/gerbolyze.py
diff options
context:
space:
mode:
authorjaseg <git@jaseg.net>2019-04-24 21:13:42 +0900
committerjaseg <git@jaseg.net>2019-04-24 21:13:42 +0900
commit20f0df3892aea77ff17aed032aba7d9207fd85ae (patch)
treee3c3a00d8019251355693513dd4ebd4d7779accd /gerbolyze.py
parentbf4620e3bf83cc332eace157ee73924b134ee5a3 (diff)
downloadgerbolyze-20f0df3892aea77ff17aed032aba7d9207fd85ae.tar.gz
gerbolyze-20f0df3892aea77ff17aed032aba7d9207fd85ae.tar.bz2
gerbolyze-20f0df3892aea77ff17aed032aba7d9207fd85ae.zip
gerbolyze: Add new KiCAD gerber extensions
Diffstat (limited to 'gerbolyze.py')
-rwxr-xr-xgerbolyze.py20
1 files changed, 10 insertions, 10 deletions
diff --git a/gerbolyze.py b/gerbolyze.py
index 724466e..fad7a33 100755
--- a/gerbolyze.py
+++ b/gerbolyze.py
@@ -290,18 +290,18 @@ def find_gerber_in_dir(dir_path, extensions, exclude=''):
# Gerber file name extensions for Altium/Protel | KiCAD | Eagle
LAYER_SPEC = {
'top': {
- 'paste': '.gtp|-F.Paste.gbr|.pmc',
- 'silk': '.gto|-F.SilkS.gbr|.plc',
- 'mask': '.gts|-F.Mask.gbr|.stc',
- 'copper': '.gtl|-F.Cu.gbr|.cmp',
- 'outline': '.gm1|-Edge.Cuts.gbr|.gmb',
+ 'paste': '.gtp|-F_Paste.gbr|-F.Paste.gbr|.pmc',
+ 'silk': '.gto|-F_SilkS.gbr|-F.SilkS.gbr|.plc',
+ 'mask': '.gts|-F_Mask.gbr|-F.Mask.gbr|.stc',
+ 'copper': '.gtl|-F_Cu.gbr|-F.Cu.gbr|.cmp',
+ 'outline': '.gm1|-Edge_Cuts.gbr|-Edge.Cuts.gbr|.gmb',
},
'bottom': {
- 'paste': '.gbp|-B.Paste.gbr|.pms',
- 'silk': '.gbo|-B.SilkS.gbr|.pls',
- 'mask': '.gbs|-B.Mask.gbr|.sts',
- 'copper': '.gbl|-B.Cu.gbr|.sol',
- 'outline': '.gm1|-Edge.Cuts.gbr|.gmb'
+ 'paste': '.gbp|-B_Paste.gbr|-B.Paste.gbr|.pms',
+ 'silk': '.gbo|-B_SilkS.gbr|-B.SilkS.gbr|.pls',
+ 'mask': '.gbs|-B_Mask.gbr|-B.Mask.gbr|.sts',
+ 'copper': '.gbl|-B_Cu.gbr|-B.Cu.gbr|.sol',
+ 'outline': '.gm1|-Edge_Cuts.gbr|-Edge.Cuts.gbr|.gmb'
},
}