예제 #1
0
        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);
                }
            }
        }