aboutsummaryrefslogtreecommitdiff
path: root/convert.sh
diff options
context:
space:
mode:
Diffstat (limited to 'convert.sh')
-rwxr-xr-xconvert.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/convert.sh b/convert.sh
index ca8bc25..9f26a6a 100755
--- a/convert.sh
+++ b/convert.sh
@@ -97,6 +97,10 @@ ls Cryptech*Alpha.lib rev02*sch | while read file; do
sed -i -e "s#I/SN#I_SN#g" "${file}"
done
+# Segments on non-copper layer Eco2.User are not visible, and causes ERC warnings.
+# Turn them into graphical lines instead.
+sed -i -e 's/segment \(.*\)layer Eco2.User.*/gr_line \1layer Eco2.User\)\)/g' Cryptech\ Alpha.kicad_pcb
+
# Set all schematic footprints from the PCB
../set-footprints-from-pcb.py Cryptech?Alpha.kicad_pcb *.sch