Closed abbrowna closed 1 year ago
Update: I seem to have found a temporary fix. I commented out line 903 "TEMPORARY_BED_LEVELING_STATE(false); " in tool-change.cpp to prevent it from disabling leveling during toolchange:
#if HAS_LEVELING
// Set current position to the physical position
//TEMPORARY_BED_LEVELING_STATE(false);
#endif
After testing, my two strips are now even. But who knows what can of worms I have opened by changing this.
Another change I did (which I am not sure if it contributed to the fix) is setting TOOLCHANGE_ZRAISE
to 0.
This issue seems to have been fixed, I did not experience nor implement my change when grabbing the latest version of Lux marlin
@abbrowna Thanks for updating and experimenting! Seems like this was a bug within base Marlin.
Describe the bug I have enabled manual mesh bed leveling in the source and generated a mesh using a piece of paper and Gcode commands. (The mesh works great if only printing with E1). E2 is also physically adjusted so that the Z offset with respect to E1 is 0. With mesh bed leveling enabled using![Screenshot 1](https://user-images.githubusercontent.com/25087238/127730875-12325b57-fd9e-4573-8b7e-34e55af9383a.png)
M420 S1
, the blue strip shown in screenshot 1 below is printed by E2 way too close to the bed. While the orange strip printed by E1 is good with level compensation happening.The Gcode generated by prusaslicer for the above scenario, the exact mesh I am using and my modified configuration files are in the attached zip. mesh_Z offset files.zip
To Reproduce
I may have narrowed down the problem to the point of toolchange with the following steps to reproduce.
Notice how the Z position changes during and after tool change. This change is not present if you do not enable the mesh with
M420 S1
Expected behavior I expected the second strip done by E2 to be more or less as tidy as the one done by E1. I expected that after toolchange, the parked Z position of the new tool remains Zero.
Firmware and slicer
Additional context Current eeprom values are as follows: