Date:2016-03-08 00:52:08 (3 years 6 months ago)
Author:Werner Almesberger
Commit:34a20f9778bd227c3550139631fd5943dfa63d23
Message:modules/memcard8-hirose-dm3cs.fpd: Hirose DM3CS memory card holder

Files: AUTHORS (1 diff)
modules/HIERARCHY (1 diff)
modules/Makefile (1 diff)
modules/memcard8-hirose-dm3cs.fpd (1 diff)

Change Details

AUTHORS
131131  modules/rev-led.fpd
132132  modules/tact-4-rect-smt.fpd
133133  modules/memcard8-jae-st1w008s4b.fpd
134  modules/memcard8-hirose-dm3cs.fpd
134135
135136Xiangfu <xiangfu@openmobilefree.net>
136137
modules/HIERARCHY
9090            8:10-SOCKET-RA
9191            8:10-SOCKET-RA-PUSH-PULL
9292            MEMCARD8-AMP-10100660
93            MEMCARD8-HIROSE-DM3CS
9394            MEMCARD8-JAE-ST1W008S4B
9495            MEMCARD8-MOLEX-1050270001
9596        Battery
modules/Makefile
77    header he-2row-dip he-shrouded \
88    inductor-2p ir \
99    lga ledsmd lp2032sm \
10    mdip meander-2450MHz memcard8-amp-10100660 memcard8-jae-st1w008s4b \
11    memcard8-molex-1050270001 \
10    mdip meander-2450MHz memcard8-amp-10100660 memcard8-hirose-dm3cs \
11    memcard8-jae-st1w008s4b memcard8-molex-1050270001 \
1212    mic-ra-dip mini-usb\
1313    pads pads-array phonejack pogo \
1414    qfn qfp \
modules/memcard8-hirose-dm3cs.fpd
1/* MACHINE-GENERATED ! */
2
3frame card {
4    table
5        { width, y }
6        { 11mm, -15.45mm }
7
8    set cx = -refx
9
10    __0: vec @(cx, y)
11    __1: vec .(width/2, 0mm)
12    __2: vec __0(-width/2, 0mm)
13    line . __1 w
14}
15
16frame outline {
17    table
18        { x0, dx, nx, y }
19        { -refx-13.8mm/2+xoff, 1, 6.3mm+2.7mm/2+clear, -7.8mm }
20        { -refx+13.8mm/2+xoff, -1, 1.65mm+1.2mm/2+clear, -7.8mm }
21
22    set x = nx*-dx
23
24    set xoff = 0.2mm
25
26    __0: vec @(x0, 0mm)
27    __2: vec @(x, 0mm)
28    line . __0 w
29    __1: vec __0(0mm, y)
30    line __0 . w
31    __3: vec __0(dx*13.8mm/2, 0mm)
32}
33
34frame keepout {
35    table
36        { ux0, ux1, uy0, uy1 }
37        { -8.25mm, 0.55mm, -5.4mm, -2.9mm }
38
39    table
40        { llx0, llx1, lrx0, lrx1 }
41        { -10.1mm, -9.5mm, 3.5mm, 4.1mm }
42
43    table
44        { ly1, ly0 }
45        { -7.8mm, -12.9mm+2.6mm/2+clear }
46
47    __0: vec @(ux0, uy0)
48    __1: vec @(ux1, uy1)
49    rect __0 . w
50    __2: vec @(0mm, ly0)
51    __3: vec @(0mm, ly1)
52    __4: vec .(llx0, 0mm)
53    __5: vec __3(llx1, 0mm)
54    line __4 . w
55    __6: vec __2(llx0, 0mm)
56    line . __4 w
57    __7: vec __2(llx1, 0mm)
58    line __5 . w
59    __8: vec __3(lrx0, 0mm)
60    __9: vec __3(lrx1, 0mm)
61    line __8 . w
62    __10: vec __2(lrx0, 0mm)
63    line . __8 w
64    __11: vec __2(lrx1, 0mm)
65    line __9 . w
66}
67
68frame switch {
69    table
70        { xc, y0 }
71        { 1.65mm, -1.2mm }
72
73    set px = 1.2mm
74
75    __0: vec @(xc, 0mm)
76    __1: vec .(-px/2, y0)
77    __2: vec __0(px/2, 0mm)
78    pad "SW" __1 .
79}
80
81frame ground {
82    table
83        { pxll, pxlr, pyl }
84        { 1mm, 1.5mm, 2.6mm }
85
86    table
87        { x1ll, x0lr, cyl }
88        { -9.3mm, 2.8mm, -12.9mm }
89
90    table
91        { pxu, pyu }
92        { 2.7mm, 1.4mm }
93
94    table
95        { xcul, xcur }
96        { -6.3mm, -1.4mm }
97
98    __0: vec @(x1ll, cyl)
99    __1: vec .(0mm, -pyl/2)
100    __2: vec .(-pxll, pyl)
101    pad "S1" . __1
102    __3: vec @(x0lr, cyl)
103    __4: vec .(0mm, -pyl/2)
104    __5: vec .(pxlr, pyl)
105    pad "S2" __4 .
106    __6: vec @(xcul, 0mm)
107    __7: vec @(xcur, 0mm)
108    __8: vec __6(-pxu/2, -pyu)
109    __9: vec __6(pxu/2, 0mm)
110    pad "S4" __8 .
111    __10: vec __7(pxu/2, -pyu)
112    __11: vec __7(-pxu/2, 0mm)
113    pad "S3" . __10
114}
115
116frame signals {
117    table
118        { y0, y1 }
119        { -14.4mm, -12.4mm }
120
121    table
122        { e, px }
123        { 1.1mm, 0.7mm }
124
125    set x = -e*(i-1)
126
127    loop i = 1, 8
128
129    __0: vec @(0mm, y0)
130    __1: vec .(x-px/2, 0mm)
131    __2: vec @(0mm, y1)
132    __3: vec .(x+px/2, 0mm)
133    pad "$i" __1 .
134}
135
136package "MEMCARD8-HIROSE-DM3CS"
137unit mm
138
139set w = 5mil
140
141set s = 0.8mm
142
143set clear = 0.2mm
144
145table
146    { refx, refy }
147    { 3.2mm, 6mm }
148
149__0: vec @(refx, refy)
150frame signals .
151frame ground .
152frame switch .
153frame keepout .
154frame outline .
155frame card .
156measx keepout.__4 >> keepout.__3 s
157measx keepout.__5 >> keepout.__3
158meas keepout.__3 >> keepout.__8
159measx keepout.__3 >> keepout.__9 s
160measx outline.__3 >> __0 1mm+2*s
161measx outline.__0 >> outline.__0 1mm+4*s
162measx ground.__8 >> ground.__9 2.4mm
163measx ground.__11 >> ground.__10 1mm
164measx switch.__1 >> switch.__2 2.2mm
165measy switch.__1 >> switch.__2 -4mm
166measy ground.__10 >> ground.__7 -5.1mm-s
167measx ground.__6 >> __0 1mm+3*s
168measx ground.__7 >> __0 1mm+s
169measx __0 >> switch.__0 1mm+s
170measy keepout.__1 >> outline.__0 11.4mm
171measy keepout.__0 -> outline.__0 2.6mm+s
172measx keepout.__0 >> __0 1mm
173measx __0 >> keepout.__1 -4.4mm
174measy keepout.__4 >> __0 0.8mm+2*s
175measy ground.__0 -> outline.__0 1.6mm+3*s
176measy ground.__4 >> ground.__5 1mm
177measx ground.__2 >> ground.__1 -5.8mm-s
178measx ground.__4 >> ground.__5 -3.2mm-s
179measx signals.__1 -> signals.__3 -3mm
180measx ground.__1 >> __0 -3.2mm-s
181measx __0 >> ground.__4 -17.4mm-s
182measy signals.__0 >> __0 -5.1mm-3*s
183measy signals.__2 >> __0 -5.1mm-2*s
184measx signals.__1 -> signals.__1 3mm
185measx card.__2 >> card.__1 -1mm
186measy card.__2 -> outline.__0 2.2mm+4*s

Archive Download the corresponding diff file

Branches:
master



interactive