This commit is contained in:
2025-12-26 14:22:34 +08:00
parent 4ec5309907
commit f74d06f299
18 changed files with 81 additions and 48 deletions
@@ -192,7 +192,8 @@ Host class for HiNC functionality that provides project management, path resolut
</h3>
<div class="markdown level1 summary"></div>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="Hi.HiNcKits.HiNcHost.html">HiNcHost</a> class with a proxy project service.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
@@ -202,7 +203,8 @@ Host class for HiNC functionality that provides project management, path resolut
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>proxyProjectService</code> <a class="xref" href="Hi.MachiningProcs.ProxyProjectService.html">ProxyProjectService</a></dt>
<dd></dd>
<dd><p>The proxy project service to use.</p>
</dd>
</dl>
@@ -457,7 +459,8 @@ Host class for HiNC functionality that provides project management, path resolut
</h3>
<div class="markdown level1 summary"></div>
<div class="markdown level1 summary"><p>Gets the local project service from the proxy project service.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
@@ -488,7 +491,8 @@ Host class for HiNC functionality that provides project management, path resolut
</h3>
<div class="markdown level1 summary"></div>
<div class="markdown level1 summary"><p>Gets the machining project from the local project service.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
@@ -679,7 +683,8 @@ Host class for HiNC functionality that provides project management, path resolut
</h3>
<div class="markdown level1 summary"></div>
<div class="markdown level1 summary"><p>Gets the relative project path from the proxy project service.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
@@ -231,7 +231,8 @@ Class LocalApp
</h3>
<div class="markdown level1 summary"></div>
<div class="markdown level1 summary"><p>Initializes the application with the specified configuration.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
@@ -241,7 +242,8 @@ Class LocalApp
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>localAppConfig</code> <a class="xref" href="Hi.HiNcKits.LocalAppConfig.html">LocalAppConfig</a></dt>
<dd></dd>
<dd><p>The local application configuration.</p>
</dd>
</dl>
@@ -262,7 +264,8 @@ Class LocalApp
</h3>
<div class="markdown level1 summary"></div>
<div class="markdown level1 summary"><p>Initializes the application with the specified database port and cache path.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
@@ -272,9 +275,11 @@ Class LocalApp
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>dbPort</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></dt>
<dd></dd>
<dd><p>The MongoDB port number.</p>
</dd>
<dt><code>cacheDbPath</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
<dd></dd>
<dd><p>The path to the cache database.</p>
</dd>
</dl>
@@ -295,7 +300,8 @@ Class LocalApp
</h3>
<div class="markdown level1 summary"></div>
<div class="markdown level1 summary"><p>Initializes the application with configuration from a file.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
@@ -305,7 +311,8 @@ Class LocalApp
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>hostConfigPath</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
<dd></dd>
<dd><p>Path to the host configuration file. Uses default path if null.</p>
</dd>
</dl>
@@ -428,7 +428,8 @@ When set to true, initializes collision detection mechanism.</p>
</h3>
<div class="markdown level1 summary"></div>
<div class="markdown level1 summary"><p>Gets or sets whether to pause execution on failure.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
@@ -459,7 +460,8 @@ When set to true, initializes collision detection mechanism.</p>
</h3>
<div class="markdown level1 summary"></div>
<div class="markdown level1 summary"><p>Gets or sets whether stroke limit checking is enabled.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
@@ -909,7 +911,8 @@ Updates related components when changed.</p>
</h3>
<div class="markdown level1 summary"></div>
<div class="markdown level1 summary"><p>Gets or sets the machining tool house containing tool configurations.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
@@ -2111,7 +2114,7 @@ Clear the state from previous session (if existed).</p>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>baseDirectory</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
<dd><p>Base directory for resolving relative paths. If the value is null, BaseDirectory substitutes the value.</p>
<dd><p>Base directory for resolving relative paths. If the value is null, <a class="xref" href="Hi.MachiningProcs.MachiningProject.html#Hi_MachiningProcs_MachiningProject_BaseDirectory">BaseDirectory</a> substitutes the value.</p>
</dd>
<dt><code>relFilePath</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
<dd><p>Relative path to the NC file.</p>
@@ -393,7 +393,8 @@ Class MachiningProject
</h3>
<div class="markdown level1 summary"></div>
<div class="markdown level1 summary"><p>Gets or sets the machining tool house containing tool configurations.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
@@ -488,7 +489,8 @@ Class MachiningProject
</h3>
<div class="markdown level1 summary"></div>
<div class="markdown level1 summary"><p>Gets or sets the NC environment settings.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
@@ -3506,7 +3506,8 @@ public IEnumerable&lt;Action&gt; RunNcFile(string relNcFilePath)</code></pre>
</h3>
<div class="markdown level1 summary"></div>
<div class="markdown level1 summary"><p>Gets a new feed per cycle machining motion resolution instance with the specified scale.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
@@ -3517,13 +3518,15 @@ public FeedPerCycleMachiningMotionResolution ScaledFeedPerCycle(double scale)</c
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>scale</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></dt>
<dd></dd>
<dd><p>The scale factor for the resolution.</p>
</dd>
</dl>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="Hi.Numerical.MachiningMotionResolutionUtils.FeedPerCycleMachiningMotionResolution.html">FeedPerCycleMachiningMotionResolution</a></dt>
<dd></dd>
<dd><p>A new <a class="xref" href="Hi.Numerical.MachiningMotionResolutionUtils.FeedPerCycleMachiningMotionResolution.html">FeedPerCycleMachiningMotionResolution</a> instance with the specified scale.</p>
</dd>
</dl>
@@ -205,7 +205,8 @@ Class CsvRunner
<dd><p>The pace player for controlling playback.</p>
</dd>
<dt><code>localProjectService</code> <a class="xref" href="Hi.MachiningProcs.LocalProjectService.html">LocalProjectService</a></dt>
<dd></dd>
<dd><p>The local project service.</p>
</dd>
<dt><code>sessionMessageHost</code> <a class="xref" href="Hi.MachiningProcs.SessionMessageHost.html">SessionMessageHost</a></dt>
<dd><p>The session message host for logging.</p>
</dd>
@@ -238,7 +238,8 @@ Class MachiningProjectGrpcServer
<dd><p>XML source element</p>
</dd>
<dt><code>localProjectService</code> <a class="xref" href="Hi.MachiningProcs.LocalProjectService.html">LocalProjectService</a></dt>
<dd></dd>
<dd><p>The local project service.</p>
</dd>
</dl>
@@ -87,6 +87,13 @@
<article data-uid="">
<h1 id="release-note">Release Note</h1>
<h2 id="hinc-packages-version-31102">HiNc Packages Version 3.1.102</h2>
<ul>
<li>Separate resource files (Resource, wwwroot, Doc) to HiNc-Resource nuget package for smaller package size</li>
<li>Add <a class="xref" href="../../../api/Hi.MachiningProcs.RuntimeApi.html#Hi_MachiningProcs_RuntimeApi_ScaledFeedPerCycle_">ScaledFeedPerCycle</a> function for scaled feed-per-cycle machining motion resolution</li>
<li>Upgrade target framework to .NET 10.0</li>
<li>Various code cleanup and improvements</li>
</ul>
<h2 id="hinc-packages-version-31100">HiNc Packages Version 3.1.100</h2>
<ul>
<li>Refactor project architecture: split runtime functions from <a class="xref" href="../../../api/Hi.MachiningProcs.MachiningProject.html">MachiningProject</a> to <a class="xref" href="../../../api/Hi.MachiningProcs.LocalProjectService.html">LocalProjectService</a> for better separation of concerns</li>
@@ -130,6 +130,8 @@
<ul>
<li><strong>每轉進給</strong>(Feed Per Cycle)
一步為主軸一轉。</li>
<li><strong>縮放每轉進給</strong>(Scaled Feed Per Cycle)
一步為主軸一轉乘以縮放係數。例如縮放係數為0.5時,一步為主軸半轉。</li>
<li><strong>每刃進給</strong>(Feed Per Tooth)
一步為刀刃一轉。</li>
<li><strong>固定解析度</strong>(Fixed Resolution)
@@ -142,6 +144,7 @@
<pre><code class="lang-csharp">MachiningMotionResolution = &lt;運動解析度物件&gt;;
MachiningMotionResolution = FeedPerCycle;
MachiningMotionResolution = ScaledFeedPerCycle(&lt;縮放係數&gt;);
MachiningMotionResolution = FeedPerTooth;
MachiningMotionResolution = FixedPace(&lt;線性解析度(mm)&gt;, &lt;旋轉解析度(deg)&gt;);
</code></pre>
@@ -150,6 +153,7 @@ MachiningMotionResolution = FixedPace(&lt;線性解析度(mm)&gt;, &lt;旋轉解
<h5>Tip</h5>
<p><strong>指令範例</strong></p>
<pre><code class="lang-csharp">MachiningMotionResolution = FeedPerCycle;
MachiningMotionResolution = ScaledFeedPerCycle(0.5);
MachiningMotionResolution = FixedPace(1, 15);
</code></pre>
</div>
File diff suppressed because one or more lines are too long