Skip to content

Event GCode for G34 auto-align #27930

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

Merged
merged 9 commits into from
Jun 21, 2025

Conversation

erril007
Copy link
Contributor

@erril007 erril007 commented Jun 19, 2025

Description

This adds custom event gcode before and after G34. I just copied the code bits form the event gcode for G29 and placed them (hopefully) at the right spots inside the G34 loop.
I also expanded the decimal places from the terminal output to 3 digits so the higher accuracy introduced in #26771 is more visible.
And i fixed one little oopsie.

First Time doing this so please be gentle, let me know what i did wrong :)

Requirements

enabled Z_STEPPER_AUTO_ALIGN in Configuration_adv.h

Benefits

being able to execute custom gcode before and after any G34
more decimal places :)

Configurations

no

Related Issues

no

thinkyhead added a commit to MarlinFirmware/Configurations that referenced this pull request Jun 20, 2025
@thinkyhead thinkyhead merged commit 533d752 into MarlinFirmware:bugfix-2.1.x Jun 21, 2025
66 checks passed
@erril007 erril007 deleted the event_gcode_g34 branch June 21, 2025 07:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants