public async void ArcToLine() { if (Machine.GCodeFileManager.HasValidFile) { var result = await Popups.PromptForDoubleAsync("Convert Line to Arch", Machine.Settings.ArcToLineSegmentLength, "Enter Arc Width", true); if (result.HasValue) { Machine.GCodeFileManager.ArcToLines(result.Value); } } }