mirror of
git://projects.qi-hardware.com/kicad-libs.git
synced 2024-11-22 13:50:37 +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:
parent
e5c8bd997e
commit
ef5fb20f0e
@ -29,20 +29,8 @@ frame first {
|
||||
frame pad @
|
||||
}
|
||||
|
||||
frame outline {
|
||||
__0: vec @(D1/2, -E1/2)
|
||||
__1: vec .(D/2, E/2)
|
||||
__2: vec __0(-D/2, -E/2)
|
||||
rect __1 . 5mil
|
||||
__3: vec @(0mm, (E-E1)/2)
|
||||
__4: vec @(-(D-D1)/2, 0mm)
|
||||
line __3 . 5mil
|
||||
}
|
||||
|
||||
package "BGA-$pins"
|
||||
unit mm
|
||||
|
||||
table
|
||||
frame pads {
|
||||
table
|
||||
{ ?row, rname, inner }
|
||||
{ 0, "A", 1 }
|
||||
{ 1, "B", 1 }
|
||||
@ -67,17 +55,33 @@ table
|
||||
{ 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)
|
||||
__2: vec __0(-D/2, -E/2)
|
||||
rect __1 . 5mil
|
||||
__3: vec @(0mm, (E-E1)/2)
|
||||
__4: vec @(-(D-D1)/2, 0mm)
|
||||
line __3 . 5mil
|
||||
}
|
||||
|
||||
package "BGA-$pins"
|
||||
unit mm
|
||||
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user