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

he-2row-dip.fpd: based on Werner Almesberger's he10.fpd

added HE-${n}x2-${px} naming package with outline and marker frames
This commit is contained in:
Adam Wang 2012-06-15 10:18:09 +08:00
parent eeae68beb1
commit e33374c46f
2 changed files with 83 additions and 0 deletions

View File

@ -103,6 +103,13 @@ F: eus
# Fiducial (1 mm copper pad, 2 mm solder mask clearance)
F: fiducial
# 2 rows of Header with outline for through hole type
F: he-2row-dip
#
# - HE-${n}x2-${px}: for example FCI: the 87606-310LF data sheet, package drawing
# http://portal.fciconnect.com/res/en/pdffiles/doc_search/87606.pdf
#
# Header with outline for shrouded wafer for example, SMD type
F: he-shrouded
#

76
modules/he-2row-dip.fpd Normal file
View File

@ -0,0 +1,76 @@
/* MACHINE-GENERATED ! */
frame pin {
__0: vec @(d/2, d/2)
__1: vec @(d/2*aspect, d/2*aspect)
__2: vec @(-d/2, -d/2)
hole . __0
__3: vec @(-d/2*aspect, -d/2*aspect)
rpad "$n" . __1
}
frame pins {
table
{ n, y }
{ 2*nx+1, -py/2 }
{ 2*nx+2, py/2 }
set x = (nx-(N-2)/4)*px
loop nx = 0, N/2-1
__0: vec @(x, y)
frame pin .
}
frame marker {
__0: vec @(-(x+px/2), -py/2)
__1: vec .(0mm, 1.6*d/2)
circ __0 . 2*w
}
frame outline {
set x = (N/2*px-0.08mm)/2
set y = py
__0: vec @(-x, y)
__1: vec @(x, -y)
rect __0 . w
frame marker @
}
package "HE-${n}x2-${px}"
unit auto
table
{ N }
{ 2 }
{ 4 }
{ 6 }
{ 8 }
{ 10 }
{ 12 }
{ 14 }
{ 16 }
{ 18 }
{ 20 }
{ 40 }
table
{ px, py }
{ 100mil, 100mil }
set d = 0.8mm
set aspect = 2.5
set w = 5mil
set n = N/2
frame pins @
frame outline @
measy outline.__1 >> outline.__0 -2mm
measx outline.__0 >> outline.__1 1mm
measy pins.__0 -> pins.__0 -N/2*px