Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
TheLongRunSmoke opened this issue Feb 13, 2024 · 1 comment
Closed
Labels
bug Something isn't working as intended fix is live in the last release Please download /build the last release and try to reproduce.

Comments

@TheLongRunSmoke
Copy link

TheLongRunSmoke commented Feb 13, 2024

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

@supermerill supermerill added the bug Something isn't working as intended label Feb 13, 2024
@supermerill
Copy link
Owner

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

@supermerill supermerill added the fixed for the next version That means that you should be able to test it in the latest nightly build label Feb 13, 2024
supermerill added a commit that referenced this issue Feb 13, 2024
note: will be rewritten into the GcodeFormatter in 2.7.
#4124
@supermerill supermerill added fix is live in the last release Please download /build the last release and try to reproduce. and removed fixed for the next version That means that you should be able to test it in the latest nightly build labels Feb 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working as intended fix is live in the last release Please download /build the last release and try to reproduce.
Projects
None yet
Development

No branches or pull requests

2 participants