supermerill / SuperSlicer

G-code generator for 3D printers (Prusa, Voron, Creality, etc.)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Missing layers when printer Z-offset set to a specific values

TheLongRunSmoke opened this issue · comments

What happened?

Hello. I'm running into this problem, sometimes gcode skips the entire layer. Trace this to a negative Z offset equal to an integer number of layers, such as -0.8mm for a 0.2mm layer height, -0.5mm for a 0.25mm layer height, etc. Seems to be an old problem, but I didn't find any issues related to it.
image

Project file & How to reproduce

  1. Add any model, for example, calibration cube. Calibration->Calibration cube.
  2. Set printer Z-offset to a -*.
  3. Slice.

Version

2.5.59.7

Operating system

Win10

Printer model

No response

Because of rounding, the gcode writer write G1 Z-0 and the gcode viewer doesn't understand that.
fixed, now it will write G1 Z0