I got it working now with Kicad svg file → Inkscape → Lightburn and I found the negative image option in Lightburn. Thank you very much to everyone who helped with comments and advice!
I suspect some of the issues I ran into was because I was using a Mac to run Kicad, and then inkscape on either Mac or PC and finally Lightburn on the PC, sharing files on a NAS.
Thanks for your quick response!
Not sure we understand each other completely though I did notice that the outline is sometimes not a single closed shape and I have to fix it in LightBurn. But that feels like a separate issue to the one I reported - the incorrect import of the shape itself (slanted corners instead of rounded).
Or do you think that’s the reason for the non-rounded (“cut off”) corners when imported directly into LightBurn? The import to Inkscape works correctly, and even the preview of the SVG file in my NextCloud instance looks fine…
Again, apologies for polluting this topic with an unrelated problem - I’ll open a new thread for this.
Yes. That’s what I’m saying. Or at least it’s partially the reason for it. Somehow the way the unconnected corner is defined is not being interpreted correctly in LightBurn. But the reality is that if the shape had been well-formed to begin with it wouldn’t be an issue.
Did you try my fix? It resolves that specific issue.
Thanks for your input, but I don’t think that’s the case. The fact that the SVG is imported correctly by Inkscape, and even the preview in NextCloud displaying correctly leads me to believe it’s a bug in the SVG import in LightBurn instead of it being caused by the unconnected shape.
I just exported a single 90 degree arc from KiCad and it’s the same story - LightBurn show is s a straight line connecting the ends of what should be the arc, but Inkscape imports it correctly.
Unfortunately, it’s not really a fix. I want to be able to export from KiCad and import the SVG directly into LightBurn without jumping through hoops.
Anyway, thanks again for your help. I’m going to open a separate thread for this soon. Hopefully LightBurn developers will be able to fix it eventually.
It might be a problem with LightBurn on the individual curved shape. However, until KiCAD fixes the disjointed line segments LightBurn will still be on the hook to cleanup after the bad generation.
Bottom line, if the SVG were well formed this would be a non-issue on import. That’s why the suggestion of a workaround.
In any case, unless LightBurn makes assumptions about the SVG and starts auto-joining stuff you’re not going to get to your hands-off solution unless KiCAD makes a fix. Based on what I saw of KiCAD SVG output there’s going to be a good bit of work to get it to an acceptable state.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.