SVG: tags/attributes to make Lightburn ignore parts

Hey all,

TL;DR: What do I put into an SVG to make Lightburn ignore a certain part?

Update: After the discussion below, I have posted the suggestion at Support for SVG assigning to layers · LightBurn, hopefully it will get enough attention to get implemented.

This is my first post here, so let me introduce myself. My name is Sybren, I’m a relatively new laser cutter enthousiast, and also professional software developer. Combining my job and my hobby led me to the creation of a Blender add-on to export designs to ready-to-cut SVG files: Flatterer.

For a new feature I’ll make Flatterer put a table of shapes in the SVG, like so:

Of course this table is just for a human to read, and it shouldn’t be imported by Lightburn for laser cutting. Is there any way that will keep the table visible in SVG viewers/editors, but ignored by Lightburn? It would be ok-ish if I could put it into a tool layer, but since the text will be SVG text and not shapes, Lightburn will show only the lines of the table. Having the entire table fully ignored by Lightburn would be ideal.

Cheers,
Sybren

That’s great to hear!

My question is not just about the text, though. It’s about tagging certain parts of the SVG document such that Lightburn ignores it. I’m thinking about something along those lines:

  <g id="layer-annotations" lightburn="ignore">
      ... SVG elements in here, which should be ignored by Lightburn ...
  </g>

In other words: I want to give my SVG exporter the possibility to export content that can be seen by humans but will not be sent to the laser cutter.

As a current solution, could you set these elements to one of the ‘Tool Layer’ colors, so they are visible yet won’t output to the laser? Tool Layers Documentation

I can do that, although it won’t make the text particularly readable when it’s in that colour.

Are there any plans for having a way that doesn’t require colour to set the target layer?

I misspoke. An early version of the Tool Layers had color matching enabled, but has since been removed. It was causing some confusion for users who already assigned those colors in their art.

There is no current way to do this, but it’s feasible. Please visit our Suggestion site and post there, so this idea is captured. Others can then vote the priority up. :slight_smile:

Thanks for the vote of confidence.

I have posted the suggestion at Support for SVG assigning to layers · LightBurn, hopefully it will get enough attention to get implemented.

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