Make sure we turn off print leveling as we are recovering.
This commit is contained in:
parent
98668a9b22
commit
91b6d98e82
2 changed files with 8 additions and 0 deletions
|
|
@ -100,6 +100,8 @@ namespace MatterHackers.MatterControl.PrinterCommunication.Io
|
|||
|
||||
// remove it from the part
|
||||
case RecoveryState.Raising:
|
||||
// We don't know where the printer is for sure (it make have been turned off). Disable leveling until we know where it is.
|
||||
PrintLevelingStream.Enabled = false;
|
||||
queuedCommands.Add("M114 ; get current position");
|
||||
queuedCommands.Add("G91 ; move relative");
|
||||
queuedCommands.Add("G1 Z10 F{0}".FormatWith(MovementControls.ZSpeed));
|
||||
|
|
@ -125,6 +127,8 @@ namespace MatterHackers.MatterControl.PrinterCommunication.Io
|
|||
// home z
|
||||
queuedCommands.Add("G28 Z0");
|
||||
}
|
||||
// We now know where the printer is re-enable print leveling
|
||||
PrintLevelingStream.Enabled = true;
|
||||
recoveryState = RecoveryState.FindingRecoveryLayer;
|
||||
return "";
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue