Variable text shows with test button but does not output in preview or to laser

I’m having an issue with variable text where when i press the “Test” button, the text from my CSV shows, however when i preview or send to the laser, the missing text does not output. The variable text is within an Array and I have created this issue in two different files, one with a standard array and one with a virtual array. In the image attached, you can see the text is being pulled in from the CSV using the test button, but the preview, the text gets cut off.

Any idea on how to fix this?
0.750 X 1.750_2 PLY_REP_.lbrn2 (104.4 KB)
PUMP 1-10.csv (2.8 KB)


Thanks for reporting this, I can see what you mean. I can replicate the issue by creating my own boxes and arrays. After a certain amount, LightBurn appears to be recognizing the array numbers as open shapes, this is the warning message I receive:

There are a few ways to correct this, you can select all of your text and convert it to a path:

After converting to path the preview shows this:

The quickest way is to select Bake from your variable text window, that also makes the preview correct with your file:

1 Like

Thank you for the response and this does get me partially working again. However, in my other use case, I have a standard array where every text needs to be different such as a serial number.
I created another example and played around with the cells in the CSV., see attached.
It appears that LightBurn is reading the cells in the CSV incorrectly. I’ve listed my findings below as well as a screen shot. For %0-%2, It seems to shift the next column down by the count of rows of the previous column until it reaches %3 and then they all stay on the same Row count.

%0 (A1:A19)
%1 (B10:B18)
%2 (C19:C27)
%3 (D28:36)
%4 (E28:36)
%5 (F28:36)
%6 (G28:36)
%7 (H28:36)
%8 (I28:36)
%9 (J28:36)
%10 (K28:36)
%11 (L28:36)
%12 (M28:36)

Can this issue reading the CSV be addressed?

SERIAL.csv (1.2 KB)
0.750 X 1.750_2 PLY_SER2.lbrn2 (509.1 KB)

If you click on any of the text items in the left-most column and look at their “Offset” value, the upper-left entry (%0) has an offset of zero. The next line down is an offset of 9, then 18, then 27 for the rest of them.

This means that most entries are pulling from line 27 in the CSV file or greater, and you have the “Auto-increment” toggle enabled, so as the variable text items are processed from left to right, that offset is incremented, meaning the 2nd item pulls from line 28 of the CSV file, then the next from line 29, and so on.

Since you only have 30 lines in the CSV, most of those entries end up blank, and that’s why the text disappears. If you turn off the ‘Auto increment’ I suspect it’ll be what you’re expecting.

I did find a bug in the code that we use for editing the virtual arrays after the fact, so that has been fixed.

The “open shapes” warning was being triggered because of the text evaluating to nothing - it was creating shapes that had no content, so I’ve removed those which will prevent that warning from popping up too.

1 Like