EPS: update files before gerber export, update renaming script for Gatema

Solar_module_XY EPS_v1.0
Petr Malanik 3 years ago
parent 35c114d32d
commit 8fdab7ff0b

File diff suppressed because it is too large Load Diff

@ -1,5 +1,6 @@
# Original source: https://gist.github.com/xesscorp/8a2ed1b8923f04ae6366
# Edit by Jarek Paral <paral@robotikabrno.cz>
# Further edits by Petr Malanik <Malanik.Petr.gm@gmail.com>
#
# KiCad outputs Gerber files with extensions that aren't recognized by the most commonly used
@ -7,7 +8,7 @@
# (company in Czech Republic which produce PCB - http://www.gatema.cz) Pool servis - prototype PCB
# (http://pcb.gatema.cz/kriteria-dat-pro-pool-servis/).
# Just execute this script in your KiCad project directory and the Gerber files will be renamed.
#
# Export gerbers with Protell filenames
import glob
import os
@ -29,13 +30,15 @@ gerber_types = [
{'from': '-B_Silkscreen.gbo', 'to': '-B_Silkscreen.gbo.plb'},
{'from': '-B_Mask.gbs', 'to': '-B_Mask.gbs.smb'},
{'from': '-B_Cu.gbl', 'to': '-B_Cu.gbl.bot'},
{'from': '-Inner1.Cu.gbr', 'to': '.in2'},
{'from': '-Inner2.Cu.gbr', 'to': '.in3'},
{'from': '-In1_Cu.gbr', 'to': '-In1_Cu.gbr.in2'},
{'from': '-In2_Cu.gbr', 'to': '-In2_Cu.gbr.in3'},
{'from': '-In1_Cu.g2', 'to': '-In1_Cu.g2.in2'},
{'from': '-In2_Cu.g3', 'to': '-In2_Cu.g3.in3'},
{'from': '-F_Cu.gtl', 'to': '-F_Cu.gtl.top'},
{'from': '-F_Mask.gts', 'to': '-F_Mask.gts.smt'},
{'from': '-F_Silkscreen.gto', 'to': '-F_Silkscreen.gto.plt'},
{'from': '-Edge_Cuts.gm1', 'to': '-Edge_Cuts.gko.dim'},
{'from': '-NPTH.drl', 'to': '-NPTH.drl.mil'},
{'from': '-NPTH.drl', 'to': '-NPTH.drl.mill'},
{'from': '-PTH.drl', 'to': '-PTH.drl.pth'},
]

Loading…
Cancel
Save