DXF import units (scale) issue

Hi there!

I can’t figure what units are used when Luban imports a dxf for laser engraving…

Image designed in Autocad in millimeters (~150mm width)
imports as 20x10mm image to Luban.

I don’t want to scale it manually as I import it to Luban. I’m sure there is a logical explanation for this.

Thanks

I expect it’s the same bug in Luban that causes SVG files to be improperly scaled on import:

You can use a version of Luban from before the bug cropped up (although you lose some other fixes that way) or switch to Lightburn to generate gcode for laser work.

Thanks, I’ve seen that post but hoped that was only the case for SVG… I’ll try Lightburn.

Same for me. Trying to import DXF file into Luban Version 3.13.1 (3.13.1.1398) and it turns out at different scale (about 7.3 : 1).

On Github (open source platform) there is a ticket for this problem: [BUG] Wrong scaling of DXF drawings version issue from 3.9 - 3.12.3 · Issue #632 · Snapmaker/Luban · GitHub
I did a bit of source code analysis and added a comment there. Hopefully this will help to fix the issue.

BTW: If you need to fix the width in Luban you should actually put in 2 mm more than your original dxf object width because Luban is adding a 1mm border to it when importing.

Hi,
Has there been any further progress towards a solution on this?
I was hoping Lucan 4.0 would have a fix, but I’m seeing the same scaling issue when opening DXF files.