.ai import on wrong layers

Hi all, Just opened an .ai file on lightburn that is made up of 21 different shapes I had saved to my Illustrator library. 8 of them opened correctly, 13 with the engrave layer moved to a different layer. All 21 were made tonight in a batch and should be without differences, especially given the first 10 I made in a batch, leading me to believe the error would be on all 10 if my issue was in Illustrator.

Pic attached. The top left has correctly imported shapes (8 groups of 5 shapes) The pink lines were manual guide lines and will not be engraved or cut. The blue lines are the engrave layer. Black is cut. as you can see most of the blue has moved to the pink layer. Top right is where I manually changed some back to the correct layer but I really should learn the cause of this issue.

Anyone got any insights?
Cheers all

Can you attach your .ai and LB files so we can take a look? You might need to append a ā€˜.txt’ to the Illustrator file name (so it reads .ai.txt) so the forum doesn’t reject it.

your problem may be due to how Lightburn converts colours.

this is the link to the Lightburn colour chart
This is where you will find links to the .ase files you need to import the Lightburn colour palette into AI.

1 Like

That’s what I’m thinking, hence my request for the files so I could check.

Thanks for the replies! I was working on uploading a file and got distracted by the swatch comment, I’ve uploaded the lightburn .ase file and assigned what I believed to be the correct colours, (similar looking colours but the correct numbered colour for certain) and its imported differently. As per this pic, the shape I updated colours for was 2nd from the top on the right. Its also somehow changed the colours of the shape below it too though which I never edited. And bizarelly its picked colours I didn’t pick. I selected what I thought to be 00, 06, 07 but its selected 15, 27,28

Here are the files
(removed for now)

Ok, best I can tell, none of the colours match any colours in the Lightburn palette. The red used in the upper right is pure magenta and the blue is pure Cyan.

Hmm, but the test I just did was after I uploaded the lightburn .ase file. Shouldn’t it at least select the correct layers on that one?
Pic showing the 2nd swatch which is the lightburn one, and my effort to select 07, which is importing as 15

Okay,
I don’t use Adobe so i opened the file in Affinity Designer. I edited the colours to the Lightburn Palette colors 00, 05, & 06. I couldn’t save it as an .ai file so I saved it as a .pdf.
I did manage to get it to work so the file is ok, it just needs the colours fixed. here is the file i saved.
(removed at the request of the OP)

There may be a bug that isn’t letting Lightburn render the .ai file correctly. Try exporting it as a .pdf. I used Affinity’s PDF digital-high Quality preset and it worked fine.

Great tips. Thanks for the help! I’ll give it a go and let you know the result

Would you like for me to delete the copy of your file I reposted?

Oh yes please. thanks :slight_smile:

I was hoping to be able to open your .ai file in CorelDraw but it just hangs. Anyway, I was able to open it in Affinity Designer. What I found is that some entities had a fill colour (which I believe is ignored by LB) and no stroke colour (so I think LB probably places these on the currently selected layer. Other entities which have the same geometry have different colours assigned to them. To make it easier to see I’ve separated each of the differently coloured entities out onto separate pages of the attached pdf.

Hope this helps.
FILE REMOVED AT REQUEST OF OP
EDIT:
Ok, looks like I cross-posted with @Rob_H on this (although I didn’t fix it, I just highlighted the discrepancies).

Thanks very much Marcus, definitely looking over your file too.
Could you please remove the file too now that i’ve downloaded it?

Ok, done that.

1 Like

[quote=ā€œMarcus_Wakefield, post:14, topic:125534ā€]
What I found is that some entities had a fill colour (which I believe is ignored by LB) and no stroke colour
[/quote].
Ah. This. I did not know that! Strange how it can handle it on smaller files I’ve been working on, and for a large chunk of this file. Its weird that its not a consistent error. yet, ill try redesigning my files with no fill colours.

I did actually manage to export as .svg and get a good result a few moments ago. Only adds 1 step to my process, and may be faster than redesigning everything with no fill.

Ok, so I’ve just performed a quick test and it would appear that LB will use the fill colour in preference to the stroke colour if present. If there is no fill colour LB will use the stroke colour.

Got it.
So, if I export my file as .svg, and import that to LB, it won’t work as it puts everything on 1 layer. If I save as an .svg, and open in lightburn, its arriving on the layers its meant to. Strange! so its an issue with .ai files only

My last test (quoted above) was using the CorelDraw LB macro which uses .ai as an intermediate. I’m not sure about svg. I haven’t got time to test svg right now as I’m about to go out for a couple of hours.

EDIT:
Right, I’ve managed to squeeze in a quick test.

I created three squares in Corel:

This is how they look when imported into LB:

The top row is the result of importing an svg exported from Corel, and the the bottom row is the result of using the Corel LB macro.

There’s a clear difference between the two.