G-code Decimal Separator Issue in Snapmaker Slicer 2.1.1 with German Locale

Hi,

I’m encountering an issue with Snapmaker Slicer 2.1.1 when using it together with a Snapmaker U1.

When generating G-code on a system with German locale settings, the slicer uses a comma as the decimal separator. This leads to invalid G-code commands and causes the printer to stop with an error.

Problem details:
The slicer outputs commands such as:

SET_PRESSURE_ADVANCE ADVANCE=0,020000

However, the printer firmware expects a dot as the decimal separator. As a result, the machine aborts the print with the following error message:

Error on 'SET_PRESSURE_ADVANCE ADVANCE=0,020000': unable to parse 0,020000

Expected behavior:
The slicer should always use a dot (.) as the decimal separator in generated G-code, regardless of system locale settings.

If needed, I can provide additional logs or test files. Let me know if more information would help.

Thanks!

I checked with the software team—the release going out next Monday or Tuesday will fix the Europe decimal-comma issue, so keep an eye on the update. Snapmaker U1 – Snapmaker

Hello,

problem is solved. Now it works like expected.

Kind regards

1 Like