From ce86ca15e05da45138d383f574c210c1338d4428 Mon Sep 17 00:00:00 2001 From: LarsBrubaker Date: Sun, 2 Sep 2018 11:51:32 -0700 Subject: [PATCH] If the printer homes down make sure we don't stay there before heating when running calibration issue: MatterHackers/MCCentral#4078 [Calibration Wizards] Printers that home to Z min should move up after homing --- .../PrintLeveling/WizardPages/HomePrinterPage.cs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/ConfigurationPage/PrintLeveling/WizardPages/HomePrinterPage.cs b/ConfigurationPage/PrintLeveling/WizardPages/HomePrinterPage.cs index 283a8c4e8..d2d975d83 100644 --- a/ConfigurationPage/PrintLeveling/WizardPages/HomePrinterPage.cs +++ b/ConfigurationPage/PrintLeveling/WizardPages/HomePrinterPage.cs @@ -30,6 +30,7 @@ either expressed or implied, of the FreeBSD Project. using System; using MatterHackers.Agg.UI; using MatterHackers.MatterControl.PrinterCommunication; +using MatterHackers.MatterControl.SlicerConfiguration; namespace MatterHackers.MatterControl.ConfigurationPage.PrintLeveling { @@ -59,6 +60,12 @@ namespace MatterHackers.MatterControl.ConfigurationPage.PrintLeveling printer.Connection.HomeAxis(PrinterConnection.Axis.XYZ); + if(!printer.Settings.GetValue(SettingsKey.z_homes_to_max)) + { + // move so we don't heat the printer while the nozzle is touching the bed + printer.Connection.MoveAbsolute(PrinterConnection.Axis.Z, 10, printer.Settings.Helpers.ManualMovementSpeeds().Z); + } + if (autoAdvance) { nextButton.Enabled = false;