The mm / inches bug still exists from years ago - can someone please look into this?

So,

On every version of Lightburn that I’ve used in any computer over the years, there has been an annoying bug that I’m surprised hasn’t been fixed yet.

The best way to explain it is to provide an example.

Let’s say I make a design in mm. If I use the mm/inches button on the top toolbar to switch the unit of measurement to quickest see some values in inches, and I don’t switch back to mm, the print, even though the values are shown in inches, will result in the printer making the cuts in MM value according to the inches shown. Everything comes out super small.

Here is an example. If I make a box that’s 100mm by 100mm using mm as the default value as always, and I switch the measurement from mm to inches using the button, the new inches values show up as 3.9373in by 3.973in - which makes sense. BUT, if I hit START now, the printer will print the design in 3.973mm x 3.973mm - it’s like it only carries over half of the needed data - odd.

1 Like

Is one of these a typo?


As far as I know, all data is kept internally in mm and clicking the button doesn’t change the stored value only the display value.

One of the Lightburn people would do a better job of explaining or getting someone to fix it, if it is, in fact, a bug. Maybe @Rick can assist some way.

:smiley_cat:

1 Like

Please confirm the version and OS you are using when you experience this. When you can, please provide a sample file showing this behavior and we can use that for testing further. Thanks for reporting. :slight_smile:

2 Likes

Blockquote

Windows - all versions - but this is my current.

I’ve used this workflow literally hundreds of times without issue. I’ve also not seen this mentioned frequently which is what you’d expect for a very common behavior. This makes me think that this is something unique to your configuration that’s prompting this.

Does this occur for all devices or only certain devices? You list an xTool D1 in your profile. Does the issue occur there? If so, what device type do you have configured?

Is this is for a GRBL device, can you run this in Console and return the output?

$I
$$

Otherwise, can you export your device configuration and upload here?

Also, can you save gcode for your design in both mm and inch configuration and upload here?

This is likely due to xTool jank fixed in 2.0:

  • XTool gcode output in mm only (#621)

IIRC, xTool’s G-Code interpreter ignores G20 and knows you really meant to use millimeters, because nobody uses inches these days. LightBurn emits the correct G-Code and xTool fumbles the ball.

If running 2.0 RC5 fixes the problem, that was the problem.

5 Likes