Date:2014-01-05 16:09:57 (6 months 24 days ago)
Author:Werner Almesberger
Commit:b19e249644e67a86f565ac035ec5f2ccfde53f52
Message:modules/usb_a_rcpt_mid.fpd: Molex 48258-0002/0001, TE 1746311

Files: AUTHORS (1 diff)
modules/DESCR (1 diff)
modules/HIERARCHY (1 diff)
modules/Makefile (1 diff)
modules/usb_a_rcpt_mid.fpd (1 diff)

Change Details

AUTHORS
9696  modules/qfp.fpd
9797  modules/usb-a-pcb.fpd
9898  modules/usb_a_plug_smt.fpd
99  modules/usb_a_rcpt_mid.fpd
99100  modules/usb_a_rcpt_smt.fpd
100101  modules/sot-323.fpd
101102  modules/ssop.fpd
modules/DESCR
55# unofficial copy of the specification. We reference it here because the
66# original is in a ZIP, making access less convenient:
77# http://www.usb.org/developers/docs/usb_20_071012.zip
8USB-A-MID-48258: Molex 48258-0002 and -0001
9USB-A-MID-1746311: TE 1746311
10  Note: clearance between pins 2 and 3 is only about 0.16 mm / 6 mil
modules/HIERARCHY
9696        RCA-3-RA
9797        RJ45-8-LED
9898        USB-A-DUAL-RECEPT-RA
99        USB-A-MID-48258
100        USB-A-MID-1746311
99101        XLR-PANEL-HORIZ/PCB-PLUG
100102        XLR-PANEL-HORIZ/PCB-SOCKET
101103        Header
modules/Makefile
1414    soic sot23 spacer sot sot-323 ssop stdpass sw-spdt-smt \
1515    tactile-sw-spst-ra-dip to tsop tssop5 tswa \
1616    usb-a-dual-recept-r usb-a-pcb usb_a_plug_smt usb_a_rcpt_smt \
17    usb_a_rcpt_mid \
1718    xlr-plug xlr-socket \
1819     xtal-2 xtal-4 \
1920    zx62-b-5pa zx62m-b-5p
modules/usb_a_rcpt_mid.fpd
1/* MACHINE-GENERATED ! */
2
3frame lateral {
4    table
5        { dx, pin }
6        { -1, 7 }
7        { 1, 8 }
8
9    __0: vec @(dx*Bx/2, Ly/2)
10    __1: vec @(dx*Lxo/2, -Ly/2)
11    pad "$pin" . __0
12}
13
14frame rear {
15    table
16        { dx, pin }
17        { -1, 5 }
18        { 1, 6 }
19
20    __0: vec @(dx*Rx/2, Ry)
21    __1: vec .(Rw/2, Rh/2)
22    __2: vec __0(-Rw/2, -Rh/2)
23    hole __1 .
24    __3: vec __0(aspect*Rw/2, aspect*Rh/2)
25    __4: vec __0(-aspect*Rw/2, -aspect*Rh/2)
26    rpad "$pin" . __3
27}
28
29frame pins {
30    table
31        { ?ascend, pin }
32        { 0, p }
33        { 1, 5-p }
34
35    table
36        { ?p, px }
37        { 1, -3.5mm }
38        { 2, -1mm }
39        { 3, 1mm }
40        { 4, 3.5mm }
41
42    loop p = 1, 4
43
44    __0: vec @(px, Py)
45    __1: vec .(Pd/2, Pd/2)
46    __2: vec __0(-Pd/2, -Pd/2)
47    hole . __1
48    __3: vec __0(-Pd/2*aspect, Pd/2*aspect)
49    __4: vec __0(Pd/2*aspect, -Pd/2*aspect)
50    rpad "$pin" __3 .
51}
52
53frame front {
54    set width = 10mm
55
56    __0: vec @(0mm, -Fy)
57    __1: vec .(-width/2, 0mm)
58    __2: vec __0(width/2, 0mm)
59    line __1 . w
60}
61
62frame board {
63    set wing = 1mm
64
65    __0: vec @(0mm, -Cy)
66    __1: vec @(0mm, By)
67    __2: vec __0(Bx/2, 0mm)
68    __3: vec .(wing, 0mm)
69    line . __2 w
70    __4: vec __0(-Bx/2, 0mm)
71    __5: vec .(-wing, 0mm)
72    line . __4 w
73    __6: vec __1(Bx/2, 0mm)
74    line . __2 w
75    __7: vec __1(-Bx/2, 0mm)
76    line __4 . w
77    line . __6 w
78}
79
80package "USB-A-MID-$name"
81unit mm
82
83table
84    { name, Cy, Bx, By, Fy, Py, Pd, ascend, Rx, Ry, Rw, Rh, Lxo, Ly }
85    { "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 }
86    { "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 }
87
88set aspect = 2
89
90set w = 5mil
91
92__0: vec @(Lxo/2, 0mm)
93frame board @
94frame lateral @
95frame rear @
96frame pins @
97frame front @
98measx board.__4 >> board.__2 Cy-Fy-1mm
99measx lateral.__1 >> lateral.__1 -Fy+Ly/2-1.5mm
100measy lateral.__1 -> lateral.__0 1mm
101measy rear.__4 -> rear.__3 1.5mm
102measy board.__4 >> board.__7 (Lxo-Bx)/2+1.5mm
103measy __0 >> board.__6 -1mm
104measy __0 >> rear.__0 -1.5mm
105measy __0 >> pins.__0 -2mm
106measx pins.__0 -> pins.__0 2mm
107measx pins.__0 >> pins.__0 2.5mm
108measx rear.__4 -> rear.__3 -1.5mm
109measx pins.__3 -> pins.__4 -3mm
110measy rear.__2 -> rear.__1 1mm
111measx rear.__2 -> rear.__1 -2mm
112measx pins.__2 -> pins.__1 -1mm
113measx rear.__0 >> rear.__0 4.5mm
114measy front.__2 >> board.__2

Archive Download the corresponding diff file

Branches:
master



interactive