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

added relative offset correction #15

Merged
merged 2 commits into from
Jan 27, 2024

Conversation

andremalenfant
Copy link
Contributor

The plugin assumes that the z_offset on the printer config is at 0. By the way, this is not documented and I think that is why there are a lot of posts with errors on Issue 5.

With these changes, the configured offset is considered and the calculated z_offset not is relative to the current configured z_offset, thus enabling to refine the z_offset.

Take the code with a grain of salt. I did not want to restructure anything and so, it might not be the best way to do it.

@Anonoei Anonoei merged commit 88b056a into Anonoei:main Jan 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants