tune.
This commit is contained in:
@@ -34,7 +34,7 @@ namespace Sample.Machining
|
||||
new Cylindroid(new PairZr(-h, 18), new PairZr(0, 18))
|
||||
.GenStl(new PolarResolution2d(1, MathUtil.ToRad(15))).WriteBin(stlFile_CylinderR18);
|
||||
|
||||
SingleUserApp.AppBegin();
|
||||
LocalApp.AppBegin();
|
||||
|
||||
#region ProjectLoading
|
||||
//var projectPath = "C:/HiNC-Projects/DemoStandardPath/Main.hincproj";
|
||||
@@ -72,7 +72,7 @@ namespace Sample.Machining
|
||||
dispEngine.Snapshot($"Cache/result.bmp", 1000, 1000);
|
||||
|
||||
project.Dispose();
|
||||
SingleUserApp.AppEnd();
|
||||
LocalApp.AppEnd();
|
||||
Console.WriteLine($"App exit.");
|
||||
}
|
||||
static void RunWindow(MachiningProject project,
|
||||
@@ -92,7 +92,7 @@ namespace Sample.Machining
|
||||
app.Exit += (o, e) =>
|
||||
{
|
||||
project.Dispose();
|
||||
SingleUserApp.AppEnd();
|
||||
LocalApp.AppEnd();
|
||||
Console.WriteLine($"App exit.");
|
||||
};
|
||||
app.Run(new RenderingWindow()
|
||||
|
||||
Reference in New Issue
Block a user