aboutsummaryrefslogtreecommitdiff
path: root/convert.sh
diff options
context:
space:
mode:
Diffstat (limited to 'convert.sh')
-rwxr-xr-xconvert.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/convert.sh b/convert.sh
index 74f6e61..fe6b3f0 100755
--- a/convert.sh
+++ b/convert.sh
@@ -214,6 +214,8 @@ sed -i -e 's/segment \(.*\)layer Eco2.User.*/gr_line \1layer Eco2.User\)\)/g' Cr
# Fix paths of all footprints in the PCB
sed -i -e "s/[(]module /\(module Cryptech_Alpha_Footprints:/" Cryptech\ Alpha.kicad_pcb
+# change default named nets to match what a schematic update wants to turn them into
+sed -E -i -e 's/Net([A-Z0-9]+)_([0-9])/"Net-(\1-Pad\2)"/g' Cryptech\ Alpha.kicad_pcb
# Make further modifications to the layout using KiCAD's Python bindings
test -d ../tmp || mkdir ../tmp