tune
This commit is contained in:
@@ -117,10 +117,10 @@
|
||||
<ul>
|
||||
<li>Geom/Box3dControl</li>
|
||||
</ul>
|
||||
<h3 id="web-page-application-source-code-path">Web Page Application Source Code Path</h3>
|
||||
<h3 id="web-service-application-source-code-path">Web Service Application Source Code Path</h3>
|
||||
<ul>
|
||||
<li>wwwroot/geom/box3d-control.js</li>
|
||||
<li>Controller/Geom/GeomController.cs</li>
|
||||
<li>Geom/Box3dHub.cs</li>
|
||||
</ul>
|
||||
|
||||
</article>
|
||||
|
||||
@@ -108,10 +108,10 @@
|
||||
<ul>
|
||||
<li>Geom/CylindroidControl</li>
|
||||
</ul>
|
||||
<h3 id="web-page-application-source-code-path">Web Page Application Source Code Path</h3>
|
||||
<h3 id="web-service-application-source-code-path">Web Service Application Source Code Path</h3>
|
||||
<ul>
|
||||
<li>wwwroot/geom/cylindroid-control.js</li>
|
||||
<li>Controller/Geom/GeomController.cs</li>
|
||||
<li>Geom/CylindroidHub.cs</li>
|
||||
</ul>
|
||||
|
||||
</article>
|
||||
|
||||
+2
-2
@@ -102,10 +102,10 @@
|
||||
<ul>
|
||||
<li>Geom/ExtendedCylinderControl</li>
|
||||
</ul>
|
||||
<h3 id="web-page-application-source-code-path">Web Page Application Source Code Path</h3>
|
||||
<h3 id="web-service-application-source-code-path">Web Service Application Source Code Path</h3>
|
||||
<ul>
|
||||
<li>wwwroot/geom/extended-cylinder-panel.js</li>
|
||||
<li>Controller/Geom/GeomController.cs</li>
|
||||
<li>Geom/ExtendedCylinderHub.cs</li>
|
||||
</ul>
|
||||
|
||||
</article>
|
||||
|
||||
+2
-2
@@ -122,10 +122,10 @@
|
||||
<ul>
|
||||
<li>Geom/GeomCombinationControl</li>
|
||||
</ul>
|
||||
<h3 id="web-page-application-source-code-path">Web Page Application Source Code Path</h3>
|
||||
<h3 id="web-service-application-source-code-path">Web Service Application Source Code Path</h3>
|
||||
<ul>
|
||||
<li>wwwroot/geom/geom-combination-control.js</li>
|
||||
<li>Controller/Geom/GeomController.cs</li>
|
||||
<li>Geom/GeomCombinationHub.cs (to be created)</li>
|
||||
</ul>
|
||||
|
||||
</article>
|
||||
|
||||
@@ -128,10 +128,11 @@
|
||||
<ul>
|
||||
<li>Geom/GeometryManagementPanel</li>
|
||||
</ul>
|
||||
<h3 id="web-page-application-source-code-path">Web Page Application Source Code Path</h3>
|
||||
<h3 id="web-service-application-source-code-path">Web Service Application Source Code Path</h3>
|
||||
<ul>
|
||||
<li>wwwroot/geom/geom-manage-control.js</li>
|
||||
<li>Controller/Geom/GeomController.cs</li>
|
||||
<li>wwwroot/geom/geometry-management-panel.js</li>
|
||||
<li>Geom/GeomHub.cs</li>
|
||||
<li>Geom/GeometryController.cs</li>
|
||||
</ul>
|
||||
|
||||
</article>
|
||||
|
||||
@@ -106,10 +106,11 @@
|
||||
<ul>
|
||||
<li>Geom/RuntimeGeomPanel</li>
|
||||
</ul>
|
||||
<h3 id="web-page-application-source-code-path">Web Page Application Source Code Path</h3>
|
||||
<h3 id="web-service-application-source-code-path">Web Service Application Source Code Path</h3>
|
||||
<ul>
|
||||
<li>wwwroot/geom/runtime-geom-panel.js</li>
|
||||
<li>Controller/Geom/GeomController.cs</li>
|
||||
<li>Geom/RuntimeGeomHub.cs (to be created)</li>
|
||||
<li>Geom/GeometryController.cs</li>
|
||||
</ul>
|
||||
|
||||
</article>
|
||||
|
||||
@@ -107,10 +107,10 @@
|
||||
<ul>
|
||||
<li>Geom/StlFileControl</li>
|
||||
</ul>
|
||||
<h3 id="web-page-application-source-code-path">Web Page Application Source Code Path</h3>
|
||||
<h3 id="web-service-application-source-code-path">Web Service Application Source Code Path</h3>
|
||||
<ul>
|
||||
<li>wwwroot/geom/stlfile-control.js</li>
|
||||
<li>Controller/Geom/GeomController.cs</li>
|
||||
<li>Geom/StlFileHub.cs</li>
|
||||
</ul>
|
||||
|
||||
</article>
|
||||
|
||||
+2
-2
@@ -123,10 +123,10 @@
|
||||
<ul>
|
||||
<li>Geom/TransformationGeomControl</li>
|
||||
</ul>
|
||||
<h3 id="web-page-application-source-code-path">Web Page Application Source Code Path</h3>
|
||||
<h3 id="web-service-application-source-code-path">Web Service Application Source Code Path</h3>
|
||||
<ul>
|
||||
<li>wwwroot/geom/transformation-geom-control.js</li>
|
||||
<li>Controller/Geom/GeomController.cs</li>
|
||||
<li>Geom/TransformationGeomHub.cs (to be created)</li>
|
||||
</ul>
|
||||
|
||||
</article>
|
||||
|
||||
+1
-2
@@ -120,10 +120,9 @@
|
||||
<ul>
|
||||
<li>Geom/PolarResolution2dPanel</li>
|
||||
</ul>
|
||||
<h3 id="web-page-application-source-code-path">Web Page Application Source Code Path</h3>
|
||||
<h3 id="web-service-application-source-code-path">Web Service Application Source Code Path</h3>
|
||||
<ul>
|
||||
<li>wwwroot/widget/polar-resolution-2d-panel.js</li>
|
||||
<li>Controller/Widget/WidgetController.cs</li>
|
||||
</ul>
|
||||
|
||||
</article>
|
||||
|
||||
+7
-4
@@ -152,11 +152,12 @@ execute NC files, and properly manage project resources using
|
||||
|
||||
<h2 id="Sample_Machining_DemoUseMachiningProject_remarks">Remarks</h2>
|
||||
<div class="markdown level0 remarks"><h3 id="source-code">Source Code</h3>
|
||||
<pre><code class="lang-csharp" name="SampleCode">using System;
|
||||
<pre><code class="lang-csharp" name="SampleCode">using Hi.Common.FileLines;
|
||||
using Hi.Common.Messages;
|
||||
using Hi.MachiningProcs;
|
||||
using Hi.Common.FileLines;
|
||||
using Hi.HiNcKits;
|
||||
using Hi.MachiningProcs;
|
||||
using System;
|
||||
using System.IO;
|
||||
|
||||
namespace Sample.Machining
|
||||
{
|
||||
@@ -184,6 +185,8 @@ namespace Sample.Machining
|
||||
|
||||
#region EventHandling
|
||||
Console.WriteLine($"Set message event.");
|
||||
|
||||
using StreamWriter writer = new StreamWriter("msg.txt");
|
||||
//show message if something abnormal.
|
||||
machiningProject.SessionMessageHost.CollectionItemAdded += pack =>
|
||||
{
|
||||
@@ -192,7 +195,7 @@ namespace Sample.Machining
|
||||
pack.Tags.Contains(MessageFlag.Exception.ToString()))
|
||||
{
|
||||
var sourceCommand = pack.SourceCommand;
|
||||
Console.WriteLine($"{pack.Message} At \"{sourceCommand?.FilePath}\" (Line {sourceCommand?.GetLineNo()}) \"{sourceCommand?.Line}\"");
|
||||
writer.WriteLine($"{pack.Message} At \"{sourceCommand?.FilePath}\" (Line {sourceCommand?.GetLineNo()}) \"{sourceCommand?.Line}\"");
|
||||
}
|
||||
};
|
||||
Console.WriteLine($"Set machining step event.");
|
||||
|
||||
Reference in New Issue
Block a user