Just upgraded to Rhino 8 and SVG export is a major step backwards, to the point where I won’t be able to use it. While it renders SVGs “correctly” in that they look like what’s rendered in Rhino, they’re not rendered usefully.
Exported shapes are decomposed into individual lines and curves. This means, I can export a shape as an SVG and then fill it, because it’ll have a bunch of separate edge lines as elements rather than a single shape. Fixing this would mean manually editing the SVG file every time, which is impractical for what I’m working with.
Rhino 7 exports correctly / usefully. So, I’m dropping back to that for now, sadly.
Hi Brian, sounds like a bug, I am testing this now, thanks for the heads up.
@Brian_Westphal - I do not, in my simple test, see any difference yet in the svg output (as opened in AI, or back in Rhino - can you post an example? (V7 file, svg export from V7, the same exported from V8.)
Ah, I tested on Windows, I will try Mac .
Same results - an example would be helpful.
Here’s an example file I just made in 7 and then exported to SVG. Then I duplicated the file, opened and saved it in 8 and exported again from 8. (not sure if saving as a version 8 file maters – probably not)
The example should be an X shape made of two separate overlapping rounded rectangles – which are really created somewhat manually and using join to create the curves.
In 7, the SVG has two paths as expected. In 8, its eight separate paths, one for each side of the rectangle and for each curve.
I had the same issue today. when trying to export my SVG the program I import into keeps telling me that the curves are open but when i save the file as a rhino 7 file and then open back up in rhino 8 and export the SVG works.
When running this through chatGPT it told me at the end of the code it needs a Z closed path command at the end of the code. when adding this the .SVG export worked as closed curves when importing them into easel.
Do you have a 3DM file that results in open SVG curves from Rhino 8? It’ll be easier to fix if we can see what you expect. Extra credit if you send the bad file from Rhino 8, the bad SVG, the good file from Rhino 7, and the good SVG.
So frustrating thing here is I exported the curves I was having issue with to a file called curve test (attached) and when exporting as an SVG the curves worked and had no issue. when using the original file Trail Blazers 2 (attached) the same curves cause issue. I have made the curves in the file red so you can test on the same curves I am having issues with. Please let me know if you have any questions.
I see that exporting a closed curve to SVG from Rhino 7 adds the “z” tag to denote a closed curve in addition to duplicating the start point at the end. When exporting from Rhino 8, only that duplication is happening.
I opened your file in Rhino 8, saved as Rhino 7, and opened that file back into Rhino 8. Then exported to SVG. If I understand you correctly, that makes this SVG file work in easel? That file still drops the “z” tag, though.
Does the following file open as open or closed?
→