Root/examples/sc89.fpd

Source at commit 377b7f81193685f23c93546767a059e194419446 created 3 years 5 months ago.
By Werner Almesberger, fped.c: new option -m (for -p and -P) to suppress showing measurements
1/* MACHINE-GENERATED ! */
2
3frame pad {
4    corner: vec @(-Px/2, -Py/2)
5    x: vec .(Px, 0mm)
6    y: vec corner(0mm, Py)
7    pad "$pad" . x
8}
9
10frame pad_ne {
11    set pad = 2
12
13    _pad_ne_0: vec @(-Px/2, -Py/2)
14    frame pad .
15}
16
17frame pad_nw {
18    set pad = 1
19
20    _pad_nw_0: vec @(Px/2, -Py/2)
21    frame pad .
22}
23
24frame pad_sc {
25    set pad = 3
26
27    _pad_sc_0: vec @(0mm, Py/2)
28    frame pad .
29}
30
31frame outline {
32    top: vec @(0mm, Oy/2)
33    bottom: vec @(0mm, -Oy/2)
34    bot_right: vec .(Ox/2, 0mm)
35    bot_left: vec bottom(-Ox/2, 0mm)
36    line . bot_right 5mil
37    top_right: vec top(Ow/2, 0mm)
38    top_left: vec top(-Ow/2, 0mm)
39    line . top_right 5mil
40    middle: vec @(0mm, Oh)
41    mid_rightmost: vec .(Ox/2, 0mm)
42    line . bot_right 5mil
43    mid_leftmost: vec middle(-Ox/2, 0mm)
44    line . bot_left 5mil
45    mid_right: vec middle(Ow/2, 0mm)
46    line top_right . 5mil
47    line . mid_rightmost 5mil
48    mid_left: vec middle(-Ow/2, 0mm)
49    line mid_leftmost . 5mil
50    line top_left . 5mil
51}
52
53package "SC89"
54table
55    { Px, Py, Gy, Wx }
56    { 0.5mm, 0.6mm, 0.7mm, 1.5mm }
57
58table
59    { Ox, Oy, Oh, Ow }
60    { 2mm, 2.2mm, 0.6mm, 0.85mm }
61
62ref_up: vec @(0mm, Gy/2)
63frame pad_sc .
64ref_down_c: vec @(0mm, -Gy/2)
65ref_down_r: vec .(Wx/2, 0mm)
66frame pad_ne .
67ref_down_l: vec ref_down_c(-Wx/2, 0mm)
68frame pad_nw .
69dummy: vec @(0.2mm, 0mm)
70frame outline @
71measx pad.corner >> pad.x -0.6mm
72measy pad.corner >> pad.y 0.8mm
73measy ref_down_l >> pad.corner 0.5mm
74measx pad.corner -> pad.x -0.3mm
75measy pad.corner >> ref_down_l 0.5mm
76measy dummy >> outline.bot_right 1.1mm
77measy outline.mid_rightmost >> dummy 0.3mm
78measy outline.top_right >> outline.bot_right 1.2mm
79measx outline.top_left >> outline.top_right 0.3mm
80measx outline.bot_left >> outline.bot_right -0.8mm
81

Archive Download this file

Branches:
master



interactive