This commit is contained in:
2025-10-01 15:57:54 +08:00
parent 627b6b2ad3
commit ef1af3544e
31 changed files with 105 additions and 146 deletions
@@ -560,38 +560,6 @@ Uses the default MongoDB connection.</p>
<a id="Hi_MachiningProcs_MachiningProject_DispCacheMb_" data-uid="Hi.MachiningProcs.MachiningProject.DispCacheMb*"></a>
<h3 id="Hi_MachiningProcs_MachiningProject_DispCacheMb" data-uid="Hi.MachiningProcs.MachiningProject.DispCacheMb">
DispCacheMb
</h3>
<div class="markdown level1 summary"><p>Gets or sets the display cache size in megabytes.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static long DispCacheMb { get; set; }</code></pre>
</div>
<h4 class="section">Property Value</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int64">long</a></dt>
<dd></dd>
</dl>
<a id="Hi_MachiningProcs_MachiningProject_EnableCollisionDetection_" data-uid="Hi.MachiningProcs.MachiningProject.EnableCollisionDetection*"></a>
<h3 id="Hi_MachiningProcs_MachiningProject_EnableCollisionDetection" data-uid="Hi.MachiningProcs.MachiningProject.EnableCollisionDetection">
@@ -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>
@@ -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>
@@ -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>
@@ -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>
@@ -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>
@@ -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($&quot;Set message event.&quot;);
using StreamWriter writer = new StreamWriter(&quot;msg.txt&quot;);
//show message if something abnormal.
machiningProject.SessionMessageHost.CollectionItemAdded += pack =&gt;
{
@@ -192,7 +195,7 @@ namespace Sample.Machining
pack.Tags.Contains(MessageFlag.Exception.ToString()))
{
var sourceCommand = pack.SourceCommand;
Console.WriteLine($&quot;{pack.Message} At \&quot;{sourceCommand?.FilePath}\&quot; (Line {sourceCommand?.GetLineNo()}) \&quot;{sourceCommand?.Line}\&quot;&quot;);
writer.WriteLine($&quot;{pack.Message} At \&quot;{sourceCommand?.FilePath}\&quot; (Line {sourceCommand?.GetLineNo()}) \&quot;{sourceCommand?.Line}\&quot;&quot;);
}
};
Console.WriteLine($&quot;Set machining step event.&quot;);
File diff suppressed because one or more lines are too long
-13
View File
@@ -77751,19 +77751,6 @@ references:
isSpec: "True"
fullName: Hi.MachiningProcs.MachiningProject.DictionaryColorGuide
nameWithType: MachiningProject.DictionaryColorGuide
- uid: Hi.MachiningProcs.MachiningProject.DispCacheMb
name: DispCacheMb
href: api/Hi.MachiningProcs.MachiningProject.html#Hi_MachiningProcs_MachiningProject_DispCacheMb
commentId: P:Hi.MachiningProcs.MachiningProject.DispCacheMb
fullName: Hi.MachiningProcs.MachiningProject.DispCacheMb
nameWithType: MachiningProject.DispCacheMb
- uid: Hi.MachiningProcs.MachiningProject.DispCacheMb*
name: DispCacheMb
href: api/Hi.MachiningProcs.MachiningProject.html#Hi_MachiningProcs_MachiningProject_DispCacheMb_
commentId: Overload:Hi.MachiningProcs.MachiningProject.DispCacheMb
isSpec: "True"
fullName: Hi.MachiningProcs.MachiningProject.DispCacheMb
nameWithType: MachiningProject.DispCacheMb
- uid: Hi.MachiningProcs.MachiningProject.Dispose
name: Dispose()
href: api/Hi.MachiningProcs.MachiningProject.html#Hi_MachiningProcs_MachiningProject_Dispose