Index: work/bug_files/fp_rework/chk.sh =================================================================== --- work/bug_files/fp_rework/chk.sh (nonexistent) +++ work/bug_files/fp_rework/chk.sh (revision 38135) @@ -0,0 +1,41 @@ +#!/bin/sh + +# REQUIRES CANONICAL FILE FORMATTING + +# Prints if a subc aux x/y doesn't point in the right direction + +awk ' + +function chk() +{ + if (role == "x") { + if (x1 == x2) + print "ERROR role x", x1, x2, FILENAME + } + else if (role == "y") { + if (y1 == y2) + print "ERROR role y", y1, y2, FILENAME + } +} + +function reset() +{ + x1 = 0 + y1 = 0 + x2 = 0 + y2 = 0 + role = "" + +} + +/ha:line/ { chk(); reset(); } + +/x1 =/ { x1 = $3 } +/x2 =/ { x2 = $3 } +/y1 =/ { y1 = $3 } +/y2 =/ { y2 = $3 } +/subc-role =/ { role = $3 } + +ENDFILE { chk(); reset(); } + +' "$@" Property changes on: work/bug_files/fp_rework/chk.sh ___________________________________________________________________ Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: work/bug_files/fp_rework/subc_aux.patch =================================================================== --- work/bug_files/fp_rework/subc_aux.patch (nonexistent) +++ work/bug_files/fp_rework/subc_aux.patch (revision 38135) @@ -0,0 +1,792 @@ +Index: connector/BNC_LAY.fp +=================================================================== +--- connector/BNC_LAY.fp (revision 38063) ++++ connector/BNC_LAY.fp (working copy) +@@ -465,7 +465,7 @@ + y2 = 8.493392mm + thickness = 0.1mm + ha:attributes { +- subc-role = x ++ subc-role = y + } + x1 = 1.651392mm + x2 = 1.651392mm +@@ -478,7 +478,7 @@ + y2 = 7.493392mm + thickness = 0.1mm + ha:attributes { +- subc-role = y ++ subc-role = x + } + x1 = 1.651392mm + x2 = 2.651392mm +Index: connector/DB9M.fp +=================================================================== +--- connector/DB9M.fp (revision 38063) ++++ connector/DB9M.fp (working copy) +@@ -796,7 +796,7 @@ + y2 = 31.258mm + thickness = 0.1mm + ha:attributes { +- subc-role = x ++ subc-role = y + } + x1 = 26.67mm + x2 = 26.67mm +@@ -809,7 +809,7 @@ + y2 = 1.27in + thickness = 0.1mm + ha:attributes { +- subc-role = y ++ subc-role = x + } + x1 = 26.67mm + x2 = 25.67mm +Index: connector/pwrjack.fp +=================================================================== +--- connector/pwrjack.fp (revision 38063) ++++ connector/pwrjack.fp (working copy) +@@ -267,7 +267,7 @@ + y2 = 34.999928mm + thickness = 0.1mm + ha:attributes { +- subc-role = x ++ subc-role = y + } + x1 = 1.24016in + x2 = 1.24016in +@@ -280,7 +280,7 @@ + y2 = 35.999928mm + thickness = 0.1mm + ha:attributes { +- subc-role = y ++ subc-role = x + } + x1 = 1.24016in + x2 = 30.500064mm +Index: smd/MPAK.fp +=================================================================== +--- smd/MPAK.fp (revision 38063) ++++ smd/MPAK.fp (working copy) +@@ -348,7 +348,7 @@ + y2 = 13.751192mm + thickness = 0.1mm + ha:attributes { +- subc-role = x ++ subc-role = y + } + x1 = 0.940192mm + x2 = 0.940192mm +@@ -361,7 +361,7 @@ + y2 = 12.751192mm + thickness = 0.1mm + ha:attributes { +- subc-role = y ++ subc-role = x + } + x1 = 0.940192mm + x2 = 1.940192mm +Index: smd/SC70_3.fp +=================================================================== +--- smd/SC70_3.fp (revision 38063) ++++ smd/SC70_3.fp (working copy) +@@ -244,7 +244,7 @@ + y2 = 3.6797mm + thickness = 0.1mm + ha:attributes { +- subc-role = x ++ subc-role = y + } + x1 = 32.5mil + x2 = 32.5mil +@@ -257,7 +257,7 @@ + y2 = 105.5mil + thickness = 0.1mm + ha:attributes { +- subc-role = y ++ subc-role = x + } + x1 = 32.5mil + x2 = 1.8255mm +Index: smd/SC70_4.fp +=================================================================== +--- smd/SC70_4.fp (revision 38063) ++++ smd/SC70_4.fp (working copy) +@@ -330,7 +330,7 @@ + y2 = 3.6797mm + thickness = 0.1mm + ha:attributes { +- subc-role = x ++ subc-role = y + } + x1 = 32.5mil + x2 = 32.5mil +@@ -343,7 +343,7 @@ + y2 = 105.5mil + thickness = 0.1mm + ha:attributes { +- subc-role = y ++ subc-role = x + } + x1 = 32.5mil + x2 = 1.8255mm +Index: smd/SC90.fp +=================================================================== +--- smd/SC90.fp (revision 38063) ++++ smd/SC90.fp (working copy) +@@ -244,7 +244,7 @@ + y2 = 3.3114mm + thickness = 0.1mm + ha:attributes { +- subc-role = x ++ subc-role = y + } + x1 = 30.0mil + x2 = 30.0mil +@@ -257,7 +257,7 @@ + y2 = 91.0mil + thickness = 0.1mm + ha:attributes { +- subc-role = y ++ subc-role = x + } + x1 = 30.0mil + x2 = 1.762mm +Index: smd/SOT143.fp +=================================================================== +--- smd/SOT143.fp (revision 38063) ++++ smd/SOT143.fp (working copy) +@@ -330,7 +330,7 @@ + y2 = 4.048mm + thickness = 0.1mm + ha:attributes { +- subc-role = x ++ subc-role = y + } + x1 = 35.0mil + x2 = 35.0mil +@@ -343,7 +343,7 @@ + y2 = 120.0mil + thickness = 0.1mm + ha:attributes { +- subc-role = y ++ subc-role = x + } + x1 = 35.0mil + x2 = 1.889mm +Index: smd/SOT223.fp +=================================================================== +--- smd/SOT223.fp (revision 38063) ++++ smd/SOT223.fp (working copy) +@@ -330,7 +330,7 @@ + y2 = 9.483992mm + thickness = 0.1mm + ha:attributes { +- subc-role = x ++ subc-role = y + } + x1 = 1.448192mm + x2 = 1.448192mm +@@ -343,7 +343,7 @@ + y2 = 8.483992mm + thickness = 0.1mm + ha:attributes { +- subc-role = y ++ subc-role = x + } + x1 = 1.448192mm + x2 = 2.448192mm +Index: smd/SOT23.fp +=================================================================== +--- smd/SOT23.fp (revision 38063) ++++ smd/SOT23.fp (working copy) +@@ -244,7 +244,7 @@ + y2 = 4.048mm + thickness = 0.1mm + ha:attributes { +- subc-role = x ++ subc-role = y + } + x1 = 35.0mil + x2 = 35.0mil +@@ -257,7 +257,7 @@ + y2 = 120.0mil + thickness = 0.1mm + ha:attributes { +- subc-role = y ++ subc-role = x + } + x1 = 35.0mil + x2 = 1.889mm +Index: smd/SOT25.fp +=================================================================== +--- smd/SOT25.fp (revision 38063) ++++ smd/SOT25.fp (working copy) +@@ -280,7 +280,7 @@ + y2 = 4.048mm + thickness = 0.1mm + ha:attributes { +- subc-role = x ++ subc-role = y + } + x1 = 30.0mil + x2 = 30.0mil +@@ -293,7 +293,7 @@ + y2 = 120.0mil + thickness = 0.1mm + ha:attributes { +- subc-role = y ++ subc-role = x + } + x1 = 30.0mil + x2 = 1.762mm +Index: smd/SOT26.fp +=================================================================== +--- smd/SOT26.fp (revision 38063) ++++ smd/SOT26.fp (working copy) +@@ -298,7 +298,7 @@ + y2 = 4.048mm + thickness = 0.1mm + ha:attributes { +- subc-role = x ++ subc-role = y + } + x1 = 30.0mil + x2 = 30.0mil +@@ -311,7 +311,7 @@ + y2 = 120.0mil + thickness = 0.1mm + ha:attributes { +- subc-role = y ++ subc-role = x + } + x1 = 30.0mil + x2 = 1.762mm +Index: smd/SOT323.fp +=================================================================== +--- smd/SOT323.fp (revision 38063) ++++ smd/SOT323.fp (working copy) +@@ -244,7 +244,7 @@ + y2 = 3.6797mm + thickness = 0.1mm + ha:attributes { +- subc-role = x ++ subc-role = y + } + x1 = 32.5mil + x2 = 32.5mil +@@ -257,7 +257,7 @@ + y2 = 105.5mil + thickness = 0.1mm + ha:attributes { +- subc-role = y ++ subc-role = x + } + x1 = 32.5mil + x2 = 1.8255mm +Index: smd/SOT325.fp +=================================================================== +--- smd/SOT325.fp (revision 38063) ++++ smd/SOT325.fp (working copy) +@@ -280,7 +280,7 @@ + y2 = 3.6797mm + thickness = 0.1mm + ha:attributes { +- subc-role = x ++ subc-role = y + } + x1 = 25.5mil + x2 = 25.5mil +@@ -293,7 +293,7 @@ + y2 = 105.5mil + thickness = 0.1mm + ha:attributes { +- subc-role = y ++ subc-role = x + } + x1 = 25.5mil + x2 = 1.6477mm +Index: smd/SOT326.fp +=================================================================== +--- smd/SOT326.fp (revision 38063) ++++ smd/SOT326.fp (working copy) +@@ -298,7 +298,7 @@ + y2 = 3.6797mm + thickness = 0.1mm + ha:attributes { +- subc-role = x ++ subc-role = y + } + x1 = 25.5mil + x2 = 25.5mil +@@ -311,7 +311,7 @@ + y2 = 105.5mil + thickness = 0.1mm + ha:attributes { +- subc-role = y ++ subc-role = x + } + x1 = 25.5mil + x2 = 1.6477mm +Index: smd/SOT89.fp +=================================================================== +--- smd/SOT89.fp (revision 38063) ++++ smd/SOT89.fp (working copy) +@@ -330,7 +330,7 @@ + y2 = 5.3307mm + thickness = 0.1mm + ha:attributes { +- subc-role = x ++ subc-role = y + } + x1 = 36.5mil + x2 = 36.5mil +@@ -343,7 +343,7 @@ + y2 = 170.5mil + thickness = 0.1mm + ha:attributes { +- subc-role = y ++ subc-role = x + } + x1 = 36.5mil + x2 = 1.9271mm +Index: thru-hole/HC49U_3.fp +=================================================================== +--- thru-hole/HC49U_3.fp (revision 38063) ++++ thru-hole/HC49U_3.fp (working copy) +@@ -371,7 +371,7 @@ + y2 = 3.57048mm + thickness = 0.1mm + ha:attributes { +- subc-role = x ++ subc-role = y + } + x1 = 3.33248mm + x2 = 3.33248mm +@@ -384,7 +384,7 @@ + y2 = 101.2mil + thickness = 0.1mm + ha:attributes { +- subc-role = y ++ subc-role = x + } + x1 = 3.33248mm + x2 = 4.33248mm +Index: thru-hole/HC49U_3H.fp +=================================================================== +--- thru-hole/HC49U_3H.fp (revision 38063) ++++ thru-hole/HC49U_3H.fp (working copy) +@@ -366,7 +366,7 @@ + y2 = 16.875783mm + thickness = 0.1mm + ha:attributes { +- subc-role = x ++ subc-role = y + } + x1 = 3.328183mm + x2 = 3.328183mm +@@ -379,7 +379,7 @@ + y2 = 15.875783mm + thickness = 0.1mm + ha:attributes { +- subc-role = y ++ subc-role = x + } + x1 = 3.328183mm + x2 = 4.328183mm +Index: thru-hole/HEPTAWATT.fp +=================================================================== +--- thru-hole/HEPTAWATT.fp (revision 38063) ++++ thru-hole/HEPTAWATT.fp (working copy) +@@ -473,7 +473,7 @@ + y2 = 7.579383mm + thickness = 0.1mm + ha:attributes { +- subc-role = x ++ subc-role = y + } + x1 = 1.626383mm + x2 = 1.626383mm +@@ -486,7 +486,7 @@ + y2 = 6.579383mm + thickness = 0.1mm + ha:attributes { +- subc-role = y ++ subc-role = x + } + x1 = 1.626383mm + x2 = 2.626383mm +Index: thru-hole/MULTIWATT11.fp +=================================================================== +--- thru-hole/MULTIWATT11.fp (revision 38063) ++++ thru-hole/MULTIWATT11.fp (working copy) +@@ -545,7 +545,7 @@ + y2 = 7.858783mm + thickness = 0.1mm + ha:attributes { +- subc-role = x ++ subc-role = y + } + x1 = 1.905783mm + x2 = 1.905783mm +@@ -558,7 +558,7 @@ + y2 = 6.858783mm + thickness = 0.1mm + ha:attributes { +- subc-role = y ++ subc-role = x + } + x1 = 1.905783mm + x2 = 2.905783mm +Index: thru-hole/MULTIWATT15.fp +=================================================================== +--- thru-hole/MULTIWATT15.fp (revision 38063) ++++ thru-hole/MULTIWATT15.fp (working copy) +@@ -617,7 +617,7 @@ + y2 = 7.858783mm + thickness = 0.1mm + ha:attributes { +- subc-role = x ++ subc-role = y + } + x1 = 63.0mil + x2 = 63.0mil +@@ -630,7 +630,7 @@ + y2 = 6.858783mm + thickness = 0.1mm + ha:attributes { +- subc-role = y ++ subc-role = x + } + x1 = 63.0mil + x2 = 2.6002mm +Index: thru-hole/MULTIWATT8.fp +=================================================================== +--- thru-hole/MULTIWATT8.fp (revision 38063) ++++ thru-hole/MULTIWATT8.fp (working copy) +@@ -491,7 +491,7 @@ + y2 = 7.858783mm + thickness = 0.1mm + ha:attributes { +- subc-role = x ++ subc-role = y + } + x1 = 63.0mil + x2 = 63.0mil +@@ -504,7 +504,7 @@ + y2 = 6.858783mm + thickness = 0.1mm + ha:attributes { +- subc-role = y ++ subc-role = x + } + x1 = 63.0mil + x2 = 2.6002mm +Index: thru-hole/PENTAWATT.fp +=================================================================== +--- thru-hole/PENTAWATT.fp (revision 38063) ++++ thru-hole/PENTAWATT.fp (working copy) +@@ -437,7 +437,7 @@ + y2 = 7.579383mm + thickness = 0.1mm + ha:attributes { +- subc-role = x ++ subc-role = y + } + x1 = 2.032783mm + x2 = 2.032783mm +@@ -450,7 +450,7 @@ + y2 = 6.579383mm + thickness = 0.1mm + ha:attributes { +- subc-role = y ++ subc-role = x + } + x1 = 2.032783mm + x2 = 3.032783mm +Index: thru-hole/TO126.fp +=================================================================== +--- thru-hole/TO126.fp (revision 38063) ++++ thru-hole/TO126.fp (working copy) +@@ -501,7 +501,7 @@ + y2 = 16.24mm + thickness = 0.1mm + ha:attributes { +- subc-role = x ++ subc-role = y + } + x1 = 100.0mil + x2 = 100.0mil +@@ -514,7 +514,7 @@ + y2 = 600.0mil + thickness = 0.1mm + ha:attributes { +- subc-role = y ++ subc-role = x + } + x1 = 100.0mil + x2 = 3.54mm +Index: thru-hole/TO126S.fp +=================================================================== +--- thru-hole/TO126S.fp (revision 38063) ++++ thru-hole/TO126S.fp (working copy) +@@ -502,7 +502,7 @@ + y2 = 16.24mm + thickness = 0.1mm + ha:attributes { +- subc-role = x ++ subc-role = y + } + x1 = 100.0mil + x2 = 100.0mil +@@ -515,7 +515,7 @@ + y2 = 600.0mil + thickness = 0.1mm + ha:attributes { +- subc-role = y ++ subc-role = x + } + x1 = 100.0mil + x2 = 3.54mm +Index: thru-hole/TO126W.fp +=================================================================== +--- thru-hole/TO126W.fp (revision 38063) ++++ thru-hole/TO126W.fp (working copy) +@@ -365,7 +365,7 @@ + y2 = 3.54mm + thickness = 0.1mm + ha:attributes { +- subc-role = x ++ subc-role = y + } + x1 = 100.0mil + x2 = 100.0mil +@@ -378,7 +378,7 @@ + y2 = 100.0mil + thickness = 0.1mm + ha:attributes { +- subc-role = y ++ subc-role = x + } + x1 = 100.0mil + x2 = 3.54mm +Index: thru-hole/TO18.fp +=================================================================== +--- thru-hole/TO18.fp (revision 38063) ++++ thru-hole/TO18.fp (working copy) +@@ -272,7 +272,7 @@ + y2 = 1.819792mm + thickness = 0.1mm + ha:attributes { +- subc-role = x ++ subc-role = y + } + x1 = 2.61874mm + x2 = 2.61874mm +@@ -285,7 +285,7 @@ + y2 = 2.819792mm + thickness = 0.1mm + ha:attributes { +- subc-role = y ++ subc-role = x + } + x1 = 2.61874mm + x2 = 1.61874mm +Index: thru-hole/TO218.fp +=================================================================== +--- thru-hole/TO218.fp (revision 38063) ++++ thru-hole/TO218.fp (working copy) +@@ -400,7 +400,7 @@ + y2 = 7.858783mm + thickness = 0.1mm + ha:attributes { +- subc-role = x ++ subc-role = y + } + x1 = 2.489983mm + x2 = 2.489983mm +@@ -413,7 +413,7 @@ + y2 = 6.858783mm + thickness = 0.1mm + ha:attributes { +- subc-role = y ++ subc-role = x + } + x1 = 2.489983mm + x2 = 3.489983mm +Index: thru-hole/TO220.fp +=================================================================== +--- thru-hole/TO220.fp (revision 38063) ++++ thru-hole/TO220.fp (working copy) +@@ -645,7 +645,7 @@ + y2 = 21.320783mm + thickness = 0.1mm + ha:attributes { +- subc-role = x ++ subc-role = y + } + x1 = 5.334783mm + x2 = 5.334783mm +@@ -658,7 +658,7 @@ + y2 = 20.320783mm + thickness = 0.1mm + ha:attributes { +- subc-role = y ++ subc-role = x + } + x1 = 5.334783mm + x2 = 6.334783mm +Index: thru-hole/TO220S.fp +=================================================================== +--- thru-hole/TO220S.fp (revision 38063) ++++ thru-hole/TO220S.fp (working copy) +@@ -646,7 +646,7 @@ + y2 = 21.320783mm + thickness = 0.1mm + ha:attributes { +- subc-role = x ++ subc-role = y + } + x1 = 5.334783mm + x2 = 5.334783mm +@@ -659,7 +659,7 @@ + y2 = 20.320783mm + thickness = 0.1mm + ha:attributes { +- subc-role = y ++ subc-role = x + } + x1 = 5.334783mm + x2 = 6.334783mm +Index: thru-hole/TO220W.fp +=================================================================== +--- thru-hole/TO220W.fp (revision 38063) ++++ thru-hole/TO220W.fp (working copy) +@@ -437,7 +437,7 @@ + y2 = 6.08mm + thickness = 0.1mm + ha:attributes { +- subc-role = x ++ subc-role = y + } + x1 = 2.794783mm + x2 = 2.794783mm +@@ -450,7 +450,7 @@ + y2 = 200.0mil + thickness = 0.1mm + ha:attributes { +- subc-role = y ++ subc-role = x + } + x1 = 2.794783mm + x2 = 3.794783mm +Index: thru-hole/TO247.fp +=================================================================== +--- thru-hole/TO247.fp (revision 38063) ++++ thru-hole/TO247.fp (working copy) +@@ -401,7 +401,7 @@ + y2 = 8.112783mm + thickness = 0.1mm + ha:attributes { +- subc-role = x ++ subc-role = y + } + x1 = 2.693183mm + x2 = 2.693183mm +@@ -414,7 +414,7 @@ + y2 = 7.112783mm + thickness = 0.1mm + ha:attributes { +- subc-role = y ++ subc-role = x + } + x1 = 2.693183mm + x2 = 3.693183mm +Index: thru-hole/TO251.fp +=================================================================== +--- thru-hole/TO251.fp (revision 38063) ++++ thru-hole/TO251.fp (working copy) +@@ -401,7 +401,7 @@ + y2 = 4.810783mm + thickness = 0.1mm + ha:attributes { +- subc-role = x ++ subc-role = y + } + x1 = 53.0mil + x2 = 53.0mil +@@ -414,7 +414,7 @@ + y2 = 3.810783mm + thickness = 0.1mm + ha:attributes { +- subc-role = y ++ subc-role = x + } + x1 = 53.0mil + x2 = 2.3462mm +Index: thru-hole/TO264.fp +=================================================================== +--- thru-hole/TO264.fp (revision 38063) ++++ thru-hole/TO264.fp (working copy) +@@ -401,7 +401,7 @@ + y2 = 8.112783mm + thickness = 0.1mm + ha:attributes { +- subc-role = x ++ subc-role = y + } + x1 = 4.852183mm + x2 = 4.852183mm +@@ -414,7 +414,7 @@ + y2 = 7.112783mm + thickness = 0.1mm + ha:attributes { +- subc-role = y ++ subc-role = x + } + x1 = 4.852183mm + x2 = 5.852183mm +Index: thru-hole/TO39.fp +=================================================================== +--- thru-hole/TO39.fp (revision 38063) ++++ thru-hole/TO39.fp (working copy) +@@ -379,7 +379,7 @@ + y2 = 3.77774mm + thickness = 0.1mm + ha:attributes { +- subc-role = x ++ subc-role = y + } + x1 = 4.77774mm + x2 = 4.77774mm +@@ -392,7 +392,7 @@ + y2 = 4.77774mm + thickness = 0.1mm + ha:attributes { +- subc-role = y ++ subc-role = x + } + x1 = 4.77774mm + x2 = 3.77774mm +Index: thru-hole/TO92.fp +=================================================================== +--- thru-hole/TO92.fp (revision 38063) ++++ thru-hole/TO92.fp (working copy) +@@ -343,7 +343,7 @@ + y2 = 4.08mm + thickness = 0.1mm + ha:attributes { +- subc-role = x ++ subc-role = y + } + x1 = 54.0mil + x2 = 54.0mil +@@ -356,7 +356,7 @@ + y2 = 200.0mil + thickness = 0.1mm + ha:attributes { +- subc-role = y ++ subc-role = x + } + x1 = 54.0mil + x2 = 0.3716mm