1
0
mirror of git://projects.qi-hardware.com/kicad-libs.git synced 2024-12-24 19:14:35 +02:00

xlr-socket.fpd: added XLR-PANEL-HORIZ/PCB-SOCKET

This commit is contained in:
Adam Wang 2012-06-13 10:19:26 +08:00
parent 6f14961796
commit ec427d9ea9
2 changed files with 111 additions and 3 deletions

View File

@ -112,6 +112,10 @@ F: mdip
#
# http://www.fairchildsemi.com/dwg/N0/N08H.pdf
# Small Size 2.4 GHz PCB Antenna
# http://focus.ti.com/lit/an/swra117d/swra117d.pdf
F: meander-2.4GHz
# Mini-USB B receptable (SMT; almost generic)
F: mini_usb_b
@ -362,6 +366,14 @@ F: usb_a_plug_smt
# USB 2.0 from usb_20_040908, page 99
F: usb-a-pcb
# XLR, SOCKET, PANEL, HORIZ/PCB
F: xlr-socket
#
# - XLR-PANEL-HORIZ/PCB-SOCKET, package drawing, land pattern
# for example NEUTRIK NC3FAH1
# http://www.neutrik.us/en-us/xlr/a-series/nc3fah1
#
# 2-pins rectangular smd xtal
F: xtal-2
#
@ -386,6 +398,4 @@ F: xtal-4
# http://www.abracon.com/Resonators/ABMM2.pdf
#
# Small Size 2.4 GHz PCB Antenna
# http://focus.ti.com/lit/an/swra117d/swra117d.pdf
F: meander-2.4GHz

98
modules/xlr-socket.fpd Normal file
View File

@ -0,0 +1,98 @@
/* MACHINE-GENERATED ! */
frame outline {
__0: vec @(-rightx, -(reary-edgey))
__1: vec @(leftx, edgey)
rect __0 . w
__2: vec @(panelcutoutx/2, edgey+fronty)
__4: vec __2(0mm, -fronty)
line __2 . w
__3: vec @(-panelcutoutx/2, edgey+fronty)
line __2 . w
__5: vec __3(0mm, -fronty)
line __3 . w
__6: vec @(screwx/2, edgey)
__7: vec @(-screwx/2, edgey)
}
package "XLR-PANEL-HORIZ/PCB-SOCKET"
unit mm
set x2 = 3.81mm
set x1 = 3.81mm
set y2 = 0.635mm
set y3 = 4.45mm
set edgey = 12.7mm
set r1 = 1.6mm
set r3 = 1.2mm
set factor = 1.5
set fronty = 2.7mm
set reary = 19.5mm
set leftx = 12.8mm
set rightx = 12.5mm
set w = 5mil
set panelcutoutx = 22mm
set screwx = 19.8mm
__0: vec @(x2, -y2)
__1: vec @(0mm, -y3)
__2: vec @(-x1, 0mm)
__3: vec @(0mm, edgey)
__4: vec .(-x1, -x1)
__5: vec __3(x2, -8.89mm)
__6: vec __1(r3/2, r3/2)
__7: vec __1(-r3/2, -r3/2)
hole . __6
__8: vec __0(r1/2, r1/2)
__9: vec __0(-r1/2, -r1/2)
hole . __8
__10: vec __2(r1/2, r1/2)
__11: vec __2(-r1/2, -r1/2)
hole . __10
__14: vec __4(r1/2, r1/2)
__15: vec __4(-r1/2, -r1/2)
hole . __14
__12: vec __5(r1/2, r1/2)
__13: vec __5(-r1/2, -r1/2)
hole . __12
__16: vec __0(factor*r1/2, -factor*r1/2)
__17: vec __0(-factor*r1/2, factor*r1/2)
rpad "2" . __16
__18: vec __2(factor*r1/2, -factor*r1/2)
__19: vec __2(-factor*r1/2, factor*r1/2)
rpad "1" . __18
__20: vec __1(factor*r1/2, -factor*r1/2)
__21: vec __1(-factor*r1/2, factor*r1/2)
rpad "3" . __20
__22: vec __3(0mm, fronty)
frame outline @
measy __9 >> __8 -(factor+2)*r1/2
measy __7 >> __6 -(factor+2.5)*r3/2
measy __0 >> __2 2*x1+(factor+1)*r1/2
measy __1 >> __2 x1+(factor+2)*r1/2
measy __2 >> __3 (factor+2)*r1/2
measy __4 >> __3
measx __4 >> __3 x1+0.5mm
measx __3 >> __5 0.5mm
measy __5 >> __3 -r1
meas __3 >> __22 (factor+2)*r1/2+x1
measy outline.__0 >> __3 0.8mm
measx outline.__0 >> __22 reary/2
meas outline.__3 >> outline.__2 0.8mm
meas __3 >> outline.__1 -reary/2
meas outline.__7 >> outline.__6 fronty/2
measx outline.__0 >> outline.__1 0.6mm