From e66ccc52fcbdccee3c5f3edc7a54c0da97d3575c Mon Sep 17 00:00:00 2001 From: Fredrik Thulin Date: Mon, 21 May 2018 10:39:03 +0200 Subject: change default named nets to match what a schematic update wants to turn them into --- convert.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'convert.sh') 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 -- cgit v1.2.3