Root/modules/meander-2450MHz.fpd

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

Archive Download this file

Branches:
master



interactive