diff options
author | Fredrik Thulin <fredrik@thulin.net> | 2018-04-26 17:57:59 +0200 |
---|---|---|
committer | Fredrik Thulin <fredrik@thulin.net> | 2018-04-26 17:57:59 +0200 |
commit | a2ac49201fb703691c67495deacda21d2e8388c7 (patch) | |
tree | ccb6f8ac3c708cae05067f1e2fe085a915f47e34 /convert.sh | |
parent | 67798051878f1a1b5502c64de2ba17d6b732059a (diff) |
change segments to gr_line on non-copper layer Eco2.User
Diffstat (limited to 'convert.sh')
-rwxr-xr-x | convert.sh | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -97,6 +97,10 @@ ls Cryptech*Alpha.lib rev02*sch | while read file; do sed -i -e "s#I/SN#I_SN#g" "${file}" done +# Segments on non-copper layer Eco2.User are not visible, and causes ERC warnings. +# Turn them into graphical lines instead. +sed -i -e 's/segment \(.*\)layer Eco2.User.*/gr_line \1layer Eco2.User\)\)/g' Cryptech\ Alpha.kicad_pcb + # Set all schematic footprints from the PCB ../set-footprints-from-pcb.py Cryptech?Alpha.kicad_pcb *.sch |