From dd7530da716c431eb7586545dc205ba92d5ac28c Mon Sep 17 00:00:00 2001 From: Fredrik Thulin Date: Mon, 25 Sep 2017 10:58:58 +0200 Subject: integration of scripts --- convert.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'convert.sh') 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 "" -- cgit v1.2.3