You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I export an SVG-file from processing using startRecord and endRecord, it produces duplicate shapes in the SVG-file with slightly different attributes (fill and stroke). If you open the SVG-file in a vector program like InkScape, you don't see it because the shapes overlap but the file is twice the size necessary and if you plot it (I use an Axidraw), it plots the shape twice.
When I use the export with the size command (without beginRecord and endRecord) it works allright. However, I need the beginRecord method because I have to make multiple different SVG's.
The text was updated successfully, but these errors were encountered:
This looks like it's to do with how Processing draws fills and strokes separately.
In your draw loop, just above the line ellipse(100,100,20,20) try adding a noFill() or a noStroke() and see what happens to the output.
If you use noStroke(), the SVG exported has just the one circle exported, with a style of stroke:none on it. Similarly, using noFill() you get a circle with style fill:none;
When I export an SVG-file from processing using startRecord and endRecord, it produces duplicate shapes in the SVG-file with slightly different attributes (fill and stroke). If you open the SVG-file in a vector program like InkScape, you don't see it because the shapes overlap but the file is twice the size necessary and if you plot it (I use an Axidraw), it plots the shape twice.
When I use the export with the size command (without beginRecord and endRecord) it works allright. However, I need the beginRecord method because I have to make multiple different SVG's.
The text was updated successfully, but these errors were encountered: