vecview 0.3.0__tar.gz → 0.5.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (100) hide show
  1. {vecview-0.3.0 → vecview-0.5.0}/AGENTS.md +28 -15
  2. {vecview-0.3.0 → vecview-0.5.0}/CHANGELOG.md +100 -0
  3. {vecview-0.3.0 → vecview-0.5.0}/PKG-INFO +33 -21
  4. {vecview-0.3.0 → vecview-0.5.0}/README.md +32 -20
  5. {vecview-0.3.0 → vecview-0.5.0}/docs/development.md +4 -2
  6. {vecview-0.3.0 → vecview-0.5.0}/docs/embedding.md +7 -1
  7. vecview-0.5.0/docs/gallery/aharonov_bohm_ring.svg +51 -0
  8. vecview-0.5.0/docs/gallery/altermagnetic_dot.svg +378 -0
  9. vecview-0.5.0/docs/gallery/bloch_sphere.svg +281 -0
  10. vecview-0.5.0/docs/gallery/brillouin_zone.svg +291 -0
  11. vecview-0.5.0/docs/gallery/dirac_cone.svg +4170 -0
  12. vecview-0.5.0/docs/gallery/fullerene.svg +1340 -0
  13. vecview-0.5.0/docs/gallery/kitaev_chain.svg +441 -0
  14. vecview-0.5.0/docs/gallery/mirror_planes.svg +47 -0
  15. vecview-0.5.0/docs/gallery/perovskite.svg +90 -0
  16. vecview-0.5.0/docs/gallery/skyrmion.svg +4179 -0
  17. vecview-0.5.0/docs/gallery/slab_polarizer.svg +170 -0
  18. vecview-0.5.0/docs/gallery/solenoid.svg +1244 -0
  19. {vecview-0.3.0 → vecview-0.5.0}/docs/gallery.md +16 -0
  20. {vecview-0.3.0 → vecview-0.5.0}/docs/index.md +1 -1
  21. {vecview-0.3.0 → vecview-0.5.0}/docs/outlines.md +51 -16
  22. {vecview-0.3.0 → vecview-0.5.0}/docs/scenes.md +65 -18
  23. {vecview-0.3.0 → vecview-0.5.0}/docs/shapes.md +130 -12
  24. {vecview-0.3.0 → vecview-0.5.0}/examples/README.md +2 -0
  25. {vecview-0.3.0 → vecview-0.5.0}/examples/__main__.py +2 -1
  26. vecview-0.5.0/examples/aharonov_bohm_ring.py +115 -0
  27. {vecview-0.3.0 → vecview-0.5.0}/examples/altermagnetic_dot.py +2 -2
  28. {vecview-0.3.0 → vecview-0.5.0}/pyproject.toml +1 -1
  29. {vecview-0.3.0 → vecview-0.5.0}/src/vecview/__init__.py +9 -1
  30. {vecview-0.3.0 → vecview-0.5.0}/src/vecview/_animation_svg.py +3 -1
  31. {vecview-0.3.0 → vecview-0.5.0}/src/vecview/_canvas.py +111 -167
  32. vecview-0.5.0/src/vecview/_cut.py +121 -0
  33. {vecview-0.3.0 → vecview-0.5.0}/src/vecview/_drawing.py +78 -382
  34. {vecview-0.3.0 → vecview-0.5.0}/src/vecview/_elements.py +72 -2
  35. vecview-0.5.0/src/vecview/_face.py +34 -0
  36. vecview-0.5.0/src/vecview/_line_art.py +120 -0
  37. {vecview-0.3.0 → vecview-0.5.0}/src/vecview/_occlusion.py +45 -17
  38. {vecview-0.3.0 → vecview-0.5.0}/src/vecview/_place.py +18 -6
  39. vecview-0.5.0/src/vecview/_planar.py +169 -0
  40. vecview-0.5.0/src/vecview/_solid_drawing.py +414 -0
  41. {vecview-0.3.0 → vecview-0.5.0}/src/vecview/_solids.py +175 -6
  42. {vecview-0.3.0 → vecview-0.5.0}/src/vecview/_transforms.py +2 -1
  43. vecview-0.5.0/src/vecview/_types.py +72 -0
  44. {vecview-0.3.0 → vecview-0.5.0}/src/vecview/_vec.py +28 -2
  45. {vecview-0.3.0 → vecview-0.5.0}/src/vecview/animation.py +3 -2
  46. {vecview-0.3.0 → vecview-0.5.0}/src/vecview/outlines.py +51 -68
  47. {vecview-0.3.0 → vecview-0.5.0}/src/vecview/scene.py +17 -8
  48. {vecview-0.3.0 → vecview-0.5.0}/src/vecview/shapes.py +341 -187
  49. {vecview-0.3.0 → vecview-0.5.0}/tests/test_animation.py +10 -2
  50. vecview-0.5.0/tests/test_arrows.py +155 -0
  51. {vecview-0.3.0 → vecview-0.5.0}/tests/test_document.py +44 -1
  52. {vecview-0.3.0 → vecview-0.5.0}/tests/test_occlusion.py +83 -3
  53. {vecview-0.3.0 → vecview-0.5.0}/tests/test_outlines.py +103 -7
  54. {vecview-0.3.0 → vecview-0.5.0}/tests/test_parts.py +28 -2
  55. vecview-0.5.0/tests/test_regions.py +137 -0
  56. {vecview-0.3.0 → vecview-0.5.0}/tests/test_scene.py +69 -4
  57. {vecview-0.3.0 → vecview-0.5.0}/tests/test_shapes.py +391 -57
  58. {vecview-0.3.0 → vecview-0.5.0}/tests/test_solids.py +123 -0
  59. vecview-0.3.0/docs/gallery/altermagnetic_dot.svg +0 -1
  60. vecview-0.3.0/docs/gallery/bloch_sphere.svg +0 -1
  61. vecview-0.3.0/docs/gallery/brillouin_zone.svg +0 -1
  62. vecview-0.3.0/docs/gallery/dirac_cone.svg +0 -1
  63. vecview-0.3.0/docs/gallery/fullerene.svg +0 -1
  64. vecview-0.3.0/docs/gallery/kitaev_chain.svg +0 -1
  65. vecview-0.3.0/docs/gallery/mirror_planes.svg +0 -1
  66. vecview-0.3.0/docs/gallery/perovskite.svg +0 -1
  67. vecview-0.3.0/docs/gallery/skyrmion.svg +0 -1
  68. vecview-0.3.0/docs/gallery/slab_polarizer.svg +0 -1
  69. vecview-0.3.0/docs/gallery/solenoid.svg +0 -1
  70. vecview-0.3.0/src/vecview/_types.py +0 -31
  71. {vecview-0.3.0 → vecview-0.5.0}/.gitignore +0 -0
  72. {vecview-0.3.0 → vecview-0.5.0}/LICENSE +0 -0
  73. {vecview-0.3.0 → vecview-0.5.0}/docs/animation.md +0 -0
  74. {vecview-0.3.0 → vecview-0.5.0}/docs/cameras.md +0 -0
  75. {vecview-0.3.0 → vecview-0.5.0}/docs/images/readme.svg +0 -0
  76. {vecview-0.3.0 → vecview-0.5.0}/docs/readme_figure.py +0 -0
  77. {vecview-0.3.0 → vecview-0.5.0}/examples/bloch_sphere.py +0 -0
  78. {vecview-0.3.0 → vecview-0.5.0}/examples/brillouin_zone.py +0 -0
  79. {vecview-0.3.0 → vecview-0.5.0}/examples/dirac_cone.py +0 -0
  80. {vecview-0.3.0 → vecview-0.5.0}/examples/fullerene.py +0 -0
  81. {vecview-0.3.0 → vecview-0.5.0}/examples/kitaev_chain.py +0 -0
  82. {vecview-0.3.0 → vecview-0.5.0}/examples/mirror_planes.py +0 -0
  83. {vecview-0.3.0 → vecview-0.5.0}/examples/pendulum.py +0 -0
  84. {vecview-0.3.0 → vecview-0.5.0}/examples/perovskite.py +0 -0
  85. {vecview-0.3.0 → vecview-0.5.0}/examples/rotating_dipole.py +0 -0
  86. {vecview-0.3.0 → vecview-0.5.0}/examples/skyrmion.py +0 -0
  87. {vecview-0.3.0 → vecview-0.5.0}/examples/slab_polarizer.py +0 -0
  88. {vecview-0.3.0 → vecview-0.5.0}/examples/solenoid.py +0 -0
  89. {vecview-0.3.0 → vecview-0.5.0}/src/vecview/_animation_refs.py +0 -0
  90. {vecview-0.3.0 → vecview-0.5.0}/src/vecview/_numeric.py +0 -0
  91. {vecview-0.3.0 → vecview-0.5.0}/src/vecview/_tracks.py +0 -0
  92. {vecview-0.3.0 → vecview-0.5.0}/src/vecview/camera.py +0 -0
  93. {vecview-0.3.0 → vecview-0.5.0}/src/vecview/projections.py +0 -0
  94. {vecview-0.3.0 → vecview-0.5.0}/src/vecview/py.typed +0 -0
  95. {vecview-0.3.0 → vecview-0.5.0}/tests/test_camera.py +0 -0
  96. {vecview-0.3.0 → vecview-0.5.0}/tests/test_package_metadata.py +0 -0
  97. {vecview-0.3.0 → vecview-0.5.0}/tests/test_planes.py +0 -0
  98. {vecview-0.3.0 → vecview-0.5.0}/tests/test_projections.py +0 -0
  99. {vecview-0.3.0 → vecview-0.5.0}/tests/test_tracked_scenes.py +0 -0
  100. {vecview-0.3.0 → vecview-0.5.0}/zensical.toml +0 -0
