Root/modules/memcard8-molex-1050270001.fpd

Source at commit 7f3f9267cb007e13eca0af273f9eedad0c6c5659 created 1 year 6 months ago.
By Werner Almesberger, components/stm32.lib: add STM32L052x6/8 in QFN32 (KxU) package
1/* MACHINE-GENERATED ! */
2
3frame contacts {
4    table
5        { pin, x }
6        { 1, 3.85mm }
7        { 2, 2.75mm }
8        { 3, 1.65mm }
9        { 4, 0.9mm }
10        { "SW", 0.2mm }
11        { 5, -0.55mm }
12        { 6, -1.65mm }
13        { 7, -2.75mm }
14        { 8, -3.85mm }
15
16    set y = 7.15mm
17
18    table
19        { px, py }
20        { 0.5mm, 1mm }
21
22    __0: vec @(0mm, -y)
23    __1: vec .(x, 0mm)
24    __2: vec .(-px/2, 0mm)
25    __3: vec __1(px/2, py)
26    pad "$pin" . __2
27}
28
29frame shield {
30    table
31        { dx }
32        { -1 }
33        { 1 }
34
35    table
36        { dy }
37        { 0 }
38        { -1 }
39
40    table
41        { x, y }
42        { dx*5.75mm, dy*4.45mm }
43
44    table
45        { px, py }
46        { 1.05mm, 1.2mm }
47
48    set n = (dx+1)/2-dy*2+1
49
50    __0: vec @(x, y)
51    __1: vec .(-dx*px, -py)
52    pad "S$n" __0 .
53}
54
55frame card {
56    table
57        { x, y }
58        { 11mm, 15.35mm }
59
60    __0: vec @(-x/2, -y)
61    __1: vec @(x/2, -y)
62    line __0 . w
63}
64
65frame outline {
66    table
67        { ox, oy }
68        { 11.24mm, 6.05mm }
69
70    set xt = ox/2-1.2mm
71
72    table
73        { yst, ysb }
74        { 1.4mm, 4.25mm }
75
76    set xb = 4.85mm
77
78    table
79        { dx }
80        { -1 }
81        { 1 }
82
83    __0: vec @(dx*xt, 0mm)
84    line . @ w
85    __1: vec @(dx*ox/2, -yst)
86    __2: vec __1(0mm, yst-ysb)
87    line __1 . w
88    __3: vec @(dx*ox/2, -oy)
89    __4: vec __3(dx*(xb-ox/2), 0mm)
90    line . __3 w
91}
92
93package "MEMCARD8-MOLEX-1050270001"
94unit mm
95
96set w = 5mil
97
98__0: vec @(0mm, 0mm)
99frame contacts @
100frame shield @
101frame card @
102frame outline @
103measy shield.__0 -> shield.__0 1mm
104measy contacts.__2 -> outline.__0 3.5mm
105measy shield.__1 -> shield.__0 2.05mm
106measx __0 >> shield.__0 1mm
107measy contacts.__1 -> contacts.__3 1mm
108measx shield.__0 -> shield.__1 1mm
109measx contacts.__2 -> contacts.__3 -1mm
110measy card.__1 >> outline.__0 -1mm
111

Archive Download this file

Branches:
master



interactive