1
0
mirror of git://projects.qi-hardware.com/kicad-libs.git synced 2024-11-25 18:56:14 +02:00

modules/bga.fpd: don't draw outline Nr time. Once is plenty.

Moved the "row" loop from the root frame to a new "pads" frame.
This commit is contained in:
Werner Almesberger 2012-11-01 01:38:42 -03:00
parent e5c8bd997e
commit ef5fb20f0e

View File

@ -29,6 +29,39 @@ frame first {
frame pad @
}
frame pads {
table
{ ?row, rname, inner }
{ 0, "A", 1 }
{ 1, "B", 1 }
{ 2, "C", 1 }
{ 3, "D", 1 }
{ 4, "E", 1 }
{ 5, "F", 1 }
{ 6, "G", 1 }
{ 7, "H", 1 }
{ 8, "J", 1 }
{ 9, "K", 1 }
{ 10, "L", 1 }
{ 11, "M", 1 }
{ 12, "N", 1 }
{ 13, "P", 1 }
{ 14, "R", 1 }
{ 15, "T", 1 }
{ 16, "U", 1 }
{ 17, "V", 1 }
{ 18, "W", 1 }
{ 19, "Y", 1 }
{ 20, "AA", 1 }
{ 21, "AB", 1 }
loop row = 0, Nr-1
frame last @
frame first @
frame inner @
}
frame outline {
__0: vec @(D1/2, -E1/2)
__1: vec .(D/2, E/2)
@ -42,42 +75,13 @@ frame outline {
package "BGA-$pins"
unit mm
table
{ ?row, rname, inner }
{ 0, "A", 1 }
{ 1, "B", 1 }
{ 2, "C", 1 }
{ 3, "D", 1 }
{ 4, "E", 1 }
{ 5, "F", 1 }
{ 6, "G", 1 }
{ 7, "H", 1 }
{ 8, "J", 1 }
{ 9, "K", 1 }
{ 10, "L", 1 }
{ 11, "M", 1 }
{ 12, "N", 1 }
{ 13, "P", 1 }
{ 14, "R", 1 }
{ 15, "T", 1 }
{ 16, "U", 1 }
{ 17, "V", 1 }
{ 18, "W", 1 }
{ 19, "Y", 1 }
{ 20, "AA", 1 }
{ 21, "AB", 1 }
table
{ pins, Nr, Nc, inner_col_start, inner_col_end, Px, Py, e, D1, E1, D, E }
{ 484, 22, 22, 10, 11, 0.6mm, 0.6mm, 1mm, 21mm, D1, 23mm, D }
{ 324, 18, 18, 8, 9, 0.5mm, 0.5mm, 0.8mm, 13.6mm, D1, 15mm, D }
loop row = 0, Nr-1
frame last @
frame first @
frame inner @
frame outline @
frame pads @
measy pad.__0 -> pad.__1 1mm
measy pad.__0 -> pad.__0 1.5mm
measx pad.__0 -> pad.__2 -1mm