diff options
author | jaseg <git-bigdata-wsl-arch@jaseg.de> | 2022-06-18 23:52:02 +0200 |
---|---|---|
committer | jaseg <git-bigdata-wsl-arch@jaseg.de> | 2022-06-18 23:52:02 +0200 |
commit | 4b38d0905e766e19e19103b86af1a6352c8e1bf9 (patch) | |
tree | bee4e6e8f7f80bda3b1e4bd781361d4cf76bba75 /gerbonara/layers.py | |
parent | a88364b7a98b6f8d8edd4f1616908ba8889485dd (diff) | |
download | gerbonara-4b38d0905e766e19e19103b86af1a6352c8e1bf9.tar.gz gerbonara-4b38d0905e766e19e19103b86af1a6352c8e1bf9.tar.bz2 gerbonara-4b38d0905e766e19e19103b86af1a6352c8e1bf9.zip |
Add altium naming scheme, fix kicad scheme
Diffstat (limited to 'gerbonara/layers.py')
-rw-r--r-- | gerbonara/layers.py | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/gerbonara/layers.py b/gerbonara/layers.py index 75997be..2c48a83 100644 --- a/gerbonara/layers.py +++ b/gerbonara/layers.py @@ -60,10 +60,29 @@ class NamingScheme: 'bottom paste': '{board_name}-B.Paste.gbr',
'inner copper': '{board_name}-In{layer_number}.Cu.gbr',
'mechanical outline': '{board_name}-Edge.Cuts.gbr',
- 'drill unknown': '{board_name}.drl',
+ 'unknown drill': '{board_name}.drl',
+ 'plated drill': '{board_name}.plated.drl',
+ 'nonplated drill': '{board_name}.nonplated.drl',
'other netlist': '{board_name}.d356',
}
+ altium = {
+ 'top copper': '{board_name}.gtl',
+ 'top mask': '{board_name}.gts',
+ 'top silk': '{board_name}.gto',
+ 'top paste': '{board_name}.gtp',
+ 'bottom copper': '{board_name}.gbl',
+ 'bottom mask': '{board_name}.gbs',
+ 'bottom silk': '{board_name}.gbo',
+ 'bottom paste': '{board_name}.gbp',
+ 'inner copper': '{board_name}.gp{layer_number}',
+ 'mechanical outline': '{board_name}.gko',
+ 'unknown drill': '{board_name}.drl',
+ 'plated drill': '{board_name}.plated.drl',
+ 'nonplated drill': '{board_name}.nonplated.drl',
+ }
+
+
def match_files(filenames):
matches = {}
|