BUG - Copy SVG from AI: Unexpected self Intersections

Rhino SGV AI Bug 2 - RO.ai (199.8 KB)
Rhino SGV AI Bug 2 - RO.3dm (470.8 KB)

I’m copying linework from AI 2023 to Rhino 7 and an getting extra control points where one Illustrator anchor point exists.

If I copy linework from AI and paste into Rhino, I have to manually delete these extra control points every time. (see below and attached files). Note that if I use the AI export function and save a DWG, and import into Rhino 7, the the control points convert from anchor points as expected. This adds an extra 25 clicks to my process each time I need to copy an object from AI which happens dozens of times a day.

image image

Not to mention some shapes come in with distortions like this:
image

Hi Ryan -

When I open that .ai file in Inkscape, I get the following:
image

… which is the same as what I get in Rhino.
I don’t have AI so I was hoping to test copy-pasting from Inkscape, but, clearly, that won’t do much good with that file. Perhaps you can export as SVG from AI?

I’m not sure where that 25 clicks come from, but, perhaps, you can make macro that selects all objects and locks them (to make sure that existing points don’t get deleted), paste from the clipboard, select all points and deletes those, then unlock all?
-wim

Hoping someone can test this with AI and find the bug.

Export from AI to SVG gives the same errors.
Export to DWG imports as expected.
Rhino SGV AI Bug 2 - RO.dwg (31.2 KB)
Rhino SGV AI Bug 2 - RO

I counted. DWG export works, but defeats the prepose and ease of being able to copy/paste from one software to the other.

Export SVG from AI and opening the result in Rhino gets me the same funky ‘G’ but I do not yet see the other thing - where is the thing in the first two images?

-Pascal

SVG Copy from AI to Rhino
Run Ungroup
Run IntersectSelf
Zoom in really close when Rhino marked the points and you’ll see double or triple control points in some areas but not all.

image

Yeah, it looks like these points show up at the curve seam. I see that svg and not AI formats add these points… I’ll add this to the pile, someone smarter than me needs to have a look.
RH-76161 Import SVG: extra points

@ryan.odom - the self interssections are in the SVG files - the developer figured out a way to massage the file just enough to get those cleaned up on import. The goofy G was indeed a bug on our side.
Thanks for the report.
-Pascal

1 Like

RH-76161 is fixed in Rhino 7 Service Release 32