aboutsummaryrefslogtreecommitdiff
path: root/convert.sh
diff options
context:
space:
mode:
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 ""