-
-
Notifications
You must be signed in to change notification settings - Fork 19.3k
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
Fix E3 V2 extruder movement when moving other axis #20806
Fix E3 V2 extruder movement when moving other axis #20806
Conversation
Seems to have resolved the issue on the Ender3V2 I am working on. |
The real question is: Why is the E coordinate being reset to 0 by the LCD code at that point? Maybe the E position should be left alone, just as it is left untouched by the reference code (MarlinUI manual move). |
I've posted a followup #20837 to prevent the E position being reset to zero by entering the manual move menu. Instead it just initializes the scaled copy of the E position from the current E position. With that change manual moves should work in the same manner as with the other rotary-knob LCD controllers. Please give it a test to make sure I haven't misplaced any commas…. |
This reverts commit d879853.
Description
The E3 DWIN Motion menu resets E to zero each time the menu is entered, so that extruder movement is relative from 0.0.
The code injected a
G92
command and immediately after setcurrent_position.e
to zero. This caused theG92
code to optimize out any adjustment, sincecurrent_position
already matched the adjusted position.I've changed this to call
sync_plan_position_e
instead of injectingG92
. This code already uses internal calls to perform moves, so it doesn't make sense to use g-code for this when we have an internal call it can easily use.Requirements
Ender 3 V2 DWIN display.
Benefits
No more weird E movement when manually moving other axis.
Configurations
Ender 3 V2 example.
Related Issues
#19944