modules/header-50mil-pin.fpd: add 50 mil headers suitable for regular pins

The HDR-...-50mil footprints have a diameter suitable only for very
thin pins, or cables.
This commit is contained in:
Werner Almesberger 2017-05-11 13:51:33 -03:00
parent 172970f073
commit e9464fddac
4 changed files with 92 additions and 1 deletions

View File

@ -142,6 +142,7 @@ Werner Almesberger <werner@almesberger.net>
modules/msl0104.fpd
modules/jtrace.fpd
modules/memcard8-molex-47309.fpd
modules/header-50mil-pin.fpd
Xiangfu <xiangfu@openmobilefree.net>

View File

@ -209,6 +209,47 @@ Connector
HDR-38x1-50mil
HDR-39x1-50mil
HDR-40x1-50mil
50mil-Pin
HDR-1x1-50mil-PIN
HDR-2x1-50mil-PIN
HDR-3x1-50mil-PIN
HDR-4x1-50mil-PIN
HDR-5x1-50mil-PIN
HDR-6x1-50mil-PIN
HDR-7x1-50mil-PIN
HDR-8x1-50mil-PIN
HDR-9x1-50mil-PIN
HDR-10x1-50mil-PIN
HDR-11x1-50mil-PIN
HDR-12x1-50mil-PIN
HDR-13x1-50mil-PIN
HDR-14x1-50mil-PIN
HDR-15x1-50mil-PIN
HDR-16x1-50mil-PIN
HDR-17x1-50mil-PIN
HDR-18x1-50mil-PIN
HDR-19x1-50mil-PIN
HDR-20x1-50mil-PIN
HDR-21x1-50mil-PIN
HDR-22x1-50mil-PIN
HDR-23x1-50mil-PIN
HDR-24x1-50mil-PIN
HDR-25x1-50mil-PIN
HDR-26x1-50mil-PIN
HDR-27x1-50mil-PIN
HDR-28x1-50mil-PIN
HDR-29x1-50mil-PIN
HDR-30x1-50mil-PIN
HDR-31x1-50mil-PIN
HDR-32x1-50mil-PIN
HDR-33x1-50mil-PIN
HDR-34x1-50mil-PIN
HDR-35x1-50mil-PIN
HDR-36x1-50mil-PIN
HDR-37x1-50mil-PIN
HDR-38x1-50mil-PIN
HDR-39x1-50mil-PIN
HDR-40x1-50mil-PIN
100mil
HDR-1x1-100mil
HDR-2x1-100mil

View File

@ -4,7 +4,7 @@ MODULES=0805-6 1059 8_10-card 8_10-socket-ra 8_10-socket-ra-push-pull \
dcjack df40 dfn din-5 dip dip4of6 do-214 dvi-recept-ra \
e-switch320 er-oled-fpc30 eus evqq7 \
fiducial \
header he-2row-dip he-shrouded \
header he-2row-dip he-shrouded header-50mil-pin \
inductor-2p ir \
jtrace \
lga ledsmd lp2032sm \

View File

@ -0,0 +1,49 @@
/* MACHINE-GENERATED ! */
frame pin {
table
{ h, w, d }
{ 45mil+5mil, 35mil+5mil, 22mil }
loop n = 1, c
__0: vec @(((1-c)/2+n-1)*50mil, 0mm)
__1: vec .(w/2, h/2)
__2: vec __0(-w/2, -h/2)
rpad "$n" . __1
__3: vec __0(-d/2, d/2)
__4: vec __0(d/2, -d/2)
hole __3 .
}
frame outline {
set w = 5mil
set x = c*50mil
set y = 2.5mm
__0: vec @(x/2, y/2)
__1: vec @(-x/2, -y/2)
rect . __0 w
__2: vec @(-x/2, y/2-3*w)
__3: vec .(50mil, 0mm)
line . __2 w
__4: vec @(-x/2, -y/2+3*w)
__5: vec .(50mil, 0mm)
line . __4 w
}
package "HDR-${c}x1-50mil-PIN"
unit mil
loop c = 1, 40
frame pin @
frame outline @
measx outline.__1 >> outline.__0 -1.5mm
measy outline.__1 >> outline.__0 1mm
measy pin.__2 -> pin.__1 0.6mm
measx pin.__2 -> pin.__1 -1.5mm
measy pin.__3 << pin.__4 -1mm
measx pin.__0 -> pin.__0 2mm