Root/modules/meander-2450MHz.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 via {
4    set d = 0.2mm
5
6    __0: vec @(d/2, d/2)
7    __1: vec @(-d/2, -d/2)
8    hole . __0
9}
10
11frame tail {
12    loop if = 1, have_tail
13    __0: vec @(d*tail, W2)
14    pad "X" @ .
15}
16
17frame antenna {
18    set w = 5mil
19
20    __0: vec @(d*W1/2, -D4/2)
21    __1: vec .(0mm, L6)
22    __2: vec .(d*D5, 0mm)
23    __3: vec .(d*W2, 0mm)
24    __4: vec @(-d*W1/2, D4/2)
25    pad "1" __0 .
26    pad "X" . __1
27    __5: vec .(-d*D1, 0mm)
28    __6: vec __1(-d*W1, 0mm)
29    __33: vec .(0mm, W2)
30    __34: vec .(-d*D1, D2)
31    line __5 . w
32    __7: vec __3(d*D6, 0mm)
33    __8: vec .(d*W2, 0mm)
34    __9: vec .(0mm, W2)
35    pad "X" __6 .
36    __10: vec __3(0mm, -L6)
37    __11: vec .(-W2, D4)
38    pad "2" . __10
39    pad "X" . __3
40    __12: vec __7(0mm, -L4)
41    __13: vec .(d*W2, 0mm)
42    pad "X" __7 .
43    __14: vec .(d*L5, 0mm)
44    __15: vec .(0mm, W2)
45    pad "X" __13 .
46    __18: vec .(0mm, L4)
47    __19: vec .(d*L2, 0mm)
48    __20: vec .(0mm, -W2)
49    pad "X" __18 .
50    __25: vec .(-d*W2, 0mm)
51    __21: vec .(0mm, -L4)
52    __22: vec .(d*W2, 0mm)
53    pad "X" __25 .
54    __23: vec .(d*L5, 0mm)
55    __16: vec __14(d*W2, 0mm)
56    __17: vec .(0mm, L4)
57    pad "X" __14 .
58    __24: vec __23(d*W2, 0mm)
59    __26: vec .(0mm, L4)
60    pad "X" __23 .
61    __27: vec __23(0mm, W2)
62    pad "X" __22 .
63    __28: vec .(0mm, L4)
64    __29: vec .(d*L2, 0mm)
65    __30: vec .(0mm, -W2)
66    pad "X" __28 .
67    __31: vec .(-d*W2, 0mm)
68    __32: vec __30(0mm, -L1)
69    pad "X" __31 .
70    frame tail .
71    __35: vec __29(d*(D3+tail), D2)
72    line . __34 w
73    __36: vec .(0mm, -(D2+W2+L6-D4))
74    line __35 . w
75    __37: vec .(-d*(W2+L5+L2+L5+L2+D3+tail), 0mm)
76    line __36 . w
77    frame via @
78}
79
80package "MEANDER-2450MHz-$orient-$pcb"
81unit mm
82allow touch
83
84table
85    { L1, L2, L3, L4, L5, L6 }
86    { 3.94mm, 2.7mm, 5mm, 2.64mm, 2mm, 4.9mm }
87
88table
89    { W1, W2 }
90    { 0.9mm, 0.5mm }
91
92table
93    { D1, D2, D3, D4, D5, D6 }
94    { 0.5mm, 0.3mm, 0.3mm, 0.5mm, 1.4mm, 1.7mm }
95
96table
97    { pcb, have_tail, tail }
98    { "0.8mm", 1, 3*W2 }
99    { "1.0mm", 0, 0mm }
100
101table
102    { orient, d }
103    { "right", 1 }
104    { "left", -1 }
105
106__0: vec @(0mm, 0.1mm)
107frame antenna .
108measx antenna.__33 >> antenna.__9 1mm
109measx antenna.__18 >> antenna.__19 1mm
110measx antenna.__28 >> antenna.__29 1mm
111measx antenna.__29 >> antenna.__35 1mm
112measx antenna.__21 >> antenna.__22 -1mm
113measx antenna.__22 >> antenna.__23 -1mm
114measx antenna.__23 >> antenna.__24 -1mm
115measx antenna.__12 >> antenna.__13 -1mm
116measx antenna.__13 >> antenna.__14 -1mm
117measx antenna.__14 >> antenna.__16 -1mm
118measx antenna.__1 >> antenna.__2 -0.5mm
119measx antenna.__3 >> antenna.__7 -0.5mm
120measx antenna.__5 >> antenna.__4
121measy antenna.__33 >> antenna.__34 1mm
122measy antenna.__0 >> antenna.__4 W1
123measy antenna.__10 >> antenna.__11 W2
124measx antenna.__4 >> antenna.__0 -D4-1mm
125measx antenna.__11 >> antenna.__10 -D4-1mm
126measy antenna.__6 >> antenna.__33 1mm
127measx antenna.__31 >> antenna.__32 -L1-1mm
128measy antenna.__8 >> antenna.__9 -1mm
129measy antenna.__20 >> antenna.__19 -1mm
130measy antenna.__30 >> antenna.__29 -1mm-tail
131measy antenna.__21 >> antenna.__25 0.5mm
132measy antenna.__12 >> antenna.__7 0.5mm
133measy antenna.__32 >> antenna.__30 -1mm-tail
134measx antenna.__34 >> antenna.__35 1.5mm-D2
135measy antenna.__5 >> antenna.__34 1.5mm-D1
136measx antenna.__32 >> tail.__0 -1mm
137

Archive Download this file

Branches:
master



interactive