A tale of two SVGs (Illustrator Export bug)

It gets worse! Here’s a comparison between the original and the exported:

Notice anything else? I didn’t until I started removing the pieces. The friggin thing is just randomly missing two lines!

At least I have enough data to file a nice bug report.

4 Likes

I have started to use PDF more. My wife has been learning vector design and Glowforge stuff using Affinity Designer, and I have found that PDF is the best way to move files between her AD and my Illustrator. With SVG you have the DPI issue to remember but PDF “just works.”

2 Likes

That is infuriating. “You had one job” indeed.

1 Like

Totally knocking on wood while I type this, but I’ve literally never had an issue saving as Inkscape SVG - I didn’t see the warning until I was many designs in so never changed my system…

I do wonder what the issue is supposed to be - though if it’s layer based that’s probably why since I never “finish” a file that still has layers, I always compact before saving.

1 Like

I don’t think it hurts anything with Inkscape. I’ve missed it now and then as well. I just don’t want my files containing any app-specific information.

1 Like

This is interesting. I played with the file a little and noticed that if you copy the affected circle and paste it, the problem follows the copy as well. There seems to be something about that particular circle . Unfortunately I 'm not enough of an illustrator guru to compare the good circle with the bad one, to see what the difference is.

got any video of those patterns running?

1 Like

I’m on an iPad in a car, so I can’t check. Any chance the strokes on those objects aren’t center?

Looking at the paths of the circles, they are all centered. I used the anchor tool and examined the path for the circle that works and the one that doesn’t, I can’t see any difference.

Holy smokes.

A circle in Inkscape:

<circle
       r="5"
       cy="10"
       cx="10"
       id="path866"
       style="opacity:1;fill:none;fill-opacity:1;stroke:#0000ff;stroke-width:0.06181016;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />

(Radius, Center X,Y, a label, and a stroke style)

From “saveas” in AI:

<path fill="none" stroke="#000000" stroke-miterlimit="11.3386" d="M693.2045,223.9715l0.2693,0.0085 c1.6429,0.0417,2.9411,1.4072,2.8998,3.0501c-0.0281,1.1262-0.6898,2.14-1.7093,2.6192 c-0.9183,0.4313-1.9932,0.3651-2.8516-0.1758c-0.4816-0.3031-0.8663-0.7379-1.1083-1.2529 c-0.6992-1.4877-0.0599-3.2605,1.4279-3.9596c0.0003-0.0001,0.0005-0.0002,0.0008-0.0004 c0.419-0.1965,0.8781-0.2926,1.3408-0.2806l0.2693,0.0057"/>

There are 8-10 nodes in each circle in AI.

You’re comparing apples to melancholy. I just created a new file in Illustrator, drew a circle, and saved it as SVG:

<circle style="fill:none;stroke:#000000;stroke-miterlimit:10;" cx="72" cy="72" r="36"/>

For what it’s worth, Export produces similar results, but it’s obviously a completely independent code generator:

<circle cx="36.5" cy="36.5" r="36" style="fill: none;stroke: #000;stroke-miterlimit: 10"/>

The file you’re looking at never contained a circle, it was imported from the result of generating holes in Fusion 360 by loading a model of a screw from McMaster-Carr and subtracting it from my base plate, generating an SVG using the Glowforge Colorific CAM processor, cleaning up in Illustrator, saving back out, running through Deepnest, and then making another round-trip through Illustrator. I should be surprised it even works at all.

2 Likes

Ah. Your original post said you had 4 identically-sized circles from an original in AI.

1 Like

Anyway, that makes it even more weird that one would get messed up more than the others.

2 Likes

i like bounce, wander, and slide up

i love sinus.

1 Like

Thanks. It’s been a while, but I think all but BlinkFade are my creations. They all started life on the PixelBlaze but I’ve been slowly porting them from nice pleasant JavaScript to ugly low level C. Got a bunch more to go but I took a break to focus on the hardware.

If you have a PixelBlaze, I uploaded sinus to https://electromage.com/patterns/.

3 Likes

That page is seriously trippy - don’t watch it if you get motion sickness :stuck_out_tongue:

1 Like

i have no pixleblaze but I can make use of the code snippets on a few of these. inspired by this to try to port my 64 x 64 matrix designs into the 8 x 32 format. some of them will work, others will flail. I mostly use Arduino sketches based on FASTled and ledMatrix as the backbone for my patterns.

1 Like

Thanks! My inner ear disorder and I appreciate the warning. :wink:

1 Like

oh my god, I need this

do you know if anyone is selling an all-in-one kit? 'cuz if I can just buy one and screw it together, I will get to it much more quickly than if I have to research every part. I have too many projects already!