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

modules/: add measurementes to DIP-4/6-300mil; add to catalog and Makefile

This commit is contained in:
Werner Almesberger 2012-07-14 22:28:09 -03:00
parent 563e5944e3
commit 5ed1670859
4 changed files with 17 additions and 4 deletions

View File

@ -300,7 +300,7 @@ Dual
TSOP-66 TSOP-66
TH TH
DIP-4-300mil DIP-4-300mil
# DIP-4/6-300mil DIP-4/6-300mil
DIP-6-300mil DIP-6-300mil
DIP-8-300mil DIP-8-300mil
DIP-10-300mil DIP-10-300mil

View File

@ -519,4 +519,9 @@ F: xtal-4
# http://www.abracon.com/Resonators/ABMM2.pdf # http://www.abracon.com/Resonators/ABMM2.pdf
# #
# DIP4 component in a DIP6 socket
F: dip4of6
#
# The smallest DIP socket commonly available is DIP6, but there are some
# components that come in a DIP4 package.
#

View File

@ -1,7 +1,7 @@
MODULES=8_10-card 8_10-socket-ra \ MODULES=8_10-card 8_10-socket-ra \
bat-clip-aa-th bga \ bat-clip-aa-th bga \
c-smd c-t-smd \ c-smd c-t-smd \
dcjack din-5 dip do-214 dvi-recept-ra \ dcjack din-5 dip dip4of6 do-214 dvi-recept-ra \
eus \ eus \
fiducial \ fiducial \
header he-2row-dip he-shrouded \ header he-2row-dip he-shrouded \

View File

@ -7,10 +7,10 @@ frame hole {
} }
frame pin { frame pin {
frame hole @
__2: vec @(-ratio*hole/2, ratio*hole/2) __2: vec @(-ratio*hole/2, ratio*hole/2)
__3: vec @(ratio*hole/2, -ratio*hole/2) __3: vec @(ratio*hole/2, -ratio*hole/2)
rpad "$n" __2 . rpad "$n" __2 .
frame hole @
} }
frame pin_top { frame pin_top {
@ -72,6 +72,7 @@ package "DIP-${N}/${M}-${width}"
unit mm unit mm
set N = 2*populated set N = 2*populated
set M = 2*side set M = 2*side
set width = 300mil set width = 300mil
@ -83,8 +84,15 @@ set ratio = 2
set pitch = 100mil set pitch = 100mil
set side = 3 set side = 3
set populated = 2 set populated = 2
frame outline @ frame outline @
frame pins @ frame pins @
frame holes @ frame holes @
measx hole.__1 -> hole.__0 -1mm
measx pin.__2 -> pin.__3 -3mm
measx outline.__1 >> outline.__0 -4mm
measy outline.__0 >> outline.__1 1mm
measy holes.__1 >> holes.__2 3mm
measx pins.__2 >> pins.__2 2mm