mirror of
git://projects.qi-hardware.com/kicad-libs.git
synced 2024-11-22 14:27:11 +02:00
modules/usb_a_rcpt_mid.fpd: Molex 48258-0002/0001, TE 1746311
This commit is contained in:
parent
8f98ab74f8
commit
b19e249644
1
AUTHORS
1
AUTHORS
@ -96,6 +96,7 @@ Werner Almesberger <werner@almesberger.net>
|
||||
modules/qfp.fpd
|
||||
modules/usb-a-pcb.fpd
|
||||
modules/usb_a_plug_smt.fpd
|
||||
modules/usb_a_rcpt_mid.fpd
|
||||
modules/usb_a_rcpt_smt.fpd
|
||||
modules/sot-323.fpd
|
||||
modules/ssop.fpd
|
||||
|
@ -5,3 +5,6 @@ USB-A-PCB: http://www.poweredusb.org/pdf/usb20.pdf
|
||||
# unofficial copy of the specification. We reference it here because the
|
||||
# original is in a ZIP, making access less convenient:
|
||||
# http://www.usb.org/developers/docs/usb_20_071012.zip
|
||||
USB-A-MID-48258: Molex 48258-0002 and -0001
|
||||
USB-A-MID-1746311: TE 1746311
|
||||
Note: clearance between pins 2 and 3 is only about 0.16 mm / 6 mil
|
||||
|
@ -96,6 +96,8 @@ Connector
|
||||
RCA-3-RA
|
||||
RJ45-8-LED
|
||||
USB-A-DUAL-RECEPT-RA
|
||||
USB-A-MID-48258
|
||||
USB-A-MID-1746311
|
||||
XLR-PANEL-HORIZ/PCB-PLUG
|
||||
XLR-PANEL-HORIZ/PCB-SOCKET
|
||||
Header
|
||||
|
@ -14,6 +14,7 @@ MODULES=8_10-card 8_10-socket-ra 8_10-socket-ra-push-pull \
|
||||
soic sot23 spacer sot sot-323 ssop stdpass sw-spdt-smt \
|
||||
tactile-sw-spst-ra-dip to tsop tssop5 tswa \
|
||||
usb-a-dual-recept-r usb-a-pcb usb_a_plug_smt usb_a_rcpt_smt \
|
||||
usb_a_rcpt_mid \
|
||||
xlr-plug xlr-socket \
|
||||
xtal-2 xtal-4 \
|
||||
zx62-b-5pa zx62m-b-5p
|
||||
|
114
modules/usb_a_rcpt_mid.fpd
Normal file
114
modules/usb_a_rcpt_mid.fpd
Normal file
@ -0,0 +1,114 @@
|
||||
/* MACHINE-GENERATED ! */
|
||||
|
||||
frame lateral {
|
||||
table
|
||||
{ dx, pin }
|
||||
{ -1, 7 }
|
||||
{ 1, 8 }
|
||||
|
||||
__0: vec @(dx*Bx/2, Ly/2)
|
||||
__1: vec @(dx*Lxo/2, -Ly/2)
|
||||
pad "$pin" . __0
|
||||
}
|
||||
|
||||
frame rear {
|
||||
table
|
||||
{ dx, pin }
|
||||
{ -1, 5 }
|
||||
{ 1, 6 }
|
||||
|
||||
__0: vec @(dx*Rx/2, Ry)
|
||||
__1: vec .(Rw/2, Rh/2)
|
||||
__2: vec __0(-Rw/2, -Rh/2)
|
||||
hole __1 .
|
||||
__3: vec __0(aspect*Rw/2, aspect*Rh/2)
|
||||
__4: vec __0(-aspect*Rw/2, -aspect*Rh/2)
|
||||
rpad "$pin" . __3
|
||||
}
|
||||
|
||||
frame pins {
|
||||
table
|
||||
{ ?ascend, pin }
|
||||
{ 0, p }
|
||||
{ 1, 5-p }
|
||||
|
||||
table
|
||||
{ ?p, px }
|
||||
{ 1, -3.5mm }
|
||||
{ 2, -1mm }
|
||||
{ 3, 1mm }
|
||||
{ 4, 3.5mm }
|
||||
|
||||
loop p = 1, 4
|
||||
|
||||
__0: vec @(px, Py)
|
||||
__1: vec .(Pd/2, Pd/2)
|
||||
__2: vec __0(-Pd/2, -Pd/2)
|
||||
hole . __1
|
||||
__3: vec __0(-Pd/2*aspect, Pd/2*aspect)
|
||||
__4: vec __0(Pd/2*aspect, -Pd/2*aspect)
|
||||
rpad "$pin" __3 .
|
||||
}
|
||||
|
||||
frame front {
|
||||
set width = 10mm
|
||||
|
||||
__0: vec @(0mm, -Fy)
|
||||
__1: vec .(-width/2, 0mm)
|
||||
__2: vec __0(width/2, 0mm)
|
||||
line __1 . w
|
||||
}
|
||||
|
||||
frame board {
|
||||
set wing = 1mm
|
||||
|
||||
__0: vec @(0mm, -Cy)
|
||||
__1: vec @(0mm, By)
|
||||
__2: vec __0(Bx/2, 0mm)
|
||||
__3: vec .(wing, 0mm)
|
||||
line . __2 w
|
||||
__4: vec __0(-Bx/2, 0mm)
|
||||
__5: vec .(-wing, 0mm)
|
||||
line . __4 w
|
||||
__6: vec __1(Bx/2, 0mm)
|
||||
line . __2 w
|
||||
__7: vec __1(-Bx/2, 0mm)
|
||||
line __4 . w
|
||||
line . __6 w
|
||||
}
|
||||
|
||||
package "USB-A-MID-$name"
|
||||
unit mm
|
||||
|
||||
table
|
||||
{ name, Cy, Bx, By, Fy, Py, Pd, ascend, Rx, Ry, Rw, Rh, Lxo, Ly }
|
||||
{ "48258", 2mm, 13.5mm, 7.5mm, 9.9mm-6.85mm, 9.95mm, 0.85mm, 1, 15.7mm, 9.1mm, 0.9mm, 2.3mm, 18.3mm, 2.6mm }
|
||||
{ "1746311", 4mm, 14.2mm, 5.55mm, 14.55mm-9.05mm, 10.25mm, 0.92mm, 0, 12.8mm, 9.05mm, 0.9mm, 2mm, 18mm, 2.5mm }
|
||||
|
||||
set aspect = 2
|
||||
|
||||
set w = 5mil
|
||||
|
||||
__0: vec @(Lxo/2, 0mm)
|
||||
frame board @
|
||||
frame lateral @
|
||||
frame rear @
|
||||
frame pins @
|
||||
frame front @
|
||||
measx board.__4 >> board.__2 Cy-Fy-1mm
|
||||
measx lateral.__1 >> lateral.__1 -Fy+Ly/2-1.5mm
|
||||
measy lateral.__1 -> lateral.__0 1mm
|
||||
measy rear.__4 -> rear.__3 1.5mm
|
||||
measy board.__4 >> board.__7 (Lxo-Bx)/2+1.5mm
|
||||
measy __0 >> board.__6 -1mm
|
||||
measy __0 >> rear.__0 -1.5mm
|
||||
measy __0 >> pins.__0 -2mm
|
||||
measx pins.__0 -> pins.__0 2mm
|
||||
measx pins.__0 >> pins.__0 2.5mm
|
||||
measx rear.__4 -> rear.__3 -1.5mm
|
||||
measx pins.__3 -> pins.__4 -3mm
|
||||
measy rear.__2 -> rear.__1 1mm
|
||||
measx rear.__2 -> rear.__1 -2mm
|
||||
measx pins.__2 -> pins.__1 -1mm
|
||||
measx rear.__0 >> rear.__0 4.5mm
|
||||
measy front.__2 >> board.__2
|
Loading…
Reference in New Issue
Block a user