summaryrefslogtreecommitdiff
path: root/graphics/circuit_macros/examples/svg/RectifiersSVG.m4
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/circuit_macros/examples/svg/RectifiersSVG.m4')
-rw-r--r--graphics/circuit_macros/examples/svg/RectifiersSVG.m419
1 files changed, 10 insertions, 9 deletions
diff --git a/graphics/circuit_macros/examples/svg/RectifiersSVG.m4 b/graphics/circuit_macros/examples/svg/RectifiersSVG.m4
index 3329094082..c6473744eb 100644
--- a/graphics/circuit_macros/examples/svg/RectifiersSVG.m4
+++ b/graphics/circuit_macros/examples/svg/RectifiersSVG.m4
@@ -60,20 +60,21 @@ Threephase: [ linethick_(1)
]
Cct3:[
- No: dot; {"N`'svg_sub(o)" below rjust }
- { inductor(to Here+(Rect_(dimen_,60)),W); E2: "e`'svg_sub(2)" ljust }
- { inductor(to Here+(Rect_(dimen_,-60)),W); E3: "e`'svg_sub(3)" ljust }
- { inductor(from No-(dimen_,0) to No,W)
- E1: "e`'svg_sub(1)" above at last line.start }
+ No: dot; {"N`'svg_sub(o)" at last [].s below rjust }
+ { inductor(to Here+(Rect_(dimen_,60)),W); E2: Here; "e`'svg_sub(2)" ljust }
+ { inductor(to Here+(Rect_(dimen_,-60)),W); E3: Here; "e`'svg_sub(3)" ljust }
+ { inductor(from No-(dimen_,0) to No,W); E1: last line.start
+ "e`'svg_sub(1)" at E1 above }
D3: diode(down_ from E3); b_current(i`'svg_sub(3),rjust)
llabel(,,D`'svg_sub(3))
- line from E1 to (E1,D3.start)
+ line from E1 to (E1.x,D3.start.y+dimen_/3) then right_ (E3.x+E1.x)/2-E1.x \
+ then down_ dimen_/3
D1: diode(down_); b_current(i`'svg_sub(1),rjust); llabel(,,D`'svg_sub(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
+ then to 2 between D3.start and D1.start
D2: diode(down_); b_current(i`'svg_sub(2),rjust); llabel(,,D`'svg_sub(2))
- { line from D1.end to D3.end }
- dot
+ { line from D2.end to D3.end }
+ dot(at D1.end)
arrowline(down elen_/2); rlabel(,i`'svg_sub(L))
resistor(right_ elen_); rlabel(+,e`'svg_sub(L),-); llabel(,R)
line to (Here,No) then to No