Put in a 13 point disk option.

This commit is contained in:
Lars Brubaker 2015-08-05 11:12:01 -07:00
parent c558f1cb10
commit b1671feb1d
11 changed files with 252 additions and 5 deletions

View file

@ -1298,6 +1298,14 @@ namespace MatterHackers.MatterControl.PrinterCommunication
}
break;
case PrintLevelingData.LevelingSystem.Probe13PointRadial:
if (levelingData.SampledPositions.Count != 13) // different criteria for what is not initialized
{
LevelWizardBase.ShowPrintLevelWizard(LevelWizardBase.RuningState.InitialStartupCalibration);
return;
}
break;
default:
throw new NotImplementedException();
}
@ -2680,6 +2688,11 @@ namespace MatterHackers.MatterControl.PrinterCommunication
linesToWrite = LevelWizard7PointRadial.ProcessCommand(lineBeingSent);
break;
case PrintLevelingData.LevelingSystem.Probe13PointRadial:
lineBeingSent = LevelWizard13PointRadial.ApplyLeveling(lineBeingSent, currentDestination, movementMode);
linesToWrite = LevelWizard13PointRadial.ProcessCommand(lineBeingSent);
break;
default:
throw new NotImplementedException();
}