Root/modules/c-t-smd.fpd

Source at commit 5ed16708597ccf77aca40505ca75716a6518b49e created 7 years 4 months ago.
By Werner Almesberger, modules/: add measurementes to DIP-4/6-300mil; add to catalog and Makefile
1/* MACHINE-GENERATED ! */
2
3frame pad_r {
4    ll: vec @(-Y/2, -X/2)
5    __0: vec @(Y/2, X/2)
6    pad "2" ll .
7}
8
9frame pad_l {
10    ll: vec @(-Y/2, -X/2)
11    __0: vec @(Y/2, X/2)
12    pad "1" ll .
13}
14
15frame pads {
16    left: vec @(-C, 0mm)
17    frame pad_l .
18    right: vec @(C, 0mm)
19    frame pad_r .
20}
21
22frame polarized {
23    loop if = anode, 0
24
25    __0: vec @(-(V1/2+5*silk), 0mm)
26    __1: vec .(0mm, 3*silk)
27    __2: vec __0(0mm, -3*silk)
28    line . __1 silk
29    __3: vec __0(-3*silk, 0mm)
30    line __0 . silk
31    __4: vec __0(3*silk, 0mm)
32    line __0 . silk
33}
34
35frame outline {
36    ll: vec @(-V1/2, -V2/2)
37    ur: vec @(V1/2, V2/2)
38    rect ll . silk
39    frame polarized @
40}
41
42package "TC-$Case-$EIA-$Density"
43unit mm
44
45table
46    { Case, EIA, Density, anode, X, Y, C, V1, V2 }
47    { "A", "3216-18", "A", 0, 1.35mm, 2.15mm, 1.45mm, 6.1mm, 2.8mm }
48    { "A", "3216-18", "B", 0, 1.25mm, 1.75mm, 1.35mm, 5mm, 2.3mm }
49    { "A", "3216-18", "C", 0, 1.15mm, 1.35mm, 1.25mm, 4.1mm, 2mm }
50    { "B", "3528-21", "A", 0, 2.35mm, 2.12mm, 1.45mm, 6.1mm, 4mm }
51    { "B", "3528-21", "B", 0, 2.25mm, 1.75mm, 1.35mm, 5mm, 3.5mm }
52    { "B", "3528-21", "C", 0, 2.15mm, 1.35mm, 1.25mm, 4.1mm, 3.2mm }
53    { "C", "6032-28", "A", 0, 2.35mm, 2.65mm, 2.6mm, 8.9mm, 4.4mm }
54    { "C", "6032-28", "B", 0, 2.25mm, 2.25mm, 2.5mm, 7.8mm, 3.9mm }
55    { "C", "6032-28", "C", 0, 2.15mm, 1.85mm, 2.4mm, 6.9mm, 3.6mm }
56    { "D", "7343-31", "A", 0, 2.55mm, 3.75mm, 2.7mm, 10.2mm, 5.5mm }
57    { "D", "7343-31", "B", 0, 2.45mm, 3.35mm, 2.6mm, 9.1mm, 5mm }
58    { "D", "7343-31", "C", 0, 2.35mm, 2.95mm, 2.5mm, 8.2mm, 4.7mm }
59    { "L", "6032-20", "A", 0, 2.35mm, 2.65mm, 2.6mm, 8.9mm, 4.4mm }
60    { "L", "6032-20", "B", 0, 2.25mm, 2.25mm, 2.5mm, 7.8mm, 3.9mm }
61    { "L", "6032-20", "C", 0, 2.15mm, 1.85mm, 2.4mm, 6.9mm, 3.6mm }
62    { "M", "3258-15", "A", 0, 2.35mm, 2.15mm, 1.45mm, 6.1mm, 4mm }
63    { "M", "3258-15", "B", 0, 2.25mm, 1.75mm, 1.35mm, 5mm, 3.5mm }
64    { "M", "3258-15", "C", 0, 2.15mm, 1.35mm, 1.25mm, 4.1mm, 3.2mm }
65    { "T", "3528-12", "A", 0, 2.35mm, 2.15mm, 1.45mm, 6.1mm, 4mm }
66    { "T", "3528-12", "B", 0, 2.25mm, 1.75mm, 1.35mm, 5mm, 3.5mm }
67    { "T", "3528-12", "C", 0, 2.15mm, 1.35mm, 1.25mm, 4.1mm, 3.2mm }
68    { "U", "6032-15", "A", 0, 2.55mm, 3.75mm, 2.7mm, 10.2mm, 5.5mm }
69    { "U", "6032-15", "B", 0, 2.45mm, 3.35mm, 2.6mm, 9.1mm, 5mm }
70    { "U", "6032-15", "C", 0, 2.35mm, 2.95mm, 2.5mm, 8.2mm, 4.7mm }
71
72set silk = 5mil
73
74frame pads @
75frame outline @
76measx outline.ll >> outline.ur -2*silk
77meas pads.left >> pads.right X/2+2*silk
78measx pad_l.ll >> pad_l.__0 -silk
79measy pad_r.ll >> pad_r.__0 silk
80measy outline.ll >> outline.ur -V1-2*silk
81measx pad_l.ll >> pad_r.__0 -2*silk
82

Archive Download this file

Branches:
master



interactive