Export to SVG challenge

Just FWIW, here is an example - my curve in green, yours in black. Zoom in on a high-curvature part.
curve test.svg.txt (5.6 KB)

Here is my code - it’s probably messy…
rh5.0 SVG 0.1.0004.rvb (14.4 KB)