mirror of
git://projects.qi-hardware.com/kicad-libs.git
synced 2024-11-25 18:56:14 +02:00
modules/inductor-2p.fpd: footprints for 2-SMD inductors (3mmx3mm for now)
This commit is contained in:
parent
6b6eaf674c
commit
b3d76021a0
1
AUTHORS
1
AUTHORS
@ -96,6 +96,7 @@ Werner Almesberger <werner@almesberger.net>
|
|||||||
modules/dfn.fpd
|
modules/dfn.fpd
|
||||||
modules/lga.fpd
|
modules/lga.fpd
|
||||||
modules/8_10-socket-ra-push-pull.fpd
|
modules/8_10-socket-ra-push-pull.fpd
|
||||||
|
modules/inductor-2p.fpd
|
||||||
|
|
||||||
Xiangfu <xiangfu@openmobilefree.net>
|
Xiangfu <xiangfu@openmobilefree.net>
|
||||||
|
|
||||||
|
@ -246,6 +246,8 @@ Discrete_2P
|
|||||||
c-smd-6.3mmx8mm
|
c-smd-6.3mmx8mm
|
||||||
c-smd-8mmx10.5mm
|
c-smd-8mmx10.5mm
|
||||||
c-smd-10mmx10.5mm
|
c-smd-10mmx10.5mm
|
||||||
|
Inductor
|
||||||
|
inductor-2p-3mmx3mm
|
||||||
Diode
|
Diode
|
||||||
DO-214AA
|
DO-214AA
|
||||||
LEDSMD-0603R
|
LEDSMD-0603R
|
||||||
|
@ -572,3 +572,8 @@ F: 8_10-SOCKET-RA-PUSH-PULL
|
|||||||
#
|
#
|
||||||
# http://media.digikey.com/pdf/Data%20Sheets/Amphenol%20PDFs/114-00841-68.pdf
|
# http://media.digikey.com/pdf/Data%20Sheets/Amphenol%20PDFs/114-00841-68.pdf
|
||||||
#
|
#
|
||||||
|
|
||||||
|
F: INDUCTOR-2P-3mmx3mm
|
||||||
|
#
|
||||||
|
# http://www.bourns.com/data/global/pdfs/SRN3015.pdf
|
||||||
|
#
|
||||||
|
@ -5,7 +5,7 @@ MODULES=8_10-card 8_10-socket-ra 8_10-socket-ra-push-pull \
|
|||||||
e-switch320 eus evqq7 \
|
e-switch320 eus evqq7 \
|
||||||
fiducial \
|
fiducial \
|
||||||
header he-2row-dip he-shrouded \
|
header he-2row-dip he-shrouded \
|
||||||
ir \
|
inductor-2p ir \
|
||||||
lga ledsmd \
|
lga ledsmd \
|
||||||
mdip meander-2450MHz mic-ra-dip mini-usb\
|
mdip meander-2450MHz mic-ra-dip mini-usb\
|
||||||
pads pads-array phonejack \
|
pads pads-array phonejack \
|
||||||
|
47
modules/inductor-2p.fpd
Normal file
47
modules/inductor-2p.fpd
Normal file
@ -0,0 +1,47 @@
|
|||||||
|
/* MACHINE-GENERATED ! */
|
||||||
|
|
||||||
|
frame pads {
|
||||||
|
set y = (2*i-1)*(py+gap)/2
|
||||||
|
|
||||||
|
set name = i+1
|
||||||
|
|
||||||
|
loop i = 0, 1
|
||||||
|
|
||||||
|
__0: vec @(0mm, y)
|
||||||
|
__1: vec .(px/2, py/2)
|
||||||
|
__2: vec __0(-px/2, -py/2)
|
||||||
|
pad "$name" . __1
|
||||||
|
}
|
||||||
|
|
||||||
|
frame outline {
|
||||||
|
__0: vec @(sizex/2, sizey/2)
|
||||||
|
__1: vec .(clear, clear)
|
||||||
|
__2: vec @(sizex/2, -sizey/2)
|
||||||
|
__3: vec .(clear, -clear)
|
||||||
|
line . __1 w
|
||||||
|
__4: vec @(-sizex/2, sizey/2)
|
||||||
|
__5: vec .(-clear, clear)
|
||||||
|
__6: vec @(-sizex/2, -sizey/2)
|
||||||
|
__7: vec .(-clear, -clear)
|
||||||
|
line . __5 w
|
||||||
|
}
|
||||||
|
|
||||||
|
package "INDUCTOR-2P-${sizex}x${sizey}"
|
||||||
|
unit mm
|
||||||
|
|
||||||
|
table
|
||||||
|
{ sizex, sizey, px, py, gap }
|
||||||
|
{ 3mm, 3mm, 2.7mm, 1mm, 1.2mm }
|
||||||
|
|
||||||
|
set clear = 0.1mm+w/2
|
||||||
|
|
||||||
|
set w = 5mil
|
||||||
|
|
||||||
|
frame pads @
|
||||||
|
frame outline @
|
||||||
|
measy pads.__2 >> pads.__1 1.5mm
|
||||||
|
measx pads.__2 -> pads.__1 -1mm
|
||||||
|
measy pads.__2 -> pads.__1 1mm
|
||||||
|
measy pads.__1 >> pads.__2 px+1mm
|
||||||
|
measx outline.__6 >> outline.__2 -1.5mm
|
||||||
|
measy outline.__2 >> outline.__0 -1mm
|
Loading…
Reference in New Issue
Block a user