Mapping SVG attributes to Power/Speed

I tried to search but couldn’t find a resource. I generate my SVG files programmatically. Is there a way to map SVG attributes (color? classes? custom attributes) to power and speed settings in LightBurn?

Thank you!

You cannot associate it to a specific power and speed but you can associate to a specific layer by matching the RGB color to LightBurn layers. You could then either have default speed/power for the layers or assign them after the fact.

If you’re building the files programatically you could potentially write directly to .lbrn format. It’s fairly straightforward and verbose. Original .lbrn would probably be easier than .lbrn2 as it’s less compressed.

Thank you for the information. Is there documentation for lbrn, that seems like the best way of doing this.

Also, there can only be as many layers as exposed in the bottom bar or new ones can be created? I couldn’t find a way to do so.

lbrn2 is just XML, that should be pretty simple to tinker with … thank you!

It seems like there is a limit of 30 usable layers … that seems like a big limitation. What’s the rationale for that and can be worked around?

File format is not documented but is largely straightforward. There are a few Topics that cover specific aspects of the format that might not otherwise be clear. I suggest you do a search for those.

I believe the number of layers is fixed.

Yes. Exactly. Again, original .lbrn format may be easier as .lbrn2 incorporates techniques to reduce file size but may be harder to work through.

I believe this is a limit in Ruida controller itself which was the original target controller.

Consider using grouping as an alternative organization method.

You are very helpful, thank you. So if I have a grid of 10x10, does it mean that there is no way for me to have different for each cell since it exceeds the number of layers?

I’m not certain but I suspect that’s the case.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.