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

Incorrect layer number and layer height shown in Preview mode and incorrect M600 placement #4866

Closed
Blom69 opened this issue Oct 13, 2020 · 2 comments

Comments

@Blom69
Copy link

Blom69 commented Oct 13, 2020

Version

Version 2.2.0+win64

Windows 10 build 1809

Prusa i3 clone with Marlin

Behavior

In Preview mode the slider on the right display the incorrect layer number vs what is output to the gcode file in the custom gcode:
; #[layer_num]
; Z=[layer_z]

The layer number shown in the slider is 1 based where the [layer_num] variable is 0 (zero) based.
The layer height shown in the slider does not take any Z offsets into consideration and actually starts at -0.20 (for 0.2 layer setting)

For example, while the slider shows 1.30 (6) the custom gcode mentioned above outputs ; #5 and ; Z=1.9

I use these values to find the correct place to manually add the M600 filament change command.

The option to add a filament change via the slider is even worse affected.

In the above scenario it places the M600 at layer #3 so it is way off.

Other than these two issues I love the software.

@bubnikv
Copy link
Collaborator

bubnikv commented Dec 7, 2020

The layer ID in the G-code is zero based. I don't think this is an issue.

Would you please provide a 3MF to reproduce?

@rtyr
Copy link
Collaborator

rtyr commented Mar 10, 2022

No response. Closing.

@rtyr rtyr closed this as completed Mar 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants