aboutsummaryrefslogtreecommitdiff
path: root/convert.sh
diff options
context:
space:
mode:
authorFredrik Thulin <fredrik@thulin.net>2017-09-25 10:58:58 +0200
committerFredrik Thulin <fredrik@thulin.net>2017-09-25 10:58:58 +0200
commitdd7530da716c431eb7586545dc205ba92d5ac28c (patch)
tree12846ff2bdd4afc850524213f05360eb63297a76 /convert.sh
parent9c82d285a3580ddd495eaa11e8dba87df5039577 (diff)
integration of scripts
Diffstat (limited to 'convert.sh')
-rwxr-xr-xconvert.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/convert.sh b/convert.sh
index 350843c..7bc1a4f 100755
--- a/convert.sh
+++ b/convert.sh
@@ -63,7 +63,6 @@ for l in 2 5; do
sed -i -e "s/${l} In${l}.Cu signal/${l} In${l}.Cu mixed/g" "Cryptech Alpha.kicad_pcb"
done
-
# Sheet number fixups. This hides all the hierarchical sub-sheets from the project view.
num_sheets=$(ls Cryptech\ Alpha.sch rev02*sch | wc -l)
num=1
@@ -72,6 +71,11 @@ ls Cryptech\ Alpha.sch rev02*sch | while read file; do
num=$[$num + 1]
done
+# Make a copy used as input file in fix-layer-4.py
+cp "Cryptech Alpha.kicad_pcb" "convert.kicad_pcb"
+../fix-layer-4.py "convert.kicad_pcb" "Cryptech Alpha.kicad_pcb"
+
+
echo ""
echo "Done. The leftovers from conversion is in ${altiumdir}, and you can start KiCad like this:"
echo ""