mirror of
git://projects.qi-hardware.com/kicad-libs.git
synced 2024-11-20 18:58:26 +02:00
65 lines
1013 B
Plaintext
65 lines
1013 B
Plaintext
/* MACHINE-GENERATED ! */
|
|
|
|
frame hole {
|
|
set r = (ph+slack)/2
|
|
|
|
loop loop = 1, pin
|
|
|
|
__0: vec @(r, r)
|
|
__1: vec @(-r, -r)
|
|
hole . __0
|
|
}
|
|
|
|
frame silk {
|
|
set r = (cd*aspect+clear)/2
|
|
|
|
loop if = 1, silk
|
|
|
|
__0: vec @(r, 0mm)
|
|
circ @ . w
|
|
__1: vec @(-r, 0mm)
|
|
}
|
|
|
|
frame pad {
|
|
set r = cd*aspect/2
|
|
|
|
__0: vec @(r, r)
|
|
__1: vec @(-r, -r)
|
|
rpad "1" . __0
|
|
}
|
|
|
|
package "POGO-$name$ext"
|
|
unit mm
|
|
|
|
table
|
|
{ name, cd, pin, ph }
|
|
{ "0906", 1.83mm, 1, 0.51mm }
|
|
{ "0930", 1.83mm, 1, 0.51mm }
|
|
{ "0914", 1.4mm, 1, 0.74mm }
|
|
{ "0908", 1.83mm, 1, 0.51mm }
|
|
{ "0932", 1.4mm, 1, 0.74mm }
|
|
{ "0901", 1.4mm, 1, 0.74mm }
|
|
{ "0929", 1.5mm, 1, 0.74mm }
|
|
{ "0922", 1.52mm, 1, 0.74mm }
|
|
{ "0956", 1.83mm, 1, 0.89mm }
|
|
|
|
set aspect = 1.4
|
|
|
|
set slack = 0.05mm
|
|
|
|
set clear = 0.5mm
|
|
|
|
table
|
|
{ silk, ext }
|
|
{ 0, "" }
|
|
{ 1, "-SILK" }
|
|
|
|
set w = 5mil
|
|
|
|
frame pad @
|
|
frame hole @
|
|
frame silk @
|
|
measx pad.__1 >> pad.__0 -1mm
|
|
measx hole.__1 >> hole.__0 -(cd*aspect-ph-slack)/2-0.5mm
|
|
measx silk.__1 >> silk.__0 cd*aspect/2+1mm
|