summaryrefslogtreecommitdiff
path: root/graphics/circuit_macros/examples/Rectifiers.m4
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/circuit_macros/examples/Rectifiers.m4')
-rw-r--r--graphics/circuit_macros/examples/Rectifiers.m425
1 files changed, 14 insertions, 11 deletions
diff --git a/graphics/circuit_macros/examples/Rectifiers.m4 b/graphics/circuit_macros/examples/Rectifiers.m4
index e24315d0fd..23d544f812 100644
--- a/graphics/circuit_macros/examples/Rectifiers.m4
+++ b/graphics/circuit_macros/examples/Rectifiers.m4
@@ -59,19 +59,22 @@ Threephase: [ linethick_(1)
]
Cct3:[
- No: dot; {"$N_o$" below rjust }
- { inductor(to Here+(Rect_(dimen_,60)),W); E2: "$e_2$" ljust }
- { inductor(to Here+(Rect_(dimen_,-60)),W); E3: "$e_3$" ljust }
- { inductor(from No-(dimen_,0) to No,W); E1: "$e_1$" above at last line.start }
+ No: dot; "$N_o$" at last [].s below rjust
+ E2: No+(Rect_(dimen_,60))
+ E3: No+(Rect_(dimen_,-60))
+ E1: No+(-dimen_,0)
+ inductor(from No to E2,W); round; "$e_2$" ljust
+ inductor(from No to E3,W); round; "$e_3$" ljust
+ inductor(from E1 to No,W); round(at E1); "$e_1$" at E1 above
D3: diode(down_ from E3); b_current(i_3,rjust); llabel(,,D_3)
- line from E1 to (E1,D3.start)
- D1: diode(down_); b_current(i_1,rjust); llabel(,,D_1)
- line from E2 left E2.x-E1.x+dimen_/3 then down E2.y-E3.y \
- then to 0.5 between D1.start and D3.start
+ line from E1 to (E1.x,D3.start.y+dimen_/3) then right_ (E3.x-E1.x)/2 \
+ then down_ dimen_/3
+ D1: diode(down_); b_current(i_1,rjust); llabel(,,D_1); dot
+ line from E2 left_ E2.x-E1.x+dimen_/3 then down_ E2.y-E3.y \
+ then to 2 between D3.start and D1.start; corner
D2: diode(down_); b_current(i_2,rjust); llabel(,,D_2)
- { line from D1.end to D3.end }
- dot
- arrowline(down elen_/2); rlabel(,i_L)
+ { line from D2.end to D3.end }
+ arrowline(from D1.end down_ elen_/2); rlabel(,i_L)
resistor(right_ elen_); rlabel(+,e_L,-); llabel(,R)
line to (Here,No) then to No
] with .e at Threephase.w-(0.5,0)