| 1 |
.PS |
| 2 |
# Bridge.m4 |
| 3 |
cct_init |
| 4 |
linewid = 1.5 |
| 5 |
down_ |
| 6 |
AC: source(up_ elen_,S) |
| 7 |
line right_ elen_ |
| 8 |
dlen = linewid*2/3 |
| 9 |
Bridge: [ |
| 10 |
N: Here; S: Here+(0,-2*dlen); E: N+(dlen,-dlen); W: N+(-dlen,-dlen) |
| 11 |
diode(from N to E) |
| 12 |
diode(from S to E) |
| 13 |
diode(from W to N) |
| 14 |
diode(from W to S) |
| 15 |
] at (Here,AC) |
| 16 |
|
| 17 |
line from Bridge.N to last line.end |
| 18 |
line from Bridge.S to (Bridge.S,AC.start) |
| 19 |
Gr: line to AC.start |
| 20 |
line from Bridge.E right_ dlen |
| 21 |
G: gap(down_ Bridge.ht/2+dimen_/4,1); llabel(+,,-) |
| 22 |
line from Bridge.W left_ dlen/4 |
| 23 |
crossover(to (Here,G.end),,Gr) |
| 24 |
line to G.end chop 0 chop dotrad_ |
| 25 |
|
| 26 |
[ L: line right_ linewid/3 |
| 27 |
sinusoid( linewid/6,twopi_/linewid*4,-pi_/2,0,linewid/8) with .End at L |
| 28 |
sinusoid( linewid/6,twopi_/linewid*4,-pi_/2,0,linewid/8) with .Start at L |
| 29 |
] at G |
| 30 |
R: resistor(down_ G.len from G.start+(dimen_/2,0)); llabel(,R) |
| 31 |
arrow wid arrowwid*2 from R.start to 0.5<R.start,G.start> |
| 32 |
arrow wid arrowwid*2 from R.end to 0.5<R.end,G.end> |
| 33 |
|
| 34 |
|
| 35 |
.PE |