This commit is contained in:
iamboss 2025-12-26 14:22:34 +08:00
parent 4ec5309907
commit f74d06f299
18 changed files with 81 additions and 48 deletions

View File

@ -12,8 +12,8 @@
"AvalonEdit": "6.3.0.90", "AvalonEdit": "6.3.0.90",
"FontAwesome.Sharp": "6.3.0", "FontAwesome.Sharp": "6.3.0",
"Hi.WpfPlus": "3.1.88", "Hi.WpfPlus": "3.1.88",
"HiNc": "3.1.102", "HiNc": "3.1.103",
"HiNc-Resource": "3.1.2", "HiNc-Resource": "3.1.3",
"runtimepack.Microsoft.NETCore.App.Runtime.win-x64": "10.0.1", "runtimepack.Microsoft.NETCore.App.Runtime.win-x64": "10.0.1",
"runtimepack.Microsoft.WindowsDesktop.App.Runtime.win-x64": "10.0.1", "runtimepack.Microsoft.WindowsDesktop.App.Runtime.win-x64": "10.0.1",
"runtimepack.Microsoft.AspNetCore.App.Runtime.win-x64": "10.0.1" "runtimepack.Microsoft.AspNetCore.App.Runtime.win-x64": "10.0.1"
@ -1779,7 +1779,7 @@
} }
} }
}, },
"HiNc/3.1.102": { "HiNc/3.1.103": {
"dependencies": { "dependencies": {
"Google.Protobuf": "3.28.3", "Google.Protobuf": "3.28.3",
"Grpc.AspNetCore": "2.66.0", "Grpc.AspNetCore": "2.66.0",
@ -1790,8 +1790,8 @@
}, },
"runtime": { "runtime": {
"lib/net10.0/HiNc.dll": { "lib/net10.0/HiNc.dll": {
"assemblyVersion": "3.1.102.0", "assemblyVersion": "3.1.103.0",
"fileVersion": "3.1.102.0" "fileVersion": "3.1.103.0"
} }
}, },
"resources": { "resources": {
@ -1803,11 +1803,11 @@
} }
} }
}, },
"HiNc-Resource/3.1.2": { "HiNc-Resource/3.1.3": {
"runtime": { "runtime": {
"lib/net10.0/HiNc-Resource.dll": { "lib/net10.0/HiNc-Resource.dll": {
"assemblyVersion": "3.1.2.0", "assemblyVersion": "3.1.3.0",
"fileVersion": "3.1.2.0" "fileVersion": "3.1.3.0"
} }
} }
}, },
@ -2233,19 +2233,19 @@
"path": "himech/3.1.95", "path": "himech/3.1.95",
"hashPath": "himech.3.1.95.nupkg.sha512" "hashPath": "himech.3.1.95.nupkg.sha512"
}, },
"HiNc/3.1.102": { "HiNc/3.1.103": {
"type": "package", "type": "package",
"serviceable": true, "serviceable": true,
"sha512": "sha512-PRZx1RQIPOimbKz8eoZE6OCkMxjZuMrfq0w7BeRqPSqenaIpO2qcsrXZXwM+gWJYreiWA1f0CBHxHqCWlSssGw==", "sha512": "sha512-/nzPuZ8WBhVo14I6dISPdjFS/JHxL6H8y4SEBDmcwoy19nG/waBREPmE63XI6hl7k7lP6L6qFp/hyidAJ7gO2w==",
"path": "hinc/3.1.102", "path": "hinc/3.1.103",
"hashPath": "hinc.3.1.102.nupkg.sha512" "hashPath": "hinc.3.1.103.nupkg.sha512"
}, },
"HiNc-Resource/3.1.2": { "HiNc-Resource/3.1.3": {
"type": "package", "type": "package",
"serviceable": true, "serviceable": true,
"sha512": "sha512-vUcyvPIsuq2dRWtjziePO6IjmlW19JD84T+f++lRoRF6Ao7EYOT73cwOMgFQmXkxBbH19Zt+XRSIqDO7nmuEBw==", "sha512": "sha512-3fcZThGZggPPuimN7nYAin4PqkqGVHzT+i3gmaeHECuEOY1anDKctEkXbHl5IsM1Yed0SdacVbW3v66oyhsnNg==",
"path": "hinc-resource/3.1.2", "path": "hinc-resource/3.1.3",
"hashPath": "hinc-resource.3.1.2.nupkg.sha512" "hashPath": "hinc-resource.3.1.3.nupkg.sha512"
}, },
"HiUniNc/3.1.92": { "HiUniNc/3.1.92": {
"type": "package", "type": "package",

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -192,7 +192,8 @@ Host class for HiNC functionality that provides project management, path resolut
</h3> </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="markdown level1 conceptual"></div>
<div class="codewrapper"> <div class="codewrapper">
@ -202,7 +203,8 @@ Host class for HiNC functionality that provides project management, path resolut
<h4 class="section">Parameters</h4> <h4 class="section">Parameters</h4>
<dl class="parameters"> <dl class="parameters">
<dt><code>proxyProjectService</code> <a class="xref" href="Hi.MachiningProcs.ProxyProjectService.html">ProxyProjectService</a></dt> <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> </dl>
@ -457,7 +459,8 @@ Host class for HiNC functionality that provides project management, path resolut
</h3> </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="markdown level1 conceptual"></div>
<div class="codewrapper"> <div class="codewrapper">
@ -488,7 +491,8 @@ Host class for HiNC functionality that provides project management, path resolut
</h3> </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="markdown level1 conceptual"></div>
<div class="codewrapper"> <div class="codewrapper">
@ -679,7 +683,8 @@ Host class for HiNC functionality that provides project management, path resolut
</h3> </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="markdown level1 conceptual"></div>
<div class="codewrapper"> <div class="codewrapper">

View File

@ -231,7 +231,8 @@ Class LocalApp
</h3> </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="markdown level1 conceptual"></div>
<div class="codewrapper"> <div class="codewrapper">
@ -241,7 +242,8 @@ Class LocalApp
<h4 class="section">Parameters</h4> <h4 class="section">Parameters</h4>
<dl class="parameters"> <dl class="parameters">
<dt><code>localAppConfig</code> <a class="xref" href="Hi.HiNcKits.LocalAppConfig.html">LocalAppConfig</a></dt> <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> </dl>
@ -262,7 +264,8 @@ Class LocalApp
</h3> </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="markdown level1 conceptual"></div>
<div class="codewrapper"> <div class="codewrapper">
@ -272,9 +275,11 @@ Class LocalApp
<h4 class="section">Parameters</h4> <h4 class="section">Parameters</h4>
<dl class="parameters"> <dl class="parameters">
<dt><code>dbPort</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></dt> <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> <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> </dl>
@ -295,7 +300,8 @@ Class LocalApp
</h3> </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="markdown level1 conceptual"></div>
<div class="codewrapper"> <div class="codewrapper">
@ -305,7 +311,8 @@ Class LocalApp
<h4 class="section">Parameters</h4> <h4 class="section">Parameters</h4>
<dl class="parameters"> <dl class="parameters">
<dt><code>hostConfigPath</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt> <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> </dl>

View File

@ -428,7 +428,8 @@ When set to true, initializes collision detection mechanism.</p>
</h3> </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="markdown level1 conceptual"></div>
<div class="codewrapper"> <div class="codewrapper">
@ -459,7 +460,8 @@ When set to true, initializes collision detection mechanism.</p>
</h3> </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="markdown level1 conceptual"></div>
<div class="codewrapper"> <div class="codewrapper">
@ -909,7 +911,8 @@ Updates related components when changed.</p>
</h3> </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="markdown level1 conceptual"></div>
<div class="codewrapper"> <div class="codewrapper">
@ -2111,7 +2114,7 @@ Clear the state from previous session (if existed).</p>
<h4 class="section">Parameters</h4> <h4 class="section">Parameters</h4>
<dl class="parameters"> <dl class="parameters">
<dt><code>baseDirectory</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt> <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> </dd>
<dt><code>relFilePath</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt> <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> <dd><p>Relative path to the NC file.</p>

View File

@ -393,7 +393,8 @@ Class MachiningProject
</h3> </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="markdown level1 conceptual"></div>
<div class="codewrapper"> <div class="codewrapper">
@ -488,7 +489,8 @@ Class MachiningProject
</h3> </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="markdown level1 conceptual"></div>
<div class="codewrapper"> <div class="codewrapper">

View File

@ -3506,7 +3506,8 @@ public IEnumerable&lt;Action&gt; RunNcFile(string relNcFilePath)</code></pre>
</h3> </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="markdown level1 conceptual"></div>
<div class="codewrapper"> <div class="codewrapper">
@ -3517,13 +3518,15 @@ public FeedPerCycleMachiningMotionResolution ScaledFeedPerCycle(double scale)</c
<h4 class="section">Parameters</h4> <h4 class="section">Parameters</h4>
<dl class="parameters"> <dl class="parameters">
<dt><code>scale</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></dt> <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> </dl>
<h4 class="section">Returns</h4> <h4 class="section">Returns</h4>
<dl class="parameters"> <dl class="parameters">
<dt><a class="xref" href="Hi.Numerical.MachiningMotionResolutionUtils.FeedPerCycleMachiningMotionResolution.html">FeedPerCycleMachiningMotionResolution</a></dt> <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> </dl>

View File

@ -205,7 +205,8 @@ Class CsvRunner
<dd><p>The pace player for controlling playback.</p> <dd><p>The pace player for controlling playback.</p>
</dd> </dd>
<dt><code>localProjectService</code> <a class="xref" href="Hi.MachiningProcs.LocalProjectService.html">LocalProjectService</a></dt> <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> <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><p>The session message host for logging.</p>
</dd> </dd>

View File

@ -238,7 +238,8 @@ Class MachiningProjectGrpcServer
<dd><p>XML source element</p> <dd><p>XML source element</p>
</dd> </dd>
<dt><code>localProjectService</code> <a class="xref" href="Hi.MachiningProcs.LocalProjectService.html">LocalProjectService</a></dt> <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> </dl>

View File

@ -87,6 +87,13 @@
<article data-uid=""> <article data-uid="">
<h1 id="release-note">Release Note</h1> <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> <h2 id="hinc-packages-version-31100">HiNc Packages Version 3.1.100</h2>
<ul> <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> <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>

View File

@ -130,6 +130,8 @@
<ul> <ul>
<li><strong>每轉進給</strong>(Feed Per Cycle) <li><strong>每轉進給</strong>(Feed Per Cycle)
一步為主軸一轉。</li> 一步為主軸一轉。</li>
<li><strong>縮放每轉進給</strong>(Scaled Feed Per Cycle)
一步為主軸一轉乘以縮放係數。例如縮放係數為0.5時,一步為主軸半轉。</li>
<li><strong>每刃進給</strong>(Feed Per Tooth) <li><strong>每刃進給</strong>(Feed Per Tooth)
一步為刀刃一轉。</li> 一步為刀刃一轉。</li>
<li><strong>固定解析度</strong>(Fixed Resolution) <li><strong>固定解析度</strong>(Fixed Resolution)
@ -142,6 +144,7 @@
<pre><code class="lang-csharp">MachiningMotionResolution = &lt;運動解析度物件&gt;; <pre><code class="lang-csharp">MachiningMotionResolution = &lt;運動解析度物件&gt;;
MachiningMotionResolution = FeedPerCycle; MachiningMotionResolution = FeedPerCycle;
MachiningMotionResolution = ScaledFeedPerCycle(&lt;縮放係數&gt;);
MachiningMotionResolution = FeedPerTooth; MachiningMotionResolution = FeedPerTooth;
MachiningMotionResolution = FixedPace(&lt;線性解析度(mm)&gt;, &lt;旋轉解析度(deg)&gt;); MachiningMotionResolution = FixedPace(&lt;線性解析度(mm)&gt;, &lt;旋轉解析度(deg)&gt;);
</code></pre> </code></pre>
@ -150,6 +153,7 @@ MachiningMotionResolution = FixedPace(&lt;線性解析度(mm)&gt;, &lt;旋轉解
<h5>Tip</h5> <h5>Tip</h5>
<p><strong>指令範例</strong></p> <p><strong>指令範例</strong></p>
<pre><code class="lang-csharp">MachiningMotionResolution = FeedPerCycle; <pre><code class="lang-csharp">MachiningMotionResolution = FeedPerCycle;
MachiningMotionResolution = ScaledFeedPerCycle(0.5);
MachiningMotionResolution = FixedPace(1, 15); MachiningMotionResolution = FixedPace(1, 15);
</code></pre> </code></pre>
</div> </div>

File diff suppressed because one or more lines are too long

Binary file not shown.

Binary file not shown.