From 4b38d0905e766e19e19103b86af1a6352c8e1bf9 Mon Sep 17 00:00:00 2001 From: jaseg Date: Sat, 18 Jun 2022 23:52:02 +0200 Subject: Add altium naming scheme, fix kicad scheme --- gerbonara/layers.py | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) (limited to 'gerbonara') 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 = {} -- cgit