mirror of
git://projects.qi-hardware.com/kicad-libs.git
synced 2024-11-29 12:14:04 +02:00
100 lines
1.5 KiB
Plaintext
100 lines
1.5 KiB
Plaintext
|
/* MACHINE-GENERATED ! */
|
||
|
|
||
|
frame signals {
|
||
|
table
|
||
|
{ sx, sy }
|
||
|
{ 0.4mm, 1.35mm }
|
||
|
|
||
|
set e = 0.65mm
|
||
|
|
||
|
loop n = 1, 5
|
||
|
|
||
|
__0: vec @(0mm, by)
|
||
|
__1: vec .((n-3)*e, 0mm)
|
||
|
__2: vec .(-sx/2, 0mm)
|
||
|
__3: vec __1(sx/2, -sy)
|
||
|
pad "$n" __2 .
|
||
|
}
|
||
|
|
||
|
frame rpads {
|
||
|
table
|
||
|
{ rox, rix }
|
||
|
{ 8.3mm, 4.1mm }
|
||
|
|
||
|
set ry = 1.6mm
|
||
|
|
||
|
table
|
||
|
{ dx }
|
||
|
{ -1 }
|
||
|
{ 1 }
|
||
|
|
||
|
set pad = 6.5+dx/2
|
||
|
|
||
|
__0: vec @(0mm, by)
|
||
|
__1: vec .(rox/2*dx, 0mm)
|
||
|
__2: vec .(0mm, -ry)
|
||
|
__3: vec __0(rix/2*dx, 0mm)
|
||
|
pad "$pad" __2 .
|
||
|
}
|
||
|
|
||
|
frame mpads {
|
||
|
table
|
||
|
{ n, mox, mix }
|
||
|
{ 0, 9.8mm, 6.2mm }
|
||
|
{ 1, 4.3mm, 0.5mm }
|
||
|
|
||
|
set my = 1.9mm
|
||
|
|
||
|
table
|
||
|
{ dx }
|
||
|
{ -1 }
|
||
|
{ 1 }
|
||
|
|
||
|
set pad = 9.5+1.5*dx-n*dx
|
||
|
|
||
|
__0: vec @(mox/2*dx, 0mm)
|
||
|
__1: vec .(0mm, -my/2)
|
||
|
__2: vec @(mix/2*dx, 0mm)
|
||
|
__3: vec .(0mm, my/2)
|
||
|
pad "$pad" __1 .
|
||
|
}
|
||
|
|
||
|
frame edge {
|
||
|
table
|
||
|
{ ex, ey }
|
||
|
{ 7.9mm, 1.45mm }
|
||
|
|
||
|
set _ = 0
|
||
|
|
||
|
__0: vec @(0mm, -ey)
|
||
|
__1: vec .(-ex/2, 0mm)
|
||
|
__2: vec __0(ex/2, 0mm)
|
||
|
line __1 . w
|
||
|
}
|
||
|
|
||
|
package "ZX62-B-5PA"
|
||
|
unit mm
|
||
|
|
||
|
set w = 0.2mm
|
||
|
|
||
|
set sx = 7.9mm
|
||
|
|
||
|
set by = 3.35mm
|
||
|
|
||
|
frame edge @
|
||
|
frame mpads @
|
||
|
frame rpads @
|
||
|
frame signals @
|
||
|
measx mpads.__1 >> mpads.__1 -2.5mm
|
||
|
measx mpads.__2 >> mpads.__2 -2.5mm
|
||
|
measx edge.__1 >> edge.__2 -1.5mm
|
||
|
measy mpads.__1 -> mpads.__3 1mm
|
||
|
measy rpads.__2 -> rpads.__1 1mm
|
||
|
measy rpads.__0 << mpads.__0 -1mm
|
||
|
measy edge.__2 >> mpads.__0 -2mm
|
||
|
measy signals.__1 << signals.__1
|
||
|
measx signals.__1 >> signals.__1 1mm
|
||
|
measx rpads.__3 >> rpads.__3 1.5mm
|
||
|
measx rpads.__1 >> rpads.__1 2mm
|
||
|
measy signals.__3 -> signals.__1 0.5mm
|