Date:2016-12-10 18:52:55 (2 years 7 months ago)
Author:Werner Almesberger
Commit:92ff64d0d54022a6d6438485f789588e3cba4873
Message:modules/tact-4-rect-smt.fpd: forgot to commit (reported by Alvaro Gamez Machado)

Files: modules/tact-4-rect-smt.fpd (1 diff)

Change Details

modules/tact-4-rect-smt.fpd
1/* MACHINE-GENERATED ! */
2
3frame pads {
4    table
5        { n, dx, dy }
6        { 1, -1, -1 }
7        { 2, -1, 1 }
8        { 3, 1, -1 }
9        { 4, 1, 1 }
10
11    __0: vec @(dx*Xi/2, dy*Yi/2)
12    __1: vec .(dx*(Xo-Xi)/2, dy*(Yo-Yi)/2)
13    pad "$n" . __0
14}
15
16frame outline_tb {
17    table
18        { dy }
19        { -1 }
20        { 1 }
21
22    set x = Xi/2-gap
23
24    set y = dy*Yb/2
25
26    __0: vec @(x, y)
27    __1: vec @(-x, y)
28    line . __0 w
29}
30
31frame outline_lr {
32    table
33        { dx }
34        { -1 }
35        { 1 }
36
37    set x = dx*Xb/2
38
39    set y = Yi/2-gap
40
41    __0: vec @(x, y)
42    __1: vec @(x, -y)
43    line __0 . w
44}
45
46frame outline {
47    set xs = Xb/6
48
49    set ys = Yb/6
50
51    __0: vec @(-2*xs, 0mm)
52    __1: vec .(xs, 0mm)
53    line __0 . w
54    __2: vec .(2*xs, ys)
55    line __1 . w
56    __3: vec @(xs, 0mm)
57    __4: vec .(xs, 0mm)
58    line __3 . w
59    frame outline_lr @
60    frame outline_tb @
61}
62
63package "$name"
64unit mm
65
66table
67    { name, Xb, Yb, Xi, Xo, Yi, Yo }
68    { "TL3315", 4.5mm, 4.5mm, 2.4mm, 4.6mm, 3.75mm, 5.15mm }
69    { "EVQPQ", 4.5mm, 4.5mm, 3mm, 4.8mm, 2.85mm, 4.85mm }
70
71set w = 5mil
72
73set gap = 0.3mm
74
75frame pads @
76frame outline @
77measy pads.__1 -> pads.__0 0.5mm
78measx pads.__1 -> pads.__0 -0.5mm
79measy pads.__1 -> pads.__1 1mm
80measx pads.__1 -> pads.__1 -1mm
81measy pads.__0 -> pads.__0 (Xo-Xi)/2+0.5mm
82measx pads.__0 -> pads.__0 -(Yo-Yi)/2-0.5mm
83measx outline_lr.__1 >> outline_lr.__1
84measy outline_tb.__0 >> outline_tb.__0

Archive Download the corresponding diff file

Branches:
master



interactive