mirror of
https://github.com/ajisaacs/OpenNest.git
synced 2026-10-27 12:41:06 -04:00
Adds OpenNest.Avalonia, a throwaway Avalonia 11 app kept out of OpenNest.sln, to gauge a Linux port. It reads nests through OpenNest.IO and draws plates with Skia: a port of the desktop's display paths (cuts, etches, manual lead-ins, filled material), pan, cursor zoom, fit, hover and selection, beside a plate list and a drawings DataGrid. --snapshot renders the window to a PNG. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
19 lines
446 B
C#
19 lines
446 B
C#
using System;
|
|
using Avalonia;
|
|
|
|
namespace OpenNest.Avalonia
|
|
{
|
|
internal static class Program
|
|
{
|
|
[STAThread]
|
|
public static void Main(string[] args) =>
|
|
BuildAvaloniaApp().StartWithClassicDesktopLifetime(args);
|
|
|
|
public static AppBuilder BuildAvaloniaApp() =>
|
|
AppBuilder.Configure<App>()
|
|
.UsePlatformDetect()
|
|
.WithInterFont()
|
|
.LogToTrace();
|
|
}
|
|
}
|