Root/modules/memcard8-molex-47309.fpd

Source at commit 4a18b7c09fc93aa1250bee164de3f7e1adf874af created 2 years 3 months ago.
By Werner Almesberger, modules/memcard8-molex-47309.fpd: Molex 47309 series memory card headers
1/* MACHINE-GENERATED ! */
2
3frame card {
4    __0: vec @(-4.85mm, -15.3mm)
5    __1: vec .(11mm, 0mm)
6    line __0 . w
7}
8
9frame outline {
10    set clear = 0.3mm
11
12    __0: vec @(-ol, 0mm)
13    __1: vec __0(0mm, -1.91mm+clear)
14    line . __0 w
15    __2: vec @(or, 0mm)
16    line __0 . w
17    __3: vec __2(0mm, -2.35mm+clear)
18    line __2 . w
19    __4: vec @(0mm, -oy)
20    __5: vec .(-(5.6mm-1.2mm-clear), 0mm)
21    __6: vec __4(4.3mm-clear, 0mm)
22    line __5 . w
23}
24
25frame shield {
26    __0: vec @(-5.6mm, -1.91mm)
27    __1: vec .(1.2mm, -3.79mm)
28    pad "S1" __0 .
29    __3: vec @(6.2mm, -2.35mm)
30    __4: vec .(-1.45mm, -1.4mm)
31    pad "S2" . __3
32    __2: vec @(4.3mm, -1.91mm-3.79mm)
33    __5: vec .(0.95mm, 0.85mm)
34    pad "S3" __2 .
35}
36
37frame switch {
38    __0: vec @(5.2mm, -4mm)
39    __1: vec .(1mm, -0.6mm)
40    pad "SW" __0 .
41}
42
43frame pins {
44    table
45        { px, py, e }
46        { 0.6mm, 1.25mm, 1.1mm }
47
48    set x = (8/2-i+0.5)*e
49
50    set y = 0.7mm+py/2
51
52    loop i = 1, 8
53
54    __0: vec @(x, -y)
55    __1: vec .(px/2, py/2)
56    __2: vec __0(-px/2, -py/2)
57    pad "$i" . __1
58}
59
60package "MEMCARD8-MOLEX-47309"
61unit mm
62allow overlap
63
64table
65    { ox, oy }
66    { 11.4mm, 5.5mm }
67
68table
69    { ol, or }
70    { 5.4mm, 6mm }
71
72set w = 5mil
73
74__0: vec @((ol-or)/2, oy/2)
75frame pins .
76frame shield .
77frame switch .
78frame outline .
79frame card .
80measy shield.__1 >> shield.__0 2.2mm
81measy switch.__1 >> switch.__0 -2mm
82measy shield.__4 >> shield.__3 -2.45mm
83measy shield.__2 >> shield.__5 -2mm
84measx shield.__2 >> shield.__5 -1mm
85measx shield.__0 >> shield.__1 -4.79mm
86measx shield.__4 >> shield.__3 2.4mm
87measx switch.__0 >> switch.__1
88measx outline.__0 >> __0 1mm
89measx __0 >> outline.__2 1mm
90measx shield.__0 >> __0 3.91mm
91measx __0 >> shield.__3 2mm
92measy shield.__0 >> outline.__0 1mm
93measx pins.__0 -> pins.__0 -2mm
94measx pins.__2 -> pins.__1 -0.5mm
95measy pins.__2 -> pins.__1 0.2mm
96measy card.__0 >> outline.__0 2.5mm
97measx card.__0 >> __0 5mm
98measx card.__0 >> card.__1 1mm
99measy shield.__3 >> outline.__2 -1mm
100measy switch.__0 >> outline.__2 -3mm
101measx __0 >> switch.__0 -4mm
102measx __0 >> shield.__2 -4.85mm
103measy pins.__1 >> __0
104

Archive Download this file

Branches:
master



interactive