diff options
author | Fredrik Thulin <fredrik@thulin.net> | 2018-04-26 11:12:18 +0200 |
---|---|---|
committer | Fredrik Thulin <fredrik@thulin.net> | 2018-04-26 11:12:18 +0200 |
commit | 309d0462641717f2f842ea99f0a749256ae4d404 (patch) | |
tree | 24de69858b2ce906acf546503724e6a407889e51 /convert.sh | |
parent | 53ca1682aa9e5c7aaaac0233fa2e12f08bb830ca (diff) |
Set footprints in the schematics from the PCB.
Diffstat (limited to 'convert.sh')
-rwxr-xr-x | convert.sh | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -43,7 +43,7 @@ cd .. rm -rf "${kicaddir}" mkdir "${kicaddir}" -git checkout "${kicaddir}"/GerberOutput +git checkout "${kicaddir}"/{GerberOutput,footprints.pretty,fp-lib-table} cp ${altiumdir}/*.{sch,lib} "${kicaddir}"/ rm ${kicaddir}/rev02*-cache.lib cp ${altiumdir}/CrypTech-PcbDoc.kicad_pcb "${kicaddir}/Cryptech Alpha.kicad_pcb" @@ -97,6 +97,9 @@ ls Cryptech*Alpha.lib rev02*sch | while read file; do sed -i -e "s#I/SN#I_SN#g" "${file}" done +# Set all schematic footprints from the PCB +../set-footprints-from-pcb.py Cryptech?Alpha.kicad_pcb *.sch + # Make further modifications to the layout using KiCAD's Python bindings test -d ../tmp || mkdir ../tmp cp "Cryptech Alpha.kicad_pcb" "../tmp/Cryptech Alpha.kicad_pcb.a2k-out" |