1
0
mirror of git://projects.qi-hardware.com/kicad-libs.git synced 2024-11-22 13:42:48 +02:00

mdip.fpd: added.

This commit is contained in:
Adam Wang 2012-05-23 14:47:24 +08:00
parent d18ba26945
commit ba2a95bf4b

70
modules/mdip.fpd Normal file
View File

@ -0,0 +1,70 @@
/* MACHINE-GENERATED ! */
frame pin {
__0: vec @(-Px/2, Py/2)
__1: vec @(Px/2, -Py/2)
pad "$n" __0 .
}
frame pin_top {
set n = N-i
frame pin @
}
frame pin_bottom {
set n = i+1
frame pin @
}
frame pins {
loop i = 0, side-1
__0: vec @(pitch*(i-(side-1)/2), 0mm)
__1: vec .(0mm, width/2)
frame pin_top .
__2: vec __0(0mm, -width/2)
frame pin_bottom .
}
frame marker {
set r = (side*pitch-x)/2-w
set clear = 0.3mm
__0: vec @(-x/2-r-clear, -y/2+r)
__1: vec .(0mm, r)
circ __0 . 5mil
}
frame outline {
set x = (side-1)*pitch+Px
set y = width-pitch
set w = 5mil
__0: vec @(x/2, y/2)
__1: vec @(-x/2, -y/2)
rect . __0 w
frame marker @
}
package "MDIP-$N-${width}"
unit mm
set N = 2*side
set width = 300mil
set pitch = 100mil
set Px = 1.78mm
set Py = 1.52mm
loop side = 2, 6
frame outline @
frame pins @