supermerill / SuperSlicer

G-code generator for 3D printers (Prusa, Voron, Creality, etc.)
4.13k stars 519 forks source link

Broken G-code generation #3812

Open Rhinohorn58 opened 1 year ago

Rhinohorn58 commented 1 year ago

What happened?

The gcode does not generate correctly.

Screenshot (27) Screenshot (28)

Project file & How to reproduce

Temperature calibration.zip

setting the Gcode precision for xyz and/or Extruder to 0 causes the issue

Version

2.5.59.2 and 2.4.58.5 tested and both have the same "issue"

Operating system

Windows 10 Pro Version 21H1 OS build 19043.1110 Experience Windows Feature Experience Pack 120.2212.3530.0

Printer model

No response

Pavulon87 commented 1 year ago

setting the Gcode precision for xyz and/or Extruder to 0 causes the issue

And what's the problem? Why do you do that? Of course, this is how it will work if you round all the numbers.

G1 X119 Y98 E0 G1 X117 Y101 E0 G1 X116 Y101 E0 G1 X119 Y98 E0 G1 X118 Y98 E0 G1 X116 Y100 E0 G1 X115 Y100 E0 G1 X118 Y98 E0 G1 X117 Y98 E0 G1 X115 Y100 E0 G1 X114 Y100 E0 G1 X116 Y98 E0 G1 X116 Y98 E0 G1 X114 Y100 E0 G1 X114 Y100 E0 G1 X115 Y98 E0 G1 X115 Y98 E0 G1 X113 Y99 E0 G1 X113 Y99 E0 G1 X114 Y98 E0 G1 X114 Y98 E0 G1 X112 Y99 E0 G1 X112 Y99 E0 G1 X113 Y98 E0 G1 X112 Y98 E0 G1 X111 Y99 E0 G1 X111 Y99 E0 G1 X112 Y98 E0 G1 X111 Y98 E0 G1 X110 Y99 E0 G1 X110 Y98 E0

Restore "xyz decimals: 3" and "extruder decimals: 5" and everything will be fine.