Scripted generation of content

I’m interested in programmatically generating designs - for now really just to be able to make grids of lots of different settings to try on new materials.

I see the lightburn saved files are XML, so I had a quick search to see if anyone wrote a Python wrapper for the format yet, but looks not. Still likely not too bad to output the XML myself possibly.

At it was discussed of embedding a Python interpreter one day; any news on that, or suggestions on how we might generate files ourselves currently?

Thank you!

You can import .svg and there are python libraries to generate SVG. Would that work for you?

Can I encode the burn settings in the SVG files? I’ve exported an SVG from LB just now to inspect, and it doesn’t appear to contain speed, power, dpi and so on.