aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFredrik Thulin <fredrik@thulin.net>2018-04-26 17:57:59 +0200
committerFredrik Thulin <fredrik@thulin.net>2018-04-26 17:57:59 +0200
commita2ac49201fb703691c67495deacda21d2e8388c7 (patch)
treeccb6f8ac3c708cae05067f1e2fe085a915f47e34
parent67798051878f1a1b5502c64de2ba17d6b732059a (diff)
change segments to gr_line on non-copper layer Eco2.User
-rwxr-xr-xconvert.sh4
-rw-r--r--rev03-KiCad/Cryptech Alpha.kicad_pcb62
2 files changed, 35 insertions, 31 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
diff --git a/rev03-KiCad/Cryptech Alpha.kicad_pcb b/rev03-KiCad/Cryptech Alpha.kicad_pcb
index a572e00..74fbf8d 100644
--- a/rev03-KiCad/Cryptech Alpha.kicad_pcb
+++ b/rev03-KiCad/Cryptech Alpha.kicad_pcb
@@ -2,8 +2,8 @@
(general
(thickness 1.6)
- (drawings 6662)
- (tracks 9189)
+ (drawings 6691)
+ (tracks 9160)
(zones 0)
(modules 386)
(nets 304)
@@ -19117,6 +19117,35 @@
(gr_line (start 72.32 -77.7454) (end 72.32 -100.2454) (layer B.CrtYd) (width 0.254))
(gr_line (start 72.32 -100.2454) (end 95.32 -100.2454) (layer B.CrtYd) (width 0.254))
(gr_line (start 95.32 -77.7454) (end 95.32 -100.2454) (layer B.CrtYd) (width 0.254))
+ (gr_line (start 6.33089 29.403) (end 97.291 29.403) (layer Eco2.User) (width 0.381))
+ (gr_line (start 6.33089 48.453) (end 97.291 48.453) (layer Eco2.User) (width 0.381))
+ (gr_line (start 97.291 48.453) (end 97.291 25.593) (layer Eco2.User) (width 0.381))
+ (gr_line (start 6.33089 25.593) (end 97.291 25.593) (layer Eco2.User) (width 0.381))
+ (gr_line (start 6.33089 48.453) (end 6.33089 25.593) (layer Eco2.User) (width 0.381))
+ (gr_line (start 85.12697 48.453) (end 85.12697 25.593) (layer Eco2.User) (width 0.381))
+ (gr_line (start 70.14482 48.453) (end 70.14482 25.593) (layer Eco2.User) (width 0.381))
+ (gr_line (start 51.50624 48.453) (end 51.50624 25.593) (layer Eco2.User) (width 0.381))
+ (gr_line (start 38.657 48.453) (end 38.657 25.593) (layer Eco2.User) (width 0.381))
+ (gr_line (start 20.32313 48.453) (end 20.32313 25.593) (layer Eco2.User) (width 0.381))
+ (gr_line (start 7.8496 31.22333) (end 8.69626 32.07) (layer Eco2.User) (width 0.254))
+ (gr_line (start 8.69626 32.07) (end 9.54293 31.22333) (layer Eco2.User) (width 0.254))
+ (gr_line (start 8.69626 30.37667) (end 9.54293 31.22333) (layer Eco2.User) (width 0.254))
+ (gr_line (start 7.8496 31.22333) (end 8.69626 30.37667) (layer Eco2.User) (width 0.254))
+ (gr_line (start 7.8496 35.88) (end 9.54293 35.88) (layer Eco2.User) (width 0.254))
+ (gr_line (start 9.54293 35.88) (end 9.54293 34.18667) (layer Eco2.User) (width 0.254))
+ (gr_line (start 7.8496 34.18667) (end 9.54293 34.18667) (layer Eco2.User) (width 0.254))
+ (gr_line (start 7.8496 35.88) (end 7.8496 34.18667) (layer Eco2.User) (width 0.254))
+ (gr_line (start 7.8496 39.69) (end 8.69626 39.26667) (layer Eco2.User) (width 0.254))
+ (gr_line (start 8.69626 39.26667) (end 9.54293 39.69) (layer Eco2.User) (width 0.254))
+ (gr_line (start 9.11959 38.84333) (end 9.54293 39.69) (layer Eco2.User) (width 0.254))
+ (gr_line (start 9.11959 38.84333) (end 9.54293 37.99667) (layer Eco2.User) (width 0.254))
+ (gr_line (start 8.69626 38.42) (end 9.54293 37.99667) (layer Eco2.User) (width 0.254))
+ (gr_line (start 7.8496 37.99667) (end 8.69626 38.42) (layer Eco2.User) (width 0.254))
+ (gr_line (start 7.8496 37.99667) (end 8.27293 38.84333) (layer Eco2.User) (width 0.254))
+ (gr_line (start 7.8496 39.69) (end 8.27293 38.84333) (layer Eco2.User) (width 0.254))
+ (gr_line (start 8.69626 47.31) (end 9.54293 45.61667) (layer Eco2.User) (width 0.254))
+ (gr_line (start 7.8496 45.61667) (end 9.54293 45.61667) (layer Eco2.User) (width 0.254))
+ (gr_line (start 7.8496 45.61667) (end 8.69626 47.31) (layer Eco2.User) (width 0.254))
(gr_text "USB-\r\nUART" (at 57.25 -10.525 90) (layer F.SilkS)
(effects (font (size 1 1) (thickness 0.1)) (justify left))
)
@@ -28445,35 +28474,6 @@
(segment (start 101.59998 -84.39999) (end 101.59998 -87.2) (width 1) (layer In6.Cu) (net 1))
(segment (start 101.59998 -84.39999) (end 101.59998 15.4) (width 1) (layer In6.Cu) (net 1))
(segment (start 98.59999 18.4) (end 101.59998 15.4) (width 1) (layer In6.Cu) (net 1))
- (segment (start 6.33089 29.403) (end 97.291 29.403) (width 0.381) (layer Eco2.User) (net 1))
- (segment (start 6.33089 48.453) (end 97.291 48.453) (width 0.381) (layer Eco2.User) (net 1))
- (segment (start 97.291 48.453) (end 97.291 25.593) (width 0.381) (layer Eco2.User) (net 1))
- (segment (start 6.33089 25.593) (end 97.291 25.593) (width 0.381) (layer Eco2.User) (net 1))
- (segment (start 6.33089 48.453) (end 6.33089 25.593) (width 0.381) (layer Eco2.User) (net 1))
- (segment (start 85.12697 48.453) (end 85.12697 25.593) (width 0.381) (layer Eco2.User) (net 1))
- (segment (start 70.14482 48.453) (end 70.14482 25.593) (width 0.381) (layer Eco2.User) (net 1))
- (segment (start 51.50624 48.453) (end 51.50624 25.593) (width 0.381) (layer Eco2.User) (net 1))
- (segment (start 38.657 48.453) (end 38.657 25.593) (width 0.381) (layer Eco2.User) (net 1))
- (segment (start 20.32313 48.453) (end 20.32313 25.593) (width 0.381) (layer Eco2.User) (net 1))
- (segment (start 7.8496 31.22333) (end 8.69626 32.07) (width 0.254) (layer Eco2.User) (net 1))
- (segment (start 8.69626 32.07) (end 9.54293 31.22333) (width 0.254) (layer Eco2.User) (net 1))
- (segment (start 8.69626 30.37667) (end 9.54293 31.22333) (width 0.254) (layer Eco2.User) (net 1))
- (segment (start 7.8496 31.22333) (end 8.69626 30.37667) (width 0.254) (layer Eco2.User) (net 1))
- (segment (start 7.8496 35.88) (end 9.54293 35.88) (width 0.254) (layer Eco2.User) (net 1))
- (segment (start 9.54293 35.88) (end 9.54293 34.18667) (width 0.254) (layer Eco2.User) (net 1))
- (segment (start 7.8496 34.18667) (end 9.54293 34.18667) (width 0.254) (layer Eco2.User) (net 1))
- (segment (start 7.8496 35.88) (end 7.8496 34.18667) (width 0.254) (layer Eco2.User) (net 1))
- (segment (start 7.8496 39.69) (end 8.69626 39.26667) (width 0.254) (layer Eco2.User) (net 1))
- (segment (start 8.69626 39.26667) (end 9.54293 39.69) (width 0.254) (layer Eco2.User) (net 1))
- (segment (start 9.11959 38.84333) (end 9.54293 39.69) (width 0.254) (layer Eco2.User) (net 1))
- (segment (start 9.11959 38.84333) (end 9.54293 37.99667) (width 0.254) (layer Eco2.User) (net 1))
- (segment (start 8.69626 38.42) (end 9.54293 37.99667) (width 0.254) (layer Eco2.User) (net 1))
- (segment (start 7.8496 37.99667) (end 8.69626 38.42) (width 0.254) (layer Eco2.User) (net 1))
- (segment (start 7.8496 37.99667) (end 8.27293 38.84333) (width 0.254) (layer Eco2.User) (net 1))
- (segment (start 7.8496 39.69) (end 8.27293 38.84333) (width 0.254) (layer Eco2.User) (net 1))
- (segment (start 8.69626 47.31) (end 9.54293 45.61667) (width 0.254) (layer Eco2.User) (net 1))
- (segment (start 7.8496 45.61667) (end 9.54293 45.61667) (width 0.254) (layer Eco2.User) (net 1))
- (segment (start 7.8496 45.61667) (end 8.69626 47.31) (width 0.254) (layer Eco2.User) (net 1))
(via (at 75.85 -28.075) (size 0.5) (layers F.Cu B.Cu) (net 4))
(via (at 47.025 -36.05) (size 0.5) (layers F.Cu B.Cu) (net 4))
(via (at 37.75 -23.375) (size 0.5) (layers F.Cu B.Cu) (net 4))