diff options
author | Fredrik Thulin <fredrik@thulin.net> | 2018-05-09 11:14:13 +0200 |
---|---|---|
committer | Fredrik Thulin <fredrik@thulin.net> | 2018-05-09 11:14:13 +0200 |
commit | 0951574c194641f2bc189b193d955b98277d1ea9 (patch) | |
tree | 0b036802de0e3c0a8047ad7d35996fda2dd5dbd4 /convert.sh | |
parent | 6f9fea92656daaf55fc6142877630a9cf6c3c21f (diff) |
remap symbols to suit KiCad-nightly
Diffstat (limited to 'convert.sh')
-rwxr-xr-x | convert.sh | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -100,6 +100,10 @@ done # Turn some labels into global labels. All labels seem to be global in Altium? ../fix-labels.py rev02*sch +# KiCad nightly has changed how symbols are located +../remap-symbols.py rev02*sch +cp ../sym-lib-table.template sym-lib-table + # 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 @@ -112,7 +116,7 @@ test -d ../tmp || mkdir ../tmp cp "Cryptech Alpha.kicad_pcb" "../tmp/Cryptech Alpha.kicad_pcb.a2k-out" ../fix-pcb.py "Cryptech Alpha.kicad_pcb" "Cryptech Alpha.kicad_pcb" mv "Cryptech Alpha.kicad_pcb.before-fix-pcb" ../tmp -diff -u "../tmp/Cryptech Alpha.kicad_pcb.before-fix-pcb" "Cryptech Alpha.kicad_pcb" || true +#diff -u "../tmp/Cryptech Alpha.kicad_pcb.before-fix-pcb" "Cryptech Alpha.kicad_pcb" || true echo "" echo "Done. The leftovers from conversion is in ${altiumdir}, and you can start KiCad like this:" |