Import multiple DXF alignement issue

Hi,
I’m trying to import 2 dxf, one for cutting adn one for engraving.
But when I import both file they are not aligned.
Both files are using the same coordiante origin.
But they don’t have the same size. Lightburn is centering the bounding box of each file. so the 2 file are not aligned together.

Also is there an option to directly import in a specific layer (one for cutting and one for engraving) ?

LightBurn uses colours to determine which layer to place imported graphics on. Unfortunately DXF (and DWG) files use a colour index with specific fixed RGB values which don’t exactly correspond to the LB layer colours, so LB will find the closest colour match to determine which layer to put something on. I put together a DXF to LB colour map (see below). I think I checked all of them but I can’t guarantee anything!

ACAD ColorIndex # ACAD Hex LB Layer
0 000000 C00
5 0000FF C01
1 FF0000 C02
3 00FF00 C03
52 BDBD00 C04
30 FF7F00 C05 & T1
4 00FFFF C06
6 FF00FF C07
254 BEBEBE C08
172 0000BD C09
12 BD0000 C10
92 00BD00 C11
42 BD8D00 C12 & C13
140 00BFFF C14
202 8D00BD C15
9 808080 C16
163 7E8DBD C17
13 BD7E7E C18
173 7E7EBD C19
232 BD005E C20
83 8DBD7E C21
21 FFBFAA C22
221 FFAAEA C23
231 FFAAD4 C24
206 4E0068 C25
32 BD5E00 C26
138 004F4F C27
91 AAFFAA C28
31 FFD4AA C29
142 008DBD T2

Hope this helps.

Thanks for that.
unfortunatly my export don’t allow me to created multiple color. But I’ll check if I find a tool to change the color of a DXF file.

The alignment issue is a bit a of pain. I’ve added a specific form that I align between my layers. This work. but it’s an extra step.

What software are you using to create your DXF?

It’s Kicad.

Ok, yes, I think you’re pretty limited with your options there :frowning:

Maybe you can open the DXF in Inkscape to tweak it.

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