Size from cad file being reproduced exactly on laser machine

That’s pretty much how it works, assuming whatever program you’re using creates the DXF with the proper information. Some programs don’t get that quite right, in which case you must force LightBurn to use a specific unit:

Apparently one combination interprets the DXF as having inch units when it was scaled in microns, resulting in a LightBurn layout the size of all outdoors. Hilarity ensues:

LightBurn can set up the workspace in either metric or inch units:

Depending on the DXF, you may need to tweak the Auto-close tolerance to join the line segments.