I’m having issues with svg export. There are extra unintended lines when I open an exported svg in another program (default I’m using is Windows Edge Browser but shouldn’t matter what program you use).
I found I can open up the file in a text editor and do a search replace for z" (z then double quote) with just a " double quote (removes all of the z’s at the end of the path statements) and only then does the exported svg look how it was exported from Lightburn.
Attached is
my lightburn lbrn2 project
exported svg exactly as exported
image highlighting the extra lines in red.
save image from preview showing expected output results
Yours is just vertically flipped, likely because you opened their LightBurn file with a different job origin. I’m able to reproduce this and looking into it now.
The green dot at the top of the piece is where the shape starts. The lines to the left are connected together, and then the line breaks, it jumps to the bottom and continues counter-clockwise from there, until it gets back to the top.
The previous code in my exporter just said “is the first vertex in the shape the same as the last one?” and if so, emitted the ‘z’ at the end to tell the importer it’s a closed shape, but this isn’t correct.
Now, every time there’s a break in the shape, I reset the value of “first” to be where the next line starts, and it works properly with your file now. This will be in the next release.