@@ -22,20 +22,28 @@ on its own side.
22
22
  - Keep the three-way split, and do not let it blur:
23
23
  - `shapes.py` knows numbers only — world-space arrays and `Face` records. No
24
24
  camera, no style, no SVG import.
25
- - `outlines.py` is the same in 2D: `(n, 2)` footprints and cross-sections,
26
- combined through `shapely`, which is the only module besides `_occlusion.py`
27
- that imports it. A result an outline cannot hold -- a hole -- raises
28
- rather than being dropped.
25
+ - `outlines.py` builds 2D footprints and cross-sections. `Region(exterior,
26
+ holes)` explicitly distinguishes one connected region from a list of
27
+ disconnected regions. Plain point arrays remain shorthand for one boundary.
28
+ The private `_planar.py` centralizes planar validation, region reconstruction,
29
+ and clipping with Shapely; `shapes.py` delegates topology to it. Shapely is
30
+ also used by `outlines.py` and `_occlusion.py`, never exposed in the public API.
29
31
  - `camera.py` defines what a camera *is*: `Camera` (the abstract contract) and
30
32
  `ParallelCamera` (the affine machinery). Back-face culling lives here
31
33
  because it is a camera question, not a scene one.
32
34
  - `projections.py` holds the concrete projections: `OrthographicCamera` and
33
35
  `ObliqueCamera`.
34
- - Only the rendering modules import `svg`: `scene.py` and the private
35
- `_elements.py`, `_canvas.py`, and `_solids.py`, and for animation
36
- `_animation_svg.py` and `_animation_refs.py`. `shapes.py`, `camera.py`,
37
- `projections.py`, `_occlusion.py`, `_place.py`, `_drawing.py`,
38
- `_tracks.py`, and `_transforms.py` never do.
36
+ - Only the rendering modules build `svg` elements: `scene.py` and the
37
+ private `_elements.py`, `_canvas.py`, and `_solids.py`, and for animation
38
+ `_animation_svg.py` and `_animation_refs.py`. `_drawing.py` imports it only
39
+ to check what `slot` is given, and `_occlusion.py` only for a type.
40
+ `shapes.py`, `camera.py`, `projections.py`, `_place.py`,
41
+ `_solid_drawing.py`, `_planar.py`, `_tracks.py`, `_transforms.py`, `_face.py`,
42
+ `_cut.py`, and `_line_art.py` never do.
43
+ - `shapes.py` re-exports `Face` from `_face.py`, which `_cut.py` (cutting a
44
+ solid open) shares, and `cut` from `_cut.py`. `_line_art.py` decides which
45
+ edges of a faceted solid to ink from which faces face the camera, which the
46
+ canvas passes in: numbers only, tested without a camera.
39
47
  - `animation.py` samples a pure time-to-scene callback through the static
40
48
  renderer and writes once what every frame draws alike. A scene holding tracks
41
49
  is that callback underneath: a drawing call given a `Track` anywhere in its
@@ -66,6 +74,9 @@ on its own side.
66
74
  in the aligned box and never parsed, copied, or rewritten. That is the one
67
75
  way content from elsewhere -- a VecTeX label -- goes into a scene without a
68
76
  consumer; anything that would need VecView to read or change it does not.
77
+ A written document lays its tags out one per line, so whitespace may fall
78
+ between the content's tags, which SVG ignores; never inside `<text>` or
79
+ `<foreignObject>`, where it would render.
69
80
  - `Scene` records objects and nothing else; it never projects. Every public
70
81
  drawing method validates what it can without a camera and appends one record.
71
82
  The canvas holds a camera and implements each method of the same name;
@@ -75,12 +86,14 @@ on its own side.
75
86
  visibility, and the flat calls; `_SolidCanvas` (`_solids.py`) adds the curved
76
87
  solids and is the canvas a render uses. `_elements.py` holds the SVG emission
77
88
  helpers both share.
78
- - The world-space drawing calls live on the private `_Drawing` base
79
- (`_drawing.py`, with `Part`), shared by
80
- `Scene` and `Part`. `Scene` adds what only makes sense for a whole document:
81
- cameras, rendering, `sort_by_depth` (a property of the layer stack), `<defs>`,
82
- raw elements, and screen-space calls. Keep a call off `_Drawing` unless it has
83
- a world position, because a part must be able to move everything it holds.
89
+ - The world-space drawing calls live on private bases, split as the canvases
90
+ are: `_Drawing` (`_drawing.py`) has the flat calls and the recording and
91
+ track replay; `_SolidDrawing` (`_solid_drawing.py`, with `Part`) adds the
92
+ curved solids and is what `Scene` and `Part` derive from. `Scene` adds what
93
+ only makes sense for a whole document: cameras, rendering, `sort_by_depth` (a
94
+ property of the layer stack), `<defs>`, raw elements, and screen-space calls.
95
+ Keep a call off the drawing bases unless it has a world position, because a
96
+ part must be able to move everything it holds.
84
97
  - `place` copies a part's recorded calls with their geometry moved by a `_Frame`
85
98
  (`_place.py`).
86
99
  `_MOVES` says, per call, which arguments are points, directions, edges, or
@@ -5,6 +5,106 @@ All notable changes to this project are documented here, following
5
5
 
6
6
  ## [Unreleased]
7
7
 
8
+ ## [0.5.0] - 2026-11-09
9
+
10
+ ### Added
11
+
12
+ - `revolve(profile, *, sweep_deg=(0, 360), axis=(0, 0, 1), origin=(0, 0, 0), n=96)`:
13
+ an `(r, z)` profile, with holes if it has them, turned about an axis into a
14
+ closed solid of faceted walls. A partial turn is capped by the profile as
15
+ faces `"start"` and `"end"`, the section of a cutaway. Facets are named
16
+ `"side-{i}-{j}"` by profile edge and step; facets beside the axis are
17
+ triangles.
18
+ - `Scene.line_art(layer, faces, *, crease_deg=30.0, back=None, **style)`: a
19
+ solid's silhouette, creases, and open rims as continuous lines, without the
20
+ seams between facets, so a faceted solid reads as curved and any solid can
21
+ be drawn as a technical drawing. On a closed solid the far side takes the
22
+ `back` style; in a sorted layer, anything in front hides lines exactly.
23
+
24
+ ### Fixed
25
+
26
+ - `vecview.shapes.__all__` lists `extrude`, which `from vecview.shapes import *`
27
+ missed.
28
+
29
+ ## [0.4.0] - 2026-10-16
30
+
31
+ ### Added
32
+
33
+ - `path_arrow_shape(path, normal, shaft_w, head_w, head_len)`: a flat arrow
34
+ that follows a path in a plane, its shaft mitred at every vertex and its head
35
+ on the last `head_len` of the path. A two-point path gives exactly
36
+ `arrow_shape`; a path that leaves its plane, folds the shaft, or turns back
37
+ raises `ValueError`.
38
+ - `annulus(center, r_in, r_out, n, *, theta0_deg=0)`: a ring footprint,
39
+ `Region(outer, [inner])`, for washers, microrings, and loops. `annulus_sector`
40
+ keeps returning one outline, and a full turn raises, pointing to `annulus`.
41
+ - Written documents credit VecView. `Scene.to_svg_document()`, `Scene.save()`
42
+ and the `Animation` equivalents add a Dublin Core `<metadata>` block naming
43
+ "VecView vX, https://github.com/maiani/vecview" as the creator, after any
44
+ `<defs>`. `render()` still returns the drawing alone.
45
+ - Written documents put one tag per line, indented, so a regenerated figure's
46
+ diff shows what changed instead of one changed line. `<text>` and
47
+ `<foreignObject>` elements stay whole, where whitespace would render, and the
48
+ markup is otherwise unchanged: every example renders pixel-identically.
49
+ - `Region(exterior, holes=())` explicitly represents one connected planar
50
+ region. Disconnected components are lists of regions, not lists of rings.
51
+ The record copies coordinates into read-only arrays; `rings` exposes its boundaries.
52
+ `prism_faces`, `extrude`, and `Scene.polygon` accept regions or plain point arrays;
53
+ `Scene.polygon` refuses holes off the outline's plane, outside it, or crossing.
54
+ - `Face.holes` and `Face.region` expose interior boundaries. Holed faces render
55
+ as even-odd paths, with correct coverage in depth-sorted layers. Placement,
56
+ animation, edge drawing, and seamless walls preserve their boundaries.
57
+ - `examples/aharonov_bohm_ring.py`: a ring and its leads as one shape with a
58
+ hole, threaded by a flux, in the gallery.
59
+
60
+ ### Changed
61
+
62
+ - Outline booleans always return `list[Region]`; offsets and films return
63
+ one `Region`. `to_plane` lifts arrays to arrays and regions to regions.
64
+ Ambiguous lists of bare rings are rejected.
65
+ - A holed extrusion lists its hole walls first, then caps and outer walls, so
66
+ `faces(..., cull=True)` paints a hole's far side under the cap: exact for one
67
+ convex hole and for shallow multi-hole plates; deep or non-convex ones need a
68
+ sorted layer. `prism_walls` draws the hole walls as a path of their own,
69
+ `"{id}-holes"`, before the outer walls, so their stroke stays hidden too. Pick
70
+ the cap by name. Hole-free extrusions keep their order. Hole walls are named
71
+ `"hole{k}_side-{i}"`, so a drawn one's id reads `plate-hole0_sidem3`; edge
72
+ indices still follow the supplied boundaries.
73
+ - Planar validation and clipping share a private Shapely backend. Input holes
74
+ must be separated from the exterior and one another; point-touching holes
75
+ produced by booleans are also rejected. `trim_corners` rejects holed faces.
76
+ - A depth-sorted layer emits far fewer clip paths. An unstroked flat polygon
77
+ that is partly hidden is redrawn as its visible part -- one `<path>` with the
78
+ same id, classes, and style -- instead of a `<polygon>` with a
79
+ `{id}-visible` clip path. A surface whose fill shows whole is no longer
80
+ clipped where only its stroke's overhang runs under a nearer surface, so a
81
+ stroked mesh seen from where it does not fold over itself gains no clip paths
82
+ at all: a 45 x 45 stroked height field goes from 1774 clip paths and 1.09 MB
83
+ to none and 0.26 MB. Where surfaces cross, half a stroke's width may now lie
84
+ over the nearer one along the edge they meet at.
85
+
86
+ ### Fixed
87
+
88
+ - `cylinder(..., ends=False)` and `cone(..., end=False)` no longer stroke the
89
+ elliptical rims of the open ends. A stroked open tube is now the unstroked
90
+ body `{id}-body` and its two sides as a separate `{id}-edge` path, so a beam
91
+ of light is outlined along its length only. A sliced open cylinder strokes
92
+ no end arc either.
93
+ - The shapes docs gave a wall's id as `wire-side-3`; it is `wire-sidem3`.
94
+ - `cut` along the plane of one of the solid's own faces no longer keeps that face
95
+ and adds a cap over it, doubling the cut: the face is dropped and the cap takes
96
+ its place. A face with an edge lying in the plane -- the top of a U cut along
97
+ its inner wall -- is clipped ring by ring instead of folding back on itself,
98
+ so the solid closes up with the right volume.
99
+ - `sphere`, `cylinder`, `cone`, and `arrow3d` accept `stroke_linejoin`,
100
+ `stroke_linecap`, and `stroke_miterlimit` instead of raising `TypeError`.
101
+ They apply to the outline paths; circles and ellipses -- spheres and end
102
+ disks -- have no corners or ends, so they are left off there.
103
+ - Seamless hole walls now traverse connected edges regardless of input winding.
104
+ - Every face uses region-aware half-space clipping, including simple concave
105
+ faces. Repeated cuts can open holes and split faces into disconnected pieces
106
+ without emitting self-intersecting cap polygons.
107
+
8
108
  ## [0.3.0] - 2026-10-08
9
109
 
10
110
  Animation is new in this release, and its API may still change before 1.0.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: vecview
3
- Version: 0.3.0
3
+ Version: 0.5.0
4
4
  Summary: Layered 3D scenes that render to SVG, for scientific schematics
5
5
  Project-URL: Source, https://github.com/maiani/vecview
6
6
  Project-URL: Issues, https://github.com/maiani/vecview/issues
@@ -36,10 +36,10 @@ stays editable afterwards: elements keep the ids you give them, the same scene
36
36
  renders to byte-identical SVG, and the output opens in Inkscape.
37
37
 
38
38
  <p align="center">
39
- <img src="https://raw.githubusercontent.com/maiani/vecview/v0.3.0/docs/images/readme.svg" alt="A gate-defined quantum dot on a layered slab, with leads, gates, spin densities and a bias circuit" width="640">
39
+ <img src="https://raw.githubusercontent.com/maiani/vecview/v0.5.0/docs/images/readme.svg" alt="A gate-defined quantum dot on a layered slab, with leads, gates, spin densities and a bias circuit" width="640">
40
40
  </p>
41
41
 
42
- <p align="center"><sub>A device sketch: layered solids, Gaussian densities, camera-facing arrows and a circuit, from <code>examples/altermagnetic_dot.py</code>. More in the <a href="https://github.com/maiani/vecview/blob/v0.3.0/docs/gallery.md">gallery</a>.</sub></p>
42
+ <p align="center"><sub>A device sketch: layered solids, Gaussian densities, camera-facing arrows and a circuit, from <code>examples/altermagnetic_dot.py</code>. More in the <a href="https://github.com/maiani/vecview/blob/v0.5.0/docs/gallery.md">gallery</a>.</sub></p>
43
43
 
44
44
  VecView is a small projection layer on top of
