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

modules/usb_a_rcpt_smt.fpd: USB A receptacle

CnC Tech 1002-002-01100, Assmann AU-Y1006-2-R, etc.
This commit is contained in:
Werner Almesberger 2013-10-25 20:45:38 -03:00
parent e15d2b546b
commit bcb5563136
4 changed files with 92 additions and 1 deletions

View File

@ -95,6 +95,7 @@ Werner Almesberger <werner@almesberger.net>
modules/qfp.fpd
modules/usb-a-pcb.fpd
modules/usb_a_plug_smt.fpd
modules/usb_a_rcpt_smt.fpd
modules/sot-323.fpd
modules/ssop.fpd
modules/sot.fpd

View File

@ -78,6 +78,7 @@ Connector
MEMCARD8-AMP-10100660
miniUSB_B
USB-A-PLUG-SMT
USB-A-RCPT-SMT
ZX62-B-5PA
ZX62R-B-5P
ZX62M-B-BP

View File

@ -13,7 +13,7 @@ MODULES=8_10-card 8_10-socket-ra 8_10-socket-ra-push-pull \
rca-3-ra rj45 \
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-dual-recept-r usb-a-pcb usb_a_plug_smt usb_a_rcpt_smt \
xlr-plug xlr-socket \
xtal-2 xtal-4 \
zx62-b-5pa zx62m-b-5p

View File

@ -0,0 +1,89 @@
/* MACHINE-GENERATED ! */
frame pad {
table
{ h, w }
{ 2.82mm, 0.8mm }
__0: vec @(w/2, h/2)
__1: vec @(-w/2, -h/2)
pad "$name" . __0
}
frame pads {
table
{ name, x }
{ 1, -3.5mm }
{ 2, -1mm }
{ 3, 1mm }
{ 4, 3.5mm }
__0: vec @(0mm, A)
__1: vec .(x, 0mm)
frame pad .
}
frame shield {
table
{ name, x }
{ 5, -B/2 }
{ 6, B/2 }
set d = 2.3mm
set ratio = 2
__0: vec @(x, 0mm)
__1: vec .(d/2, d/2)
__2: vec __0(d/2*ratio, d/2*ratio)
__3: vec __0(-d/2, -d/2)
hole . __1
__4: vec __0(-d/2*ratio, -d/2*ratio)
rpad "$name" . __2
}
frame corner {
table
{ dx }
{ -1 }
{ 1 }
__0: vec @(dx*13.9mm/2, 14.15mm-10.3mm)
__1: vec .(-dx*1mm, 0mm)
line __0 . w
__2: vec __0(0mm, -1mm)
line __0 . w
}
frame edge {
__0: vec @(0mm, -10.3mm)
__1: vec .(mouth/2, 0mm)
__2: vec __0(-mouth/2, 0mm)
line . __1 w
}
package "USB-A-RCPT-SMT"
unit auto
table
{ A, B }
{ 3.71mm, 13.14mm }
set mouth = 14.5mm
set w = 5mil
frame edge @
frame pads @
frame shield @
frame corner @
measx pads.__1 >> pads.__1 3mm
measx pads.__1 -> pads.__1 2.5mm
measx pad.__1 -> pad.__0 3mm
measy pad.__1 -> pad.__0 0.5mm
measx shield.__0 >> shield.__0 0mm
measy edge.__1 >> shield.__0 -2.32mm
measy pads.__0 << shield.__0 -3mm
measx edge.__2 >> edge.__1 1mm
measx corner.__0 >> corner.__0 4mm
measy edge.__2 -> corner.__0 2mm