diff --git a/AUTHORS b/AUTHORS index c935b41..4de5821 100644 --- a/AUTHORS +++ b/AUTHORS @@ -95,6 +95,7 @@ Werner Almesberger 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 diff --git a/modules/HIERARCHY b/modules/HIERARCHY index dfb52ca..62ba10e 100644 --- a/modules/HIERARCHY +++ b/modules/HIERARCHY @@ -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 diff --git a/modules/Makefile b/modules/Makefile index 25ec136..8787f77 100644 --- a/modules/Makefile +++ b/modules/Makefile @@ -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 diff --git a/modules/usb_a_rcpt_smt.fpd b/modules/usb_a_rcpt_smt.fpd new file mode 100644 index 0000000..237d0c7 --- /dev/null +++ b/modules/usb_a_rcpt_smt.fpd @@ -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