45
45
  [`svg.py`](https://pypi.org/project/svg.py/). `svg.py` builds the elements;
@@ -126,7 +126,8 @@ right.
126
126
 
127
127
  A lattice of hundreds of atoms is the opposite case. `scene.sort_by_depth(layer)`
128
128
  has one layer decide visibility by depth, point by point: each element keeps its
129
- native shape, clipped to what shows of it, so planes can cross, a coil can wrap
129
+ native shape, clipped to what shows of it (an unstroked flat polygon is simply
130
+ redrawn as its visible part), so planes can cross, a coil can wrap
130
131
  its core, and a bond can run into an atom, and lines are dropped or dashed
131
132
  exactly where they pass behind something. Every other layer is untouched.
132
133
  `Camera.visible()` and `faces(..., cull=True)` cover the one unambiguous case,
@@ -159,6 +160,8 @@ native element or group:
159
160
  - `highlight="#fff"` shades any of them with a gradient: a fill style, fixed on
160
161
  screen, not a lighting model.
161
162
 
163
+ `line_art(layer, faces)` inks any faceted solid as a technical drawing --
164
+ silhouette, creases, and rims, without the seams between facets -- and
162
165
  `edges(layer, faces, back={...})` draws a convex solid's edges and dashes the
163
166
  hidden ones, and `sphere_curve` splits a curve on a sphere where it passes behind.
164
167
  Labels can be `svg.TSpan` runs, for subscripts.
@@ -179,23 +182,32 @@ cameras, styles, or SVG, which keeps them testable as numbers:
179
182
  | Function | Returns |
180
183
  | --- | --- |
181
184
  | `box_faces(center, size)` | an axis-aligned box as six named, correctly wound `Face`s |
182
- | `prism_faces(footprint, z0, z1)` | any simple footprint, convex or not, extruded along `z`, culling like a box |
183
- | `extrude(section, along)` | a planar section swept along any vector: a nanowire along `x`, a fin |
185
+ | `prism_faces(footprint, z0, z1)` | any simple footprint, convex or not, holes allowed, extruded along `z`, culling like a box |
186
+ | `extrude(section, along)` | a planar section swept along any vector: a nanowire along `x`, a fin, a tube |
184
187
  | `annulus_sector(center, r_in, r_out, theta0_deg, theta1_deg)` | an arc-shaped footprint, such as a gate |
188
+ | `annulus(center, r_in, r_out)` | a ring footprint with its hole, for a washer or a microring |
185
189
  | `rect_shape`, `circle_shape`, `ellipse_shape` | flat outlines in any plane |
186
190
  | `arrow_shape`, `double_arrow_shape` | flat arrows with a shaft and head |
191
+ | `path_arrow_shape(path, normal, ...)` | a flat arrow that follows a curve in a plane |
187
192
  | `sine_ribbon` | a transverse wave along an axis, for `polyline`; the amplitude may be an envelope |
188
193
  | `arc_shape`, `helix` | an arc between two directions; a coil or spin spiral |
189
194
  | `surface_faces(x, y, z)` | the quads of a sampled surface, such as a band structure |
190
195
  | `convex_polyhedron(vertices)` | a Brillouin zone or coordination polyhedron from its corners |
191
196
  | `trim_corners(faces, r)` | faces cut back from atoms sitting on their corners |
197
+ | `revolve(profile, sweep_deg=...)` | an `(r, z)` profile turned about an axis, whole or part-way with its section capped: a lathe |
192
198
  | `cut(faces, origin, normal)` | a solid cut open by a plane, the cut capped: a cutaway |
193
199
  | `in_plane_dir(angle_deg, u, v)` | a unit direction at an angle within a plane |
194
200
 
195
201
  Cross-sections and footprints are built in 2D by `vecview.outlines`: `regular`
196
202
  and `rect` to start, `offset` and `film` to grow them — a film is a deposited
197
203
  layer on chosen facets — and `union`, `difference`, and `intersection` to
198
- combine them; `to_plane` lifts the result into 3D for `extrude`.
204
+ combine them. Booleans return a list of `Region` objects, one per connected
205
+ component; offsets and films return one `Region`. A `Region(exterior, holes)`
206
+ represents a ring or a plate with vias without confusing holes with disconnected
207
+ islands. Plain point arrays still work for simple outlines. `to_plane` lifts
208
+ each region into 3D for `extrude`; `prism_faces` and `polygon` accept it too.
209
+ Hole walls come first, so a culled ring paints its bore under its cap; pick
210
+ the cap by name. A deep plate with several holes needs `scene.sort_by_depth(layer)`.
199
211
 
200
212
  At an azimuth of 35°, neither `+x` nor `+y` moves a point horizontally across
201
213
  the picture. `screen_basis()` returns the two in-plane world directions that do:
@@ -254,7 +266,7 @@ scene.slot(
254
266
  a string, rendered by the active camera. That method is the whole embedding
255
267
  contract: any tool that accepts an object exposing it can place a scene, without
256
268
  VecView knowing about the tool. The fitted viewBox usually does *not* start at
257
- `0, 0`, so a consumer must honour its origin. See [Embedding a scene](https://github.com/maiani/vecview/blob/v0.3.0/docs/embedding.md).
269
+ `0, 0`, so a consumer must honour its origin. See [Embedding a scene](https://github.com/maiani/vecview/blob/v0.5.0/docs/embedding.md).
258
270
 
259
271
  In Jupyter a scene displays itself inline. Rasterizing and PDF export are out of
260
272
  scope; they belong to whatever assembles the final page.
@@ -276,13 +288,13 @@ vecview.Animation(scene, duration=6.283, view_box=(-150, -110, 300, 220)).save("
276
288
 
277
289
  `Track` with keyframes and easing, turning parts about a pivot, and frame
278
290
  callbacks for anything else are in `vecview.animation`; see the [animation
279
- guide](https://github.com/maiani/vecview/blob/v0.3.0/docs/animation.md).
291
+ guide](https://github.com/maiani/vecview/blob/v0.5.0/docs/animation.md).
280
292
 
281
293
  ## Examples
282
294
 
283
- The [gallery](https://github.com/maiani/vecview/blob/v0.3.0/docs/gallery.md) has the static figures everyone draws — a perovskite
295
+ The [gallery](https://github.com/maiani/vecview/blob/v0.5.0/docs/gallery.md) has the static figures everyone draws — a perovskite
284
296
  cell, the fcc Brillouin zone, C60, the Bloch sphere, a Dirac cone, a skyrmion, a
285
- solenoid, crossing mirror planes, and two device sketches — and two
297
+ solenoid, crossing mirror planes, an Aharonov–Bohm ring, and two device sketches — and two
286
298
  animations, a pendulum and a rotating dipole radiating. Each is one
287
299
  self-contained script:
288
300
 
@@ -295,7 +307,7 @@ uv run python examples/slab_polarizer.py --projection all # all five
295
307
  uv run python examples/altermagnetic_dot.py --projection all # a device sketch, under four cameras
296
308
  ```
297
309
 
298
- See [examples/README.md](https://github.com/maiani/vecview/blob/v0.3.0/examples/README.md) for the full list and what each
310
+ See [examples/README.md](https://github.com/maiani/vecview/blob/v0.5.0/examples/README.md) for the full list and what each
299
311
  needs; several typeset their labels with
300
312
  [VecTeX](https://github.com/maiani/vectex), which needs TeX.
301
313
 
@@ -331,15 +343,15 @@ VecView depends on none of them and contains no code specific to any of them.
331
343
 
332
344
  ## Documentation
333
345
 
334
- - [Overview](https://github.com/maiani/vecview/blob/v0.3.0/docs/index.md)
335
- - [Cameras](https://github.com/maiani/vecview/blob/v0.3.0/docs/cameras.md)
336
- - [Scenes and layers](https://github.com/maiani/vecview/blob/v0.3.0/docs/scenes.md)
337
- - [Shapes](https://github.com/maiani/vecview/blob/v0.3.0/docs/shapes.md)
338
- - [Outlines](https://github.com/maiani/vecview/blob/v0.3.0/docs/outlines.md)
339
- - [Animation](https://github.com/maiani/vecview/blob/v0.3.0/docs/animation.md)
340
- - [Gallery](https://github.com/maiani/vecview/blob/v0.3.0/docs/gallery.md)
341
- - [Embedding a scene](https://github.com/maiani/vecview/blob/v0.3.0/docs/embedding.md)
342
- - [Development](https://github.com/maiani/vecview/blob/v0.3.0/docs/development.md)
346
+ - [Overview](https://github.com/maiani/vecview/blob/v0.5.0/docs/index.md)
347
+ - [Cameras](https://github.com/maiani/vecview/blob/v0.5.0/docs/cameras.md)
348
+ - [Scenes and layers](https://github.com/maiani/vecview/blob/v0.5.0/docs/scenes.md)
349
+ - [Shapes](https://github.com/maiani/vecview/blob/v0.5.0/docs/shapes.md)
350
+ - [Outlines](https://github.com/maiani/vecview/blob/v0.5.0/docs/outlines.md)
351
+ - [Animation](https://github.com/maiani/vecview/blob/v0.5.0/docs/animation.md)
352
+ - [Gallery](https://github.com/maiani/vecview/blob/v0.5.0/docs/gallery.md)
353
+ - [Embedding a scene](https://github.com/maiani/vecview/blob/v0.5.0/docs/embedding.md)
354
+ - [Development](https://github.com/maiani/vecview/blob/v0.5.0/docs/development.md)
343
355
 
344
356
  ## License
345
357
 
@@ -6,10 +6,10 @@ stays editable afterwards: elements keep the ids you give them, the same scene
6
6
  renders to byte-identical SVG, and the output opens in Inkscape.
7
7
 
8
8
  <p align="center">
9
- <img src="https://raw.githubusercontent.com/maiani/vecview/v0.3.0/docs/images/readme.svg" alt="A gate-defined quantum dot on a layered slab, with leads, gates, spin densities and a bias circuit" width="640">
9
+ <img src="https://raw.githubusercontent.com/maiani/vecview/v0.5.0/docs/images/readme.svg" alt="A gate-defined quantum dot on a layered slab, with leads, gates, spin densities and a bias circuit" width="640">
10
10
  </p>
11
11
 
12
- <p align="center"><sub>A device sketch: layered solids, Gaussian densities, camera-facing arrows and a circuit, from <code>examples/altermagnetic_dot.py</code>. More in the <a href="https://github.com/maiani/vecview/blob/v0.3.0/docs/gallery.md">gallery</a>.</sub></p>
12
+ <p align="center"><sub>A device sketch: layered solids, Gaussian densities, camera-facing arrows and a circuit, from <code>examples/altermagnetic_dot.py</code>. More in the <a href="https://github.com/maiani/vecview/blob/v0.5.0/docs/gallery.md">gallery</a>.</sub></p>
13
13
 
14
14
  VecView is a small projection layer on top of
15
15
  [`svg.py`](https://pypi.org/project/svg.py/). `svg.py` builds the elements;
@@ -96,7 +96,8 @@ right.
96
96
 
97
97
  A lattice of hundreds of atoms is the opposite case. `scene.sort_by_depth(layer)`
98
98
  has one layer decide visibility by depth, point by point: each element keeps its
99
- native shape, clipped to what shows of it, so planes can cross, a coil can wrap
99
+ native shape, clipped to what shows of it (an unstroked flat polygon is simply
100
+ redrawn as its visible part), so planes can cross, a coil can wrap
100
101
  its core, and a bond can run into an atom, and lines are dropped or dashed
101
102
  exactly where they pass behind something. Every other layer is untouched.
102
103
  `Camera.visible()` and `faces(..., cull=True)` cover the one unambiguous case,
@@ -129,6 +130,8 @@ native element or group:
129
130
  - `highlight="#fff"` shades any of them with a gradient: a fill style, fixed on
130
131
  screen, not a lighting model.
131
132
 
133
+ `line_art(layer, faces)` inks any faceted solid as a technical drawing --
134
+ silhouette, creases, and rims, without the seams between facets -- and
132
135
  `edges(layer, faces, back={...})` draws a convex solid's edges and dashes the
133
136
  hidden ones, and `sphere_curve` splits a curve on a sphere where it passes behind.
134
137
  Labels can be `svg.TSpan` runs, for subscripts.
@@ -149,23 +152,32 @@ cameras, styles, or SVG, which keeps them testable as numbers:
149
152
  | Function | Returns |
150
153
  | --- | --- |
151
154
  | `box_faces(center, size)` | an axis-aligned box as six named, correctly wound `Face`s |
152
- | `prism_faces(footprint, z0, z1)` | any simple footprint, convex or not, extruded along `z`, culling like a box |
153
- | `extrude(section, along)` | a planar section swept along any vector: a nanowire along `x`, a fin |
155
+ | `prism_faces(footprint, z0, z1)` | any simple footprint, convex or not, holes allowed, extruded along `z`, culling like a box |
156
+ | `extrude(section, along)` | a planar section swept along any vector: a nanowire along `x`, a fin, a tube |
154
157
  | `annulus_sector(center, r_in, r_out, theta0_deg, theta1_deg)` | an arc-shaped footprint, such as a gate |
158
+ | `annulus(center, r_in, r_out)` | a ring footprint with its hole, for a washer or a microring |
155
159
  | `rect_shape`, `circle_shape`, `ellipse_shape` | flat outlines in any plane |
156
160
  | `arrow_shape`, `double_arrow_shape` | flat arrows with a shaft and head |
161
+ | `path_arrow_shape(path, normal, ...)` | a flat arrow that follows a curve in a plane |
157
162
  | `sine_ribbon` | a transverse wave along an axis, for `polyline`; the amplitude may be an envelope |
158
163
  | `arc_shape`, `helix` | an arc between two directions; a coil or spin spiral |
159
164
  | `surface_faces(x, y, z)` | the quads of a sampled surface, such as a band structure |
160
165
  | `convex_polyhedron(vertices)` | a Brillouin zone or coordination polyhedron from its corners |
161
166
  | `trim_corners(faces, r)` | faces cut back from atoms sitting on their corners |
167
+ | `revolve(profile, sweep_deg=...)` | an `(r, z)` profile turned about an axis, whole or part-way with its section capped: a lathe |
162
168
  | `cut(faces, origin, normal)` | a solid cut open by a plane, the cut capped: a cutaway |
163
169
  | `in_plane_dir(angle_deg, u, v)` | a unit direction at an angle within a plane |
164
170
 
165
171
  Cross-sections and footprints are built in 2D by `vecview.outlines`: `regular`
166
172
  and `rect` to start, `offset` and `film` to grow them — a film is a deposited
167
173
  layer on chosen facets — and `union`, `difference`, and `intersection` to
168
- combine them; `to_plane` lifts the result into 3D for `extrude`.
174
+ combine them. Booleans return a list of `Region` objects, one per connected
175
+ component; offsets and films return one `Region`. A `Region(exterior, holes)`
176
+ represents a ring or a plate with vias without confusing holes with disconnected
177
+ islands. Plain point arrays still work for simple outlines. `to_plane` lifts
178
+ each region into 3D for `extrude`; `prism_faces` and `polygon` accept it too.
179
+ Hole walls come first, so a culled ring paints its bore under its cap; pick
180
+ the cap by name. A deep plate with several holes needs `scene.sort_by_depth(layer)`.
169
181
 
170
182
  At an azimuth of 35°, neither `+x` nor `+y` moves a point horizontally across
171
183
  the picture. `screen_basis()` returns the two in-plane world directions that do:
@@ -224,7 +236,7 @@ scene.slot(
224
236
  a string, rendered by the active camera. That method is the whole embedding
225
237
  contract: any tool that accepts an object exposing it can place a scene, without
226
238
  VecView knowing about the tool. The fitted viewBox usually does *not* start at
227
- `0, 0`, so a consumer must honour its origin. See [Embedding a scene](https://github.com/maiani/vecview/blob/v0.3.0/docs/embedding.md).
239
+ `0, 0`, so a consumer must honour its origin. See [Embedding a scene](https://github.com/maiani/vecview/blob/v0.5.0/docs/embedding.md).
228
240
 
229
241
  In Jupyter a scene displays itself inline. Rasterizing and PDF export are out of
230
242
  scope; they belong to whatever assembles the final page.
@@ -246,13 +258,13 @@ vecview.Animation(scene, duration=6.283, view_box=(-150, -110, 300, 220)).save("
246
258
 
247
259
  `Track` with keyframes and easing, turning parts about a pivot, and frame
248
260
  callbacks for anything else are in `vecview.animation`; see the [animation
249
- guide](https://github.com/maiani/vecview/blob/v0.3.0/docs/animation.md).
261
+ guide](https://github.com/maiani/vecview/blob/v0.5.0/docs/animation.md).
250
262
 
251
263
  ## Examples
252
264
 
253
- The [gallery](https://github.com/maiani/vecview/blob/v0.3.0/docs/gallery.md) has the static figures everyone draws — a perovskite
265
+ The [gallery](https://github.com/maiani/vecview/blob/v0.5.0/docs/gallery.md) has the static figures everyone draws — a perovskite
254
266
  cell, the fcc Brillouin zone, C60, the Bloch sphere, a Dirac cone, a skyrmion, a
255
- solenoid, crossing mirror planes, and two device sketches — and two
267
+ solenoid, crossing mirror planes, an Aharonov–Bohm ring, and two device sketches — and two
256
268
  animations, a pendulum and a rotating dipole radiating. Each is one
257
269
  self-contained script:
258
270
 
@@ -265,7 +277,7 @@ uv run python examples/slab_polarizer.py --projection all # all five
265
277
  uv run python examples/altermagnetic_dot.py --projection all # a device sketch, under four cameras
266
278
  ```
267
279
 
268
- See [examples/README.md](https://github.com/maiani/vecview/blob/v0.3.0/examples/README.md) for the full list and what each
280
+ See [examples/README.md](https://github.com/maiani/vecview/blob/v0.5.0/examples/README.md) for the full list and what each
269
281
  needs; several typeset their labels with
270
282
  [VecTeX](https://github.com/maiani/vectex), which needs TeX.
271
283
 
@@ -301,15 +313,15 @@ VecView depends on none of them and contains no code specific to any of them.
301
313
 
302
314
  ## Documentation
303
315
 
304
- - [Overview](https://github.com/maiani/vecview/blob/v0.3.0/docs/index.md)
305
- - [Cameras](https://github.com/maiani/vecview/blob/v0.3.0/docs/cameras.md)
306
- - [Scenes and layers](https://github.com/maiani/vecview/blob/v0.3.0/docs/scenes.md)
307
- - [Shapes](https://github.com/maiani/vecview/blob/v0.3.0/docs/shapes.md)
308
- - [Outlines](https://github.com/maiani/vecview/blob/v0.3.0/docs/outlines.md)
309
- - [Animation](https://github.com/maiani/vecview/blob/v0.3.0/docs/animation.md)
310
- - [Gallery](https://github.com/maiani/vecview/blob/v0.3.0/docs/gallery.md)
311
- - [Embedding a scene](https://github.com/maiani/vecview/blob/v0.3.0/docs/embedding.md)
312
- - [Development](https://github.com/maiani/vecview/blob/v0.3.0/docs/development.md)
316
+ - [Overview](https://github.com/maiani/vecview/blob/v0.5.0/docs/index.md)
317
+ - [Cameras](https://github.com/maiani/vecview/blob/v0.5.0/docs/cameras.md)
318
+ - [Scenes and layers](https://github.com/maiani/vecview/blob/v0.5.0/docs/scenes.md)
319
+ - [Shapes](https://github.com/maiani/vecview/blob/v0.5.0/docs/shapes.md)
320
+ - [Outlines](https://github.com/maiani/vecview/blob/v0.5.0/docs/outlines.md)
321
+ - [Animation](https://github.com/maiani/vecview/blob/v0.5.0/docs/animation.md)
322
+ - [Gallery](https://github.com/maiani/vecview/blob/v0.5.0/docs/gallery.md)
323
+ - [Embedding a scene](https://github.com/maiani/vecview/blob/v0.5.0/docs/embedding.md)
324
+ - [Development](https://github.com/maiani/vecview/blob/v0.5.0/docs/development.md)
313
325
 
314
326
  ## License
315
327
 
@@ -54,8 +54,10 @@ dimetric, and trimetric cases.
54
54
  Rasterizing, PDF, and TeX belong to a consumer, not here. A test enforces
55
55
  this. `shapely` clips polygons and `contourpy` traces depth contours; both
56
56
  load only when they are first needed.
57
- - **Keep the three-way split**: `shapes` knows only numbers, `camera` and
58
- `projections` know projection, and `scene` and `animation`, with their
57
+ - **Keep the three-way split**: `shapes` knows only numbers, and so do its
58
+ private helpers `_face` (the `Face` record), `_cut`, and `_line_art` (which
59
+ edges of a faceted solid to ink, given which faces face the camera); `camera`
60
+ and `projections` know projection; and `scene` and `animation`, with their
59
61
  private rendering modules (`_elements`, `_canvas`, `_solids`,
60
62
  `_animation_svg`, `_animation_refs`), are the only code that touches
61
63
  `svg.py`. Geometry that needs a camera to be computed does not belong in
@@ -20,6 +20,12 @@ The document is standalone and self-describing:
20
20
  - `width`/`height` always agree with the `viewBox` extents, so scaling by either
21
21
  gives the same result
22
22
  - every `<defs>` element the content references, inline
23
+ - a Dublin Core `<metadata>` block naming VecView and its version as the
24
+ creator, as Matplotlib and Inkscape do; `Scene.render()` returns the drawing
25
+ without it
26
+ - one tag per line, indented by depth, so a regenerated figure diffs line by
27
+ line; a `<text>` or `<foreignObject>` element stays on one line, since
28
+ whitespace inside it would render
23
29
  - no external references or scripts
24
30
 
25
31
  Text names its font rather than embedding it — `DejaVu Sans, Verdana,
@@ -144,7 +150,7 @@ as yours: `slab-pz` per face, `{id}-profile` for a Gaussian's gradient,
144
150
  - A sphere's highlight gradient is named after its colours,
145
151
  `ball-{fill}-{highlight}`. Every scene defines it identically, so a collision
146
152
  is harmless.
147
- - An element with no id that a sorted layer clips gets `visible-{n}`, numbered
153
+ - An element with no id that a sorted layer clips gets `visible-{n}` for its clip path, numbered
148
154
  within its own scene, so two such scenes on one page can collide. Give the
149
155
  elements of a sorted layer ids when the scene will share a page.
150
156
 
@@ -0,0 +1,51 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="-437.3 -217.7 874.5 465.5" width="874.5" height="465.5">
2
+ <defs>
3
+ <clipPath id="ring-walls-holes-visible">
4
+ <path clip-rule="evenodd" d="M -70.21 -47.75 L -65.78 -50.24 L -61.06 -52.57 L -56.09 -54.71 L -50.87 -56.67 L -45.44 -58.43 L -39.81 -59.99 L -34.01 -61.34 L -28.07 -62.48 L -22.0 -63.4 L -15.84 -64.09 L -9.62 -64.55 L -5.36 -64.72 L -5.36 -53.57 L -9.62 -53.41 L -15.84 -52.95 L -22.0 -52.25 L -28.07 -51.34 L -34.01 -50.2 L -39.81 -48.85 L -45.44 -47.29 L -50.87 -45.53 L -56.09 -43.57 L -61.06 -41.42 L -65.78 -39.1 L -70.21 -36.61 L -74.34 -33.97 L -78.16 -31.17 L -81.63 -28.25 L -84.76 -25.2 L -87.53 -22.05 L -89.92 -18.8 L -91.93 -15.47 L -93.54 -12.08 L -94.75 -8.63 L -95.49 -5.44 L -95.96 -8.97 L -95.96 -12.78 L -95.56 -16.29 L -94.75 -19.77 L -93.54 -23.22 L -91.93 -26.61 L -89.92 -29.94 L -87.53 -33.19 L -84.76 -36.34 L -81.63 -39.39 L -78.16 -42.32 L -74.34 -45.11 Z M 15.43 -52.98 L 9.2 -53.44 L 5.36 -53.57 L 5.36 -64.71 L 9.2 -64.58 L 15.43 -64.13 L 21.6 -63.45 L 27.67 -62.55 L 33.62 -61.43 L 39.43 -60.09 L 45.07 -58.54 L 50.52 -56.79 L 55.75 -54.85 L 60.74 -52.71 L 65.47 -50.4 L 69.92 -47.92 L 74.08 -45.29 L 77.91 -42.51 L 81.41 -39.59 L 84.57 -36.55 L 87.36 -33.4 L 89.77 -30.16 L 91.81 -26.84 L 93.44 -23.45 L 94.68 -20.0 L 95.52 -16.52 L 95.94 -13.02 L 95.96 -9.06 L 95.52 -5.38 L 94.68 -8.86 L 93.44 -12.3 L 91.81 -15.7 L 89.77 -19.02 L 87.36 -22.26 L 84.57 -25.41 L 81.41 -28.45 L 77.91 -31.36 L 74.08 -34.15 L 69.92 -36.78 L 65.47 -39.26 L 60.74 -41.57 L 55.75 -43.7 L 50.52 -45.65 L 45.07 -47.4 L 39.43 -48.95 L 33.62 -50.28 L 27.67 -51.4 L 21.6 -52.31 Z "/>
5
+ </clipPath>
6
+ <clipPath id="ring-walls-visible">
7
+ <path clip-rule="evenodd" d="M -279.93 -78.82 L -280.41 -79.32 L -128.31 -34.09 L -128.14 -33.93 L -128.17 -33.58 L -128.66 -32.77 L -130.91 -28.04 L -132.28 -24.13 L -279.4 -67.87 L -278.27 -67.89 L -278.27 -78.3 L -278.44 -78.31 L -278.93 -78.81 Z M -283.39 -79.86 L -283.87 -80.35 L -280.44 -79.33 L -281.91 -79.35 L -282.4 -79.85 Z M -284.88 -80.37 L -285.26 -80.76 L -283.92 -80.36 Z M -295.49 -72.66 L -287.23 -81.34 L -285.65 -80.87 L -286.86 -80.89 L -287.13 -81.16 L -295.19 -72.68 L -294.78 -72.68 L -294.43 -72.34 Z M -293.29 -72.2 L -293.01 -71.92 L -293.93 -72.19 Z M -291.31 -71.72 L -290.88 -71.29 L -292.3 -71.71 Z M -289.83 -71.23 L -289.45 -70.86 L -290.68 -71.23 Z M -286.36 -70.27 L -285.89 -69.8 L -289.05 -70.74 L -287.85 -70.75 L -287.35 -70.26 Z M -284.88 -69.79 L -284.46 -69.38 L -285.82 -69.78 Z M -279.93 -68.36 L -279.44 -67.89 L -284.21 -69.3 L -282.9 -69.32 L -282.4 -68.83 L -281.41 -68.84 L -280.92 -68.35 Z M -130.82 17.23 L -132.56 12.4 L -133.72 7.53 L -134.32 2.62 L -134.34 -13.44 L -134.32 -8.52 L -133.72 -3.61 L -132.56 1.26 L -130.82 6.08 L -128.53 10.83 L -125.68 15.48 L -122.3 20.02 L -118.39 24.43 L -113.98 28.68 L -109.08 32.77 L -103.71 36.66 L -97.89 40.35 L -91.66 43.82 L -85.04 47.06 L -78.05 50.04 L -70.72 52.77 L -63.1 55.22 L -55.2 57.38 L -47.07 59.25 L -38.73 60.82 L -30.23 62.09 L -21.6 63.04 L -12.88 63.67 L -4.1 63.98 L 4.69 63.97 L 13.47 63.64 L 22.18 62.98 L 30.8 62.01 L 39.29 60.73 L 47.62 59.14 L 55.73 57.25 L 63.61 55.06 L 71.22 52.59 L 78.52 49.85 L 85.49 46.85 L 92.09 43.6 L 98.29 40.11 L 104.08 36.41 L 105.39 35.45 L 105.51 35.43 L 246.99 77.5 L 238.73 86.18 L 105.44 46.55 L 104.08 47.55 L 98.29 51.26 L 92.09 54.74 L 85.49 57.99 L 78.52 60.99 L 71.22 63.74 L 63.61 66.2 L 55.73 68.39 L 47.62 70.28 L 39.29 71.87 L 30.8 73.15 L 22.18 74.12 L 13.47 74.78 L 4.69 75.11 L -4.1 75.12 L -12.88 74.81 L -21.6 74.18 L -30.23 73.23 L -38.73 71.97 L -47.07 70.4 L -55.2 68.52 L -63.1 66.36 L -70.72 63.91 L -78.05 61.19 L -85.04 58.2 L -91.66 54.97 L -97.89 51.5 L -103.71 47.8 L -109.08 43.91 L -113.98 39.83 L -118.39 35.57 L -122.3 31.17 L -125.68 26.63 L -128.53 21.97 Z M 128.16 11.41 L 128.7 10.52 L 130.96 5.76 L 132.65 0.94 L 133.78 -3.94 L 134.34 -8.85 L 134.34 2.3 L 133.78 7.2 L 132.65 12.08 L 132.31 13.05 L 128.4 11.89 L 128.14 11.65 Z "/>
8
+ </clipPath>
9
+ <clipPath id="ring-pz-visible">
10
+ <path clip-rule="evenodd" d="M -264.21 -105.26 L -287.28 -80.99 L -287.5 -81.06 L -264.42 -105.33 Z M -278.97 -78.52 L -255.9 -102.79 L -105.51 -58.08 L -104.27 -58.99 L -98.47 -62.7 L -92.24 -66.2 L -85.64 -69.45 L -78.65 -72.46 L -71.33 -75.21 L -63.71 -77.68 L -55.81 -79.87 L -47.7 -81.76 L -39.35 -83.36 L -30.84 -84.64 L -22.21 -85.62 L -13.48 -86.27 L -5.36 -86.58 L -5.36 -64.37 L -9.6 -64.21 L -15.81 -63.74 L -21.96 -63.05 L -28.01 -62.13 L -33.94 -61.0 L -39.72 -59.65 L -45.34 -58.1 L -50.76 -56.34 L -55.96 -54.38 L -60.92 -52.25 L -65.61 -49.93 L -70.03 -47.45 L -74.14 -44.82 L -77.94 -42.04 L -81.4 -39.13 L -84.51 -36.1 L -87.26 -32.97 L -89.63 -29.75 L -91.62 -26.45 L -93.22 -23.08 L -94.42 -19.67 L -95.21 -16.23 L -95.61 -12.76 L -95.59 -9.29 L -95.17 -5.83 L -94.35 -2.38 L -93.12 1.03 L -91.5 4.39 L -89.48 7.68 L -87.08 10.9 L -84.31 14.02 L -81.18 17.04 L -77.7 19.95 L -73.88 22.71 L -69.74 25.34 L -65.31 27.81 L -60.59 30.11 L -55.62 32.24 L -50.4 34.18 L -44.97 35.92 L -39.34 37.46 L -33.55 38.8 L -27.61 39.92 L -21.55 40.82 L -15.4 41.49 L -9.18 41.94 L -2.93 42.17 L 3.34 42.16 L 9.6 41.92 L 15.81 41.46 L 21.96 40.76 L 28.01 39.85 L 33.94 38.72 L 39.72 37.37 L 45.34 35.81 L 50.76 34.05 L 55.96 32.1 L 60.92 29.96 L 65.61 27.65 L 70.03 25.17 L 74.14 22.53 L 77.94 19.76 L 81.4 16.85 L 84.51 13.82 L 87.26 10.69 L 89.63 7.46 L 91.62 4.16 L 93.22 0.8 L 94.42 -2.61 L 95.21 -6.06 L 95.61 -9.52 L 95.59 -12.99 L 95.17 -16.46 L 94.35 -19.9 L 93.12 -23.31 L 91.5 -26.67 L 89.48 -29.97 L 87.08 -33.18 L 84.31 -36.31 L 81.18 -39.33 L 77.7 -42.23 L 73.88 -45.0 L 69.74 -47.62 L 65.31 -50.09 L 60.59 -52.4 L 55.62 -54.52 L 50.4 -56.46 L 44.97 -58.21 L 39.34 -59.75 L 33.55 -61.08 L 27.61 -62.2 L 21.55 -63.1 L 15.4 -63.78 L 9.18 -64.23 L 5.36 -64.36 L 5.36 -86.57 L 12.89 -86.3 L 21.63 -85.67 L 30.27 -84.72 L 38.8 -83.45 L 47.13 -81.88 L 55.28 -80.01 L 63.2 -77.83 L 70.83 -75.38 L 78.17 -72.66 L 85.19 -69.66 L 91.81 -66.42 L 98.06 -62.94 L 103.91 -59.23 L 109.28 -55.34 L 114.2 -51.24 L 118.63 -46.97 L 122.58 -42.52 L 125.96 -37.98 L 128.83 -33.3 L 131.14 -28.52 L 132.9 -23.63 L 134.06 -18.75 L 134.67 -13.81 L 134.69 -8.81 L 134.12 -3.86 L 132.99 1.02 L 131.27 5.91 L 129.01 10.67 L 128.51 11.5 L 269.8 53.51 L 246.72 77.78 L 105.51 35.79 L 104.27 36.7 L 98.48 40.41 L 92.24 43.91 L 85.63 47.17 L 78.65 50.18 L 71.34 52.92 L 63.71 55.4 L 55.81 57.59 L 47.68 59.48 L 39.35 61.08 L 30.86 62.36 L 22.21 63.33 L 13.48 63.98 L 4.69 64.32 L -4.1 64.33 L -12.89 64.02 L -21.63 63.39 L -30.28 62.43 L -38.78 61.17 L -47.13 59.6 L -55.28 57.72 L -63.2 55.55 L -70.83 53.1 L -78.17 50.37 L -85.19 47.37 L -91.81 44.14 L -98.06 40.66 L -103.91 36.95 L -109.28 33.05 L -114.2 28.95 L -118.63 24.68 L -122.58 20.23 L -125.96 15.69 L -128.83 11.01 L -131.14 6.24 L -132.9 1.34 L -134.06 -3.53 L -134.67 -8.48 L -134.69 -13.48 L -134.12 -18.42 L -132.99 -23.3 L -131.27 -28.2 L -129.01 -32.95 L -128.51 -33.79 Z M 66.08 -65.3 L 45.99 -78.02 L 35.99 -67.5 Z M -62.17 35.73 L -72.18 46.26 L -42.08 48.46 Z "/>
11
+ </clipPath>
12
+ <clipPath id="source-px-visible">
13
+ <path clip-rule="evenodd" d="M -298.66 -45.13 L -298.83 -45.3 L -298.85 -69.29 L -298.77 -69.5 L -235.67 -135.85 L -235.46 -135.95 L -235.24 -135.86 L -235.15 -135.65 L -235.15 -111.77 L -235.24 -111.56 L -246.6 -99.61 L -255.34 -102.21 L -277.8 -78.59 L -269.06 -75.99 L -269.41 -75.63 L -277.7 -78.09 L -278.27 -78.08 L -278.27 -67.96 L -277.05 -67.59 L -298.33 -45.21 Z "/>
14
+ </clipPath>
15
+ </defs>
16
+ <metadata>
17
+ <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#">
18
+ <cc:Work>
19
+ <dc:creator>
20
+ <cc:Agent>
21
+ <dc:title>VecView v0.3.0, https://github.com/maiani/vecview</dc:title>
22
+ </cc:Agent>
23
+ </dc:creator>
24
+ </cc:Work>
25
+ </rdf:RDF>
26
+ </metadata>
27
+ <rect x="-437.3" y="-217.7" width="874.5" height="465.5" fill="#ffffff"/>
28
+ <polygon stroke="#9aa4b2" stroke-width="0.8" id="substrate-px" points="222.95,231.88 421.25,23.33 421.25,-8.51 222.95,200.05" fill="#e4e8ee"/>
29
+ <polygon stroke="#9aa4b2" stroke-width="0.8" id="substrate-my" points="-421.25,8.51 -421.25,40.34 222.95,231.88 222.95,200.05" fill="#e4e8ee"/>
30
+ <polygon stroke="#9aa4b2" stroke-width="0.8" id="substrate-pz" points="-421.25,8.51 222.95,200.05 421.25,-8.51 -222.95,-200.05" fill="#e4e8ee"/>
31
+ <polygon stroke="#1f2430" stroke-width="0.6" id="source-my" points="-383.31,-94.49 -383.31,-70.61 -298.55,-45.41 -298.55,-69.29" fill="#e2b56a"/>
32
+ <path clip-path="url(#ring-walls-holes-visible)" id="ring-walls-holes" d="M -95.96 -1.64 L -95.56 -5.15 L -94.75 -8.63 L -93.54 -12.08 L -91.93 -15.47 L -89.92 -18.8 L -87.53 -22.05 L -84.76 -25.2 L -81.63 -28.25 L -78.16 -31.17 L -74.34 -33.97 L -70.21 -36.61 L -65.78 -39.1 L -61.06 -41.42 L -56.09 -43.57 L -50.87 -45.53 L -45.44 -47.29 L -39.81 -48.85 L -34.01 -50.2 L -28.07 -51.34 L -22.0 -52.25 L -15.84 -52.95 L -9.62 -53.41 L -3.35 -53.65 L 2.93 -53.66 L 9.2 -53.44 L 15.43 -52.98 L 21.6 -52.31 L 27.67 -51.4 L 33.62 -50.28 L 39.43 -48.95 L 45.07 -47.4 L 50.52 -45.65 L 55.75 -43.7 L 60.74 -41.57 L 65.47 -39.26 L 69.92 -36.78 L 74.08 -34.15 L 77.91 -31.36 L 81.41 -28.45 L 84.57 -25.41 L 87.36 -22.26 L 89.77 -19.02 L 91.81 -15.7 L 93.44 -12.3 L 94.68 -8.86 L 95.52 -5.38 L 95.94 -1.87 L 95.96 1.64 L 95.96 -9.5 L 95.94 -13.02 L 95.52 -16.52 L 94.68 -20.0 L 93.44 -23.45 L 91.81 -26.84 L 89.77 -30.16 L 87.36 -33.4 L 84.57 -36.55 L 81.41 -39.59 L 77.91 -42.51 L 74.08 -45.29 L 69.92 -47.92 L 65.47 -50.4 L 60.74 -52.71 L 55.75 -54.85 L 50.52 -56.79 L 45.07 -58.54 L 39.43 -60.09 L 33.62 -61.43 L 27.67 -62.55 L 21.6 -63.45 L 15.43 -64.13 L 9.2 -64.58 L 2.93 -64.8 L -3.35 -64.79 L -9.62 -64.55 L -15.84 -64.09 L -22.0 -63.4 L -28.07 -62.48 L -34.01 -61.34 L -39.81 -59.99 L -45.44 -58.43 L -50.87 -56.67 L -56.09 -54.71 L -61.06 -52.57 L -65.78 -50.24 L -70.21 -47.75 L -74.34 -45.11 L -78.16 -42.32 L -81.63 -39.39 L -84.76 -36.34 L -87.53 -33.19 L -89.92 -29.94 L -91.93 -26.61 L -93.54 -23.22 L -94.75 -19.77 L -95.56 -16.29 L -95.96 -12.78 Z " fill="#8a96a8"/>
33
+ <polygon stroke="#1f2430" stroke-width="0.6" id="drain-px" points="320.22,138.57 383.31,72.21 383.31,48.33 320.22,114.69" fill="#e2b56a"/>
34
+ <polygon stroke="#1f2430" stroke-width="0.6" id="drain-my" points="235.45,89.49 235.45,113.36 320.22,138.57 320.22,114.69" fill="#e2b56a"/>
35
+ <polygon stroke="#1f2430" stroke-width="0.6" id="source-pz" points="-383.31,-94.49 -298.55,-69.29 -235.45,-135.65 -320.22,-160.85" fill="#e2b56a"/>
36
+ <polygon stroke="#1f2430" stroke-width="0.6" clip-path="url(#source-px-visible)" id="source-px" points="-298.55,-45.41 -235.45,-111.77 -235.45,-135.65 -298.55,-69.29" fill="#e2b56a"/>
37
+ <path clip-path="url(#ring-walls-visible)" id="ring-walls" d="M -134.34 -2.3 L -134.32 2.62 L -133.72 7.53 L -132.56 12.4 L -130.82 17.23 L -128.53 21.97 L -125.68 26.63 L -122.3 31.17 L -118.39 35.57 L -113.98 39.83 L -109.08 43.91 L -103.71 47.8 L -97.89 51.5 L -91.66 54.97 L -85.04 58.2 L -78.05 61.19 L -70.72 63.91 L -63.1 66.36 L -55.2 68.52 L -47.07 70.4 L -38.73 71.97 L -30.23 73.23 L -21.6 74.18 L -12.88 74.81 L -4.1 75.12 L 4.69 75.11 L 13.47 74.78 L 22.18 74.12 L 30.8 73.15 L 39.29 71.87 L 47.62 70.28 L 55.73 68.39 L 63.61 66.2 L 71.22 63.74 L 78.52 60.99 L 85.49 57.99 L 92.09 54.74 L 98.29 51.26 L 104.08 47.55 L 105.44 46.55 L 276.93 97.54 L 299.46 73.84 L 299.46 62.7 L 276.93 86.4 L 105.44 35.41 L 104.08 36.41 L 98.29 40.11 L 92.09 43.6 L 85.49 46.85 L 78.52 49.85 L 71.22 52.59 L 63.61 55.06 L 55.73 57.25 L 47.62 59.14 L 39.29 60.73 L 30.8 62.01 L 22.18 62.98 L 13.47 63.64 L 4.69 63.97 L -4.1 63.98 L -12.88 63.67 L -21.6 63.04 L -30.23 62.09 L -38.73 60.82 L -47.07 59.25 L -55.2 57.38 L -63.1 55.22 L -70.72 52.77 L -78.05 50.04 L -85.04 47.06 L -91.66 43.82 L -97.89 40.35 L -103.71 36.66 L -109.08 32.77 L -113.98 28.68 L -118.39 24.43 L -122.3 20.02 L -125.68 15.48 L -128.53 10.83 L -130.82 6.08 L -132.56 1.26 L -133.72 -3.61 L -134.32 -8.52 L -134.34 -13.44 Z M 127.98 22.85 L 128.7 21.66 L 130.96 16.91 L 132.65 12.08 L 133.78 7.2 L 134.34 2.3 L 134.34 -8.85 L 133.78 -3.94 L 132.65 0.94 L 130.96 5.76 L 128.7 10.52 L 127.98 11.71 Z M -299.46 -73.84 L -127.98 -22.85 L -127.98 -33.99 L -299.46 -84.98 Z " fill="#8a96a8"/>
38
+ <path stroke="#1f2430" stroke-width="0.7" clip-path="url(#ring-pz-visible)" id="ring-pz" d="M -299.46 -84.98 L -127.98 -33.99 L -128.7 -32.8 L -130.96 -28.05 L -132.65 -23.22 L -133.78 -18.35 L -134.34 -13.44 L -134.32 -8.52 L -133.72 -3.61 L -132.56 1.26 L -130.82 6.08 L -128.53 10.83 L -125.68 15.48 L -122.3 20.02 L -118.39 24.43 L -113.98 28.68 L -109.08 32.77 L -103.71 36.66 L -97.89 40.35 L -91.66 43.82 L -85.04 47.06 L -78.05 50.04 L -70.72 52.77 L -63.1 55.22 L -55.2 57.38 L -47.07 59.25 L -38.73 60.82 L -30.23 62.09 L -21.6 63.04 L -12.88 63.67 L -4.1 63.98 L 4.69 63.97 L 13.47 63.64 L 22.18 62.98 L 30.8 62.01 L 39.29 60.73 L 47.62 59.14 L 55.73 57.25 L 63.61 55.06 L 71.22 52.59 L 78.52 49.85 L 85.49 46.85 L 92.09 43.6 L 98.29 40.11 L 104.08 36.41 L 105.44 35.41 L 276.93 86.4 L 299.46 62.7 L 127.98 11.71 L 128.7 10.52 L 130.96 5.76 L 132.65 0.94 L 133.78 -3.94 L 134.34 -8.85 L 134.32 -13.77 L 133.72 -18.67 L 132.56 -23.55 L 130.82 -28.37 L 128.53 -33.12 L 125.68 -37.77 L 122.3 -42.31 L 118.39 -46.71 L 113.98 -50.97 L 109.08 -55.05 L 103.71 -58.95 L 97.89 -62.64 L 91.66 -66.11 L 85.04 -69.34 L 78.05 -72.33 L 70.72 -75.05 L 63.1 -77.5 L 55.2 -79.67 L 47.07 -81.54 L 38.73 -83.11 L 30.23 -84.37 L 21.6 -85.32 L 12.88 -85.95 L 4.1 -86.26 L -4.69 -86.25 L -13.47 -85.92 L -22.18 -85.27 L -30.8 -84.3 L -39.29 -83.01 L -47.62 -81.42 L -55.73 -79.53 L -63.61 -77.35 L -71.22 -74.88 L -78.52 -72.14 L -85.49 -69.13 L -92.09 -65.88 L -98.29 -62.4 L -104.08 -58.69 L -105.44 -57.69 L -276.93 -108.68 Z M 89.92 7.66 L 87.53 10.91 L 84.76 14.06 L 81.63 17.11 L 78.16 20.03 L 74.34 22.82 L 70.21 25.47 L 65.78 27.96 L 61.06 30.28 L 56.09 32.43 L 50.87 34.38 L 45.44 36.15 L 39.81 37.71 L 34.01 39.06 L 28.07 40.19 L 22.0 41.11 L 15.84 41.8 L 9.62 42.27 L 3.35 42.51 L -2.93 42.52 L -9.2 42.29 L -15.43 41.84 L -21.6 41.16 L -27.67 40.26 L -33.62 39.14 L -39.43 37.8 L -45.07 36.26 L -50.52 34.51 L -55.75 32.56 L -60.74 30.43 L -65.47 28.12 L -69.92 25.64 L -74.08 23.0 L -77.91 20.22 L -81.41 17.31 L -84.57 14.27 L -87.36 11.12 L -89.77 7.88 L -91.81 4.55 L -93.44 1.16 L -94.68 -2.28 L -95.52 -5.76 L -95.94 -9.27 L -95.96 -12.78 L -95.56 -16.29 L -94.75 -19.77 L -93.54 -23.22 L -91.93 -26.61 L -89.92 -29.94 L -87.53 -33.19 L -84.76 -36.34 L -81.63 -39.39 L -78.16 -42.32 L -74.34 -45.11 L -70.21 -47.75 L -65.78 -50.24 L -61.06 -52.57 L -56.09 -54.71 L -50.87 -56.67 L -45.44 -58.43 L -39.81 -59.99 L -34.01 -61.34 L -28.07 -62.48 L -22.0 -63.4 L -15.84 -64.09 L -9.62 -64.55 L -3.35 -64.79 L 2.93 -64.8 L 9.2 -64.58 L 15.43 -64.13 L 21.6 -63.45 L 27.67 -62.55 L 33.62 -61.43 L 39.43 -60.09 L 45.07 -58.54 L 50.52 -56.79 L 55.75 -54.85 L 60.74 -52.71 L 65.47 -50.4 L 69.92 -47.92 L 74.08 -45.29 L 77.91 -42.51 L 81.41 -39.59 L 84.57 -36.55 L 87.36 -33.4 L 89.77 -30.16 L 91.81 -26.84 L 93.44 -23.45 L 94.68 -20.0 L 95.52 -16.52 L 95.94 -13.02 L 95.96 -9.5 L 95.56 -6.0 L 94.75 -2.51 L 93.54 0.93 L 91.93 4.33 Z " fill-rule="evenodd" fill="#c7d0dc"/>
39
+ <polygon id="head-upper" points="40.52,-72.85 40.52,-72.85 45.93,-78.54 67.65,-64.78 35.11,-67.16 40.52,-72.85 40.52,-72.85" fill="#c0392b"/>
40
+ <g id="flux">
41
+ <path id="flux-head" d="M -15.64 -29.22 L 0.0 0.0 L 15.64 -29.22 A 16.32 9.126 0.0 1 0 -15.64 -29.22 Z " fill="#6c3483"/>
42
+ <ellipse id="flux-head-end0" cx="0.0" cy="-31.84" rx="16.32" ry="9.126" fill="#6c3483"/>
43
+ <path id="flux-shaft" d="M -5.76 -183.05 L -5.76 -31.84 A 5.76 3.221 0.0 0 0 5.76 -31.84 L 5.76 -183.05 A 5.76 3.221 0.0 0 0 -5.76 -183.05 Z " fill="#6c3483"/>
44
+ <ellipse id="flux-shaft-end0" cx="0.0" cy="-183.05" rx="5.76" ry="3.221" fill="#6c3483"/>
45
+ </g>
46
+ <polygon id="head-lower" points="-67.65,40.91 -67.65,40.91 -62.24,35.22 -40.52,48.97 -73.05,46.6 -67.65,40.91 -67.65,40.91" fill="#2e86c1"/>
47
+ <polygon stroke="#1f2430" stroke-width="0.6" id="drain-pz" points="235.45,89.49 320.22,114.69 383.31,48.33 298.55,23.13" fill="#e2b56a"/>
48
+ <path stroke="#c0392b" stroke-width="2.4" id="path-upper" d="M -101.72 -42.18 L -98.94 -44.94 L -95.92 -47.61 L -92.68 -50.2 L -89.21 -52.7 L -85.53 -55.1 L -81.64 -57.39 L -77.55 -59.57 L -73.28 -61.65 L -68.83 -63.6 L -64.21 -65.42 L -59.44 -67.12 L -54.53 -68.68 L -49.48 -70.11 L -44.32 -71.4 L -39.05 -72.54 L -33.68 -73.54 L -28.24 -74.39 L -22.72 -75.09 L -17.15 -75.64 L -11.54 -76.03 L -5.9 -76.27 L -5.76 -76.27 M 5.76 -76.27 L 11.04 -76.06 L 16.65 -75.68 L 22.23 -75.15 L 27.75 -74.46 L 33.2 -73.62 L 38.57 -72.64 L 43.85 -71.51 L 49.03 -70.23 L 54.08 -68.82 L 59.01 -67.26 L 63.79 -65.58 L 68.42 -63.76 L 72.89 -61.82 L 77.18 -59.76 L 81.28 -57.59 L 85.19 -55.3 L 88.89 -52.91 L 92.38 -50.43 L 95.65 -47.84 L 98.68 -45.18 L 101.48 -42.43 L 104.03 -39.61 L 106.33 -36.72 L 108.38 -33.77 L 110.17 -30.77 L 111.69 -27.73 L 112.94 -24.64 L 113.92 -21.53 L 114.62 -18.39 L 115.05 -15.24 L 115.2 -12.08 L 115.07 -8.92 L 114.67 -5.76 L 113.99 -2.62 L 113.04 0.49 L 111.81 3.58 L 110.31 6.63 L 108.55 9.63 L 106.53 12.58 L 104.25 15.48 L 101.72 18.3" stroke-linecap="round" fill="none"/>
49
+ <polyline stroke="#2e86c1" stroke-width="2.4" id="path-lower" points="-101.72,-42.18 -104.25,-39.35 -106.53,-36.46 -108.55,-33.51 -110.31,-30.5 -111.81,-27.45 -113.04,-24.37 -113.99,-21.25 -114.67,-18.11 -115.07,-14.96 -115.2,-11.8 -115.05,-8.64 -114.62,-5.48 -113.92,-2.35 -112.94,0.77 -111.69,3.85 -110.17,6.9 -108.38,9.9 -106.33,12.84 -104.03,15.73 -101.48,18.55 -98.68,21.3 -95.65,23.97 -92.38,26.55 -88.89,29.04 -85.19,31.43 -81.28,33.71 -77.18,35.89 -72.89,37.95 -68.42,39.89 -63.79,41.7 -59.01,43.39 -54.08,44.94 -49.03,46.36 -43.85,47.63 -38.57,48.76 -33.2,49.75 -27.75,50.58 -22.23,51.27 -16.65,51.8 -11.04,52.18 -5.4,52.41 0.25,52.48 5.9,52.4 11.54,52.16 17.15,51.76 22.72,51.22 28.24,50.52 33.68,49.67 39.05,48.67 44.32,47.52 49.48,46.24 54.53,44.81 59.44,43.24 64.21,41.55 68.83,39.72 73.28,37.77 77.55,35.7 81.64,33.51 85.53,31.22 89.21,28.82 92.68,26.32 95.92,23.73 98.94,21.06 101.72,18.3" stroke-linecap="round" fill="none"/>
50
+ <text font-family="DejaVu Sans, Verdana, sans-serif" font-size="30" font-style="italic" fill="#222222" id="flux-label" x="14.0" y="-177.05">Φ</text>
51
+ </svg>