This commit is contained in:
iamboss 2025-12-06 02:38:22 +08:00
parent 9de88d2db0
commit 8e6a52be15
28 changed files with 204 additions and 176 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -11,8 +11,8 @@
"dependencies": { "dependencies": {
"AvalonEdit": "6.3.0.90", "AvalonEdit": "6.3.0.90",
"FontAwesome.Sharp": "6.3.0", "FontAwesome.Sharp": "6.3.0",
"Hi.Wpf": "3.1.65", "Hi.Wpf": "3.1.66",
"HiNc": "3.1.86", "HiNc": "3.1.87",
"runtimepack.Microsoft.NETCore.App.Runtime.win-x64": "9.0.11", "runtimepack.Microsoft.NETCore.App.Runtime.win-x64": "9.0.11",
"runtimepack.Microsoft.WindowsDesktop.App.Runtime.win-x64": "9.0.11", "runtimepack.Microsoft.WindowsDesktop.App.Runtime.win-x64": "9.0.11",
"runtimepack.Microsoft.AspNetCore.App.Runtime.win-x64": "9.0.11" "runtimepack.Microsoft.AspNetCore.App.Runtime.win-x64": "9.0.11"
@ -1600,39 +1600,39 @@
} }
} }
}, },
"Hi.Wpf/3.1.65": { "Hi.Wpf/3.1.66": {
"dependencies": { "dependencies": {
"HiDisp": "3.1.70" "HiDisp": "3.1.71"
}, },
"runtime": { "runtime": {
"lib/net9.0-windows7.0/Hi.Wpf.dll": { "lib/net9.0-windows7.0/Hi.Wpf.dll": {
"assemblyVersion": "3.1.65.0", "assemblyVersion": "3.1.66.0",
"fileVersion": "3.1.65.0" "fileVersion": "3.1.66.0"
} }
} }
}, },
"HiCbtr/3.1.70": { "HiCbtr/3.1.71": {
"dependencies": { "dependencies": {
"HiDisp": "3.1.70" "HiDisp": "3.1.71"
}, },
"runtime": { "runtime": {
"lib/net9.0/HiCbtr.dll": { "lib/net9.0/HiCbtr.dll": {
"assemblyVersion": "3.1.70.0", "assemblyVersion": "3.1.71.0",
"fileVersion": "3.1.70.0" "fileVersion": "3.1.71.0"
} }
} }
}, },
"HiDisp/3.1.70": { "HiDisp/3.1.71": {
"dependencies": { "dependencies": {
"HiGeom": "3.1.65", "HiGeom": "3.1.66",
"System.Configuration.ConfigurationManager": "10.0.0", "System.Configuration.ConfigurationManager": "10.0.0",
"System.Drawing.Common": "10.0.0", "System.Drawing.Common": "10.0.0",
"System.Resources.Extensions": "10.0.0" "System.Resources.Extensions": "10.0.0"
}, },
"runtime": { "runtime": {
"lib/net9.0/HiDisp.dll": { "lib/net9.0/HiDisp.dll": {
"assemblyVersion": "3.1.70.0", "assemblyVersion": "3.1.71.0",
"fileVersion": "3.1.70.0" "fileVersion": "3.1.71.0"
} }
}, },
"native": { "native": {
@ -1647,7 +1647,7 @@
} }
} }
}, },
"HiGeom/3.1.65": { "HiGeom/3.1.66": {
"dependencies": { "dependencies": {
"Google.Protobuf": "3.28.3", "Google.Protobuf": "3.28.3",
"Grpc.AspNetCore": "2.66.0", "Grpc.AspNetCore": "2.66.0",
@ -1658,8 +1658,8 @@
}, },
"runtime": { "runtime": {
"lib/net9.0/HiGeom.dll": { "lib/net9.0/HiGeom.dll": {
"assemblyVersion": "3.1.65.0", "assemblyVersion": "3.1.66.0",
"fileVersion": "3.1.65.0" "fileVersion": "3.1.66.0"
} }
}, },
"resources": { "resources": {
@ -1671,27 +1671,27 @@
} }
} }
}, },
"HiLicense/3.1.65": { "HiLicense/3.1.66": {
"dependencies": { "dependencies": {
"HiGeom": "3.1.65" "HiGeom": "3.1.66"
}, },
"runtime": { "runtime": {
"lib/net9.0/HiLicense.dll": { "lib/net9.0/HiLicense.dll": {
"assemblyVersion": "3.1.65.0", "assemblyVersion": "3.1.66.0",
"fileVersion": "3.1.65.0" "fileVersion": "3.1.66.0"
} }
} }
}, },
"HiMech/3.1.77": { "HiMech/3.1.78": {
"dependencies": { "dependencies": {
"CommandLineParser": "2.9.1", "CommandLineParser": "2.9.1",
"HiCbtr": "3.1.70", "HiCbtr": "3.1.71",
"Microsoft.CodeAnalysis.CSharp.Scripting": "5.0.0" "Microsoft.CodeAnalysis.CSharp.Scripting": "5.0.0"
}, },
"runtime": { "runtime": {
"lib/net9.0/HiMech.dll": { "lib/net9.0/HiMech.dll": {
"assemblyVersion": "3.1.77.0", "assemblyVersion": "3.1.78.0",
"fileVersion": "3.1.77.0" "fileVersion": "3.1.78.0"
} }
}, },
"resources": { "resources": {
@ -1706,20 +1706,20 @@
} }
} }
}, },
"HiNc/3.1.86": { "HiNc/3.1.87": {
"dependencies": { "dependencies": {
"Google.Protobuf": "3.28.3", "Google.Protobuf": "3.28.3",
"Grpc.AspNetCore": "2.66.0", "Grpc.AspNetCore": "2.66.0",
"Grpc.Net.Client": "2.66.0", "Grpc.Net.Client": "2.66.0",
"HiLicense": "3.1.65", "HiLicense": "3.1.66",
"HiMech": "3.1.77", "HiMech": "3.1.78",
"HiUniNc": "3.1.74", "HiUniNc": "3.1.75",
"System.IO.Pipelines": "10.0.0" "System.IO.Pipelines": "10.0.0"
}, },
"runtime": { "runtime": {
"lib/net9.0/HiNc.dll": { "lib/net9.0/HiNc.dll": {
"assemblyVersion": "3.1.86.0", "assemblyVersion": "3.1.87.0",
"fileVersion": "3.1.86.0" "fileVersion": "3.1.87.0"
} }
}, },
"resources": { "resources": {
@ -1731,14 +1731,14 @@
} }
} }
}, },
"HiUniNc/3.1.74": { "HiUniNc/3.1.75": {
"dependencies": { "dependencies": {
"HiMech": "3.1.77" "HiMech": "3.1.78"
}, },
"runtime": { "runtime": {
"lib/net9.0/HiUniNc.dll": { "lib/net9.0/HiUniNc.dll": {
"assemblyVersion": "3.1.74.0", "assemblyVersion": "3.1.75.0",
"fileVersion": "3.1.74.0" "fileVersion": "3.1.75.0"
} }
} }
}, },
@ -2219,61 +2219,61 @@
"path": "grpc.net.common/2.66.0", "path": "grpc.net.common/2.66.0",
"hashPath": "grpc.net.common.2.66.0.nupkg.sha512" "hashPath": "grpc.net.common.2.66.0.nupkg.sha512"
}, },
"Hi.Wpf/3.1.65": { "Hi.Wpf/3.1.66": {
"type": "package", "type": "package",
"serviceable": true, "serviceable": true,
"sha512": "sha512-8SIDG+mpmKmt9d+F6+X12IgFM+7ZSojkh0ji/n2fgKKERHNc4/miIKEYdJ/SirYFHV+aMhmssrlYdmS/DCBNww==", "sha512": "sha512-g94DIO6rCAobe7D9AtauX1cQxMIoYIOGvHuPcWSbj5hXFsBBdpxO9r0ghPJlp6GPiX7Twks8zf5KneAsOM0JeQ==",
"path": "hi.wpf/3.1.65", "path": "hi.wpf/3.1.66",
"hashPath": "hi.wpf.3.1.65.nupkg.sha512" "hashPath": "hi.wpf.3.1.66.nupkg.sha512"
}, },
"HiCbtr/3.1.70": { "HiCbtr/3.1.71": {
"type": "package", "type": "package",
"serviceable": true, "serviceable": true,
"sha512": "sha512-xiZ7lk/UQVJIMzbwJsZOY6px/zZN9XbnJmNdgzcJFo4tM0gdPQhCrROTZ6AIbMD4/jgMfTwIWgXOD9s+Gf9ivw==", "sha512": "sha512-Mzbc5qqBj1dm7Am2rUhu4kpPv8LstkQPt+zLWDh6xT4caD5OKySwHf8xrCZN2G9wGGadmvGG6UHLdBWHD37ITQ==",
"path": "hicbtr/3.1.70", "path": "hicbtr/3.1.71",
"hashPath": "hicbtr.3.1.70.nupkg.sha512" "hashPath": "hicbtr.3.1.71.nupkg.sha512"
}, },
"HiDisp/3.1.70": { "HiDisp/3.1.71": {
"type": "package", "type": "package",
"serviceable": true, "serviceable": true,
"sha512": "sha512-ldquz1EpuiZDMdDM6qNQT2sSk0Og1KoKytZ9CcWyE2GomjuLOFA/HOhxi1Pe8PBHsA2AH3jehbI/G4l5QtujUg==", "sha512": "sha512-ehx1WHGVma9D8xrQwLOTFrCkfOHIE7pYYM4o1E52CFZpA13QRbD7zLLeOh0/1KYruCsVvPlB+RFnGJQulgE2eg==",
"path": "hidisp/3.1.70", "path": "hidisp/3.1.71",
"hashPath": "hidisp.3.1.70.nupkg.sha512" "hashPath": "hidisp.3.1.71.nupkg.sha512"
}, },
"HiGeom/3.1.65": { "HiGeom/3.1.66": {
"type": "package", "type": "package",
"serviceable": true, "serviceable": true,
"sha512": "sha512-0upPzxgNfvQ1PhLm94pCDJ7/Czr0sWfbijxpbzaKEYXkQWTVsFZY8KGCdC3XpKqypyNgAUl4PfNDHNpsDZ8o7g==", "sha512": "sha512-zbBqQLEdfGFZcZ3Wem5RHCAiSinTEs57QEUWb2+NhIKVMyA4w/ZE38Xko/+J8x+Zci2MSM5bem8tDDC5J69kzA==",
"path": "higeom/3.1.65", "path": "higeom/3.1.66",
"hashPath": "higeom.3.1.65.nupkg.sha512" "hashPath": "higeom.3.1.66.nupkg.sha512"
}, },
"HiLicense/3.1.65": { "HiLicense/3.1.66": {
"type": "package", "type": "package",
"serviceable": true, "serviceable": true,
"sha512": "sha512-6vEKfxyuN9vPRvWwCSrlh/M5GRUZCK1Azy3qarBRhNDqLLOig0L1/lmZZbaQ9Fh5Vo5AlAjIxfSUYG1NkK7qhA==", "sha512": "sha512-1qy+3IooEg1/w9dW2FkwqS1Pvj4DskJ/Y0/Ofu+tPnvXMu9CTVgHJ7HgaHu9/iAQTPdp7GLWcIh9fqh7BQdBoQ==",
"path": "hilicense/3.1.65", "path": "hilicense/3.1.66",
"hashPath": "hilicense.3.1.65.nupkg.sha512" "hashPath": "hilicense.3.1.66.nupkg.sha512"
}, },
"HiMech/3.1.77": { "HiMech/3.1.78": {
"type": "package", "type": "package",
"serviceable": true, "serviceable": true,
"sha512": "sha512-Ai5/vrYkN48Wcl2Mqv4amu+ikWd3NgjdtT/P0UbXRNGiJKcRmH81A0yAg3kokfGL3qZhHQCMAOQndc51+Nhc3A==", "sha512": "sha512-JvLO9pIxT4s2+GEPiyjlLdYniWsH1b0SIrUqynm8SPs+aiOD9RaAX9K3DQk272uOPRqtQONJqv5IN16PHs3H3w==",
"path": "himech/3.1.77", "path": "himech/3.1.78",
"hashPath": "himech.3.1.77.nupkg.sha512" "hashPath": "himech.3.1.78.nupkg.sha512"
}, },
"HiNc/3.1.86": { "HiNc/3.1.87": {
"type": "package", "type": "package",
"serviceable": true, "serviceable": true,
"sha512": "sha512-TN/T2rV9x6jwrKQIhBxUzErMBgKVZlCtD5873MJ+uBZhqUbIGJSCVFjeeEusOqMh+kiy0JSYP4z2iST1bEZkRQ==", "sha512": "sha512-COTm9wO+3RJJ71b0wHUXbgtlP8eRiB8o213QgCkZSK8r6ztL3wlurZyMIszuryHYhuFcbgl8qSTu8RtHDFUivw==",
"path": "hinc/3.1.86", "path": "hinc/3.1.87",
"hashPath": "hinc.3.1.86.nupkg.sha512" "hashPath": "hinc.3.1.87.nupkg.sha512"
}, },
"HiUniNc/3.1.74": { "HiUniNc/3.1.75": {
"type": "package", "type": "package",
"serviceable": true, "serviceable": true,
"sha512": "sha512-X+ad8OLhfyFIRzPyhuG5KIFSP7ToHDy6pc2VzeLMjroq/EdfD+E5KBb8y7OoPSM+09OaSeS1NWHoeApXY7qbqA==", "sha512": "sha512-O4s77AfgydjHN6arQJnY0t2+tByYNO/YiTtOV6idMohfJ4j65+e0w+uMjwTRJBHmDDBuSt0Yqpi052Ou0m4IEA==",
"path": "hiuninc/3.1.74", "path": "hiuninc/3.1.75",
"hashPath": "hiuninc.3.1.74.nupkg.sha512" "hashPath": "hiuninc.3.1.75.nupkg.sha512"
}, },
"MathNet.Numerics/5.0.0": { "MathNet.Numerics/5.0.0": {
"type": "package", "type": "package",

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -975,6 +975,38 @@ public bool OptEnableDepthCompensation { get; set; }</code></pre>
<a id="Hi_MachiningProcs_RuntimeApi_OptEnableEmbeddedLog_" data-uid="Hi.MachiningProcs.RuntimeApi.OptEnableEmbeddedLog*"></a>
<h3 id="Hi_MachiningProcs_RuntimeApi_OptEnableEmbeddedLog" data-uid="Hi.MachiningProcs.RuntimeApi.OptEnableEmbeddedLog">
OptEnableEmbeddedLog
</h3>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">[JsAce]
public static bool OptEnableEmbeddedLog { 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.boolean">bool</a></dt>
<dd></dd>
</dl>
<a id="Hi_MachiningProcs_RuntimeApi_OptEnableFeedrate_" data-uid="Hi.MachiningProcs.RuntimeApi.OptEnableFeedrate*"></a> <a id="Hi_MachiningProcs_RuntimeApi_OptEnableFeedrate_" data-uid="Hi.MachiningProcs.RuntimeApi.OptEnableFeedrate*"></a>
<h3 id="Hi_MachiningProcs_RuntimeApi_OptEnableFeedrate" data-uid="Hi.MachiningProcs.RuntimeApi.OptEnableFeedrate"> <h3 id="Hi_MachiningProcs_RuntimeApi_OptEnableFeedrate" data-uid="Hi.MachiningProcs.RuntimeApi.OptEnableFeedrate">
@ -1008,10 +1040,10 @@ public bool OptEnableFeedrate { get; set; }</code></pre>
<a id="Hi_MachiningProcs_RuntimeApi_OptEnableFirstSituProcLog_" data-uid="Hi.MachiningProcs.RuntimeApi.OptEnableFirstSituProcLog*"></a> <a id="Hi_MachiningProcs_RuntimeApi_OptEnableFlatProcLog_" data-uid="Hi.MachiningProcs.RuntimeApi.OptEnableFlatProcLog*"></a>
<h3 id="Hi_MachiningProcs_RuntimeApi_OptEnableFirstSituProcLog" data-uid="Hi.MachiningProcs.RuntimeApi.OptEnableFirstSituProcLog"> <h3 id="Hi_MachiningProcs_RuntimeApi_OptEnableFlatProcLog" data-uid="Hi.MachiningProcs.RuntimeApi.OptEnableFlatProcLog">
OptEnableFirstSituProcLog OptEnableFlatProcLog
</h3> </h3>
@ -1020,7 +1052,7 @@ public bool OptEnableFeedrate { get; set; }</code></pre>
<div class="codewrapper"> <div class="codewrapper">
<pre><code class="lang-csharp hljs">[JsAce] <pre><code class="lang-csharp hljs">[JsAce]
public static bool OptEnableFirstSituProcLog { get; set; }</code></pre> public static bool OptEnableFlatProcLog { get; set; }</code></pre>
</div> </div>
@ -1106,38 +1138,6 @@ public bool OptEnableInterpolation { get; set; }</code></pre>
<a id="Hi_MachiningProcs_RuntimeApi_OptEnableNcEmbeddedLog_" data-uid="Hi.MachiningProcs.RuntimeApi.OptEnableNcEmbeddedLog*"></a>
<h3 id="Hi_MachiningProcs_RuntimeApi_OptEnableNcEmbeddedLog" data-uid="Hi.MachiningProcs.RuntimeApi.OptEnableNcEmbeddedLog">
OptEnableNcEmbeddedLog
</h3>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">[JsAce]
public static bool OptEnableNcEmbeddedLog { 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.boolean">bool</a></dt>
<dd></dd>
</dl>
<a id="Hi_MachiningProcs_RuntimeApi_OptEnableSideCompensation_" data-uid="Hi.MachiningProcs.RuntimeApi.OptEnableSideCompensation*"></a> <a id="Hi_MachiningProcs_RuntimeApi_OptEnableSideCompensation_" data-uid="Hi.MachiningProcs.RuntimeApi.OptEnableSideCompensation*"></a>
<h3 id="Hi_MachiningProcs_RuntimeApi_OptEnableSideCompensation" data-uid="Hi.MachiningProcs.RuntimeApi.OptEnableSideCompensation"> <h3 id="Hi_MachiningProcs_RuntimeApi_OptEnableSideCompensation" data-uid="Hi.MachiningProcs.RuntimeApi.OptEnableSideCompensation">

View File

@ -292,19 +292,19 @@ Class NcOptProc
<a id="Hi_NcOpt_NcOptProc_EnableFirstSituProcLog_" data-uid="Hi.NcOpt.NcOptProc.EnableFirstSituProcLog*"></a> <a id="Hi_NcOpt_NcOptProc_EnableEmbeddedLog_" data-uid="Hi.NcOpt.NcOptProc.EnableEmbeddedLog*"></a>
<h3 id="Hi_NcOpt_NcOptProc_EnableFirstSituProcLog" data-uid="Hi.NcOpt.NcOptProc.EnableFirstSituProcLog"> <h3 id="Hi_NcOpt_NcOptProc_EnableEmbeddedLog" data-uid="Hi.NcOpt.NcOptProc.EnableEmbeddedLog">
EnableFirstSituProcLog EnableEmbeddedLog
</h3> </h3>
<div class="markdown level1 summary"><p>Enable create log file for first (independent) situ process.</p> <div class="markdown level1 summary"><p>Enable embedded log to optimized NC file.</p>
</div> </div>
<div class="markdown level1 conceptual"></div> <div class="markdown level1 conceptual"></div>
<div class="codewrapper"> <div class="codewrapper">
<pre><code class="lang-csharp hljs">public static bool EnableFirstSituProcLog { get; set; }</code></pre> <pre><code class="lang-csharp hljs">public static bool EnableEmbeddedLog { get; set; }</code></pre>
</div> </div>
@ -324,19 +324,19 @@ Class NcOptProc
<a id="Hi_NcOpt_NcOptProc_EnableNcEmbeddedLog_" data-uid="Hi.NcOpt.NcOptProc.EnableNcEmbeddedLog*"></a> <a id="Hi_NcOpt_NcOptProc_EnableFlatProcLog_" data-uid="Hi.NcOpt.NcOptProc.EnableFlatProcLog*"></a>
<h3 id="Hi_NcOpt_NcOptProc_EnableNcEmbeddedLog" data-uid="Hi.NcOpt.NcOptProc.EnableNcEmbeddedLog"> <h3 id="Hi_NcOpt_NcOptProc_EnableFlatProcLog" data-uid="Hi.NcOpt.NcOptProc.EnableFlatProcLog">
EnableNcEmbeddedLog EnableFlatProcLog
</h3> </h3>
<div class="markdown level1 summary"><p>Enable embedded log to optimized NC file.</p> <div class="markdown level1 summary"><p>Enable create log file for first (independent) situ process.</p>
</div> </div>
<div class="markdown level1 conceptual"></div> <div class="markdown level1 conceptual"></div>
<div class="codewrapper"> <div class="codewrapper">
<pre><code class="lang-csharp hljs">public static bool EnableNcEmbeddedLog { get; set; }</code></pre> <pre><code class="lang-csharp hljs">public static bool EnableFlatProcLog { get; set; }</code></pre>
</div> </div>

View File

@ -92,7 +92,7 @@
<p>You MUST read the cited hyperlink before you do the job. ASK if you think the hyperlink is not work.</p> <p>You MUST read the cited hyperlink before you do the job. ASK if you think the hyperlink is not work.</p>
</div> </div>
<h2 id="handle-message-and-exception">Handle Message and Exception</h2> <h2 id="handle-message-and-exception">Handle Message and Exception</h2>
<p>If message is well-managed, apply &lt;xref:Hi.Common.Messages.MessageKit&gt; to show the message; if the message is <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception">Exception</a>, apply <a class="xref" href="../../../api/Hi.Common.ExceptionUtil.html">ExceptionUtil</a>.<a class="xref" href="../../../api/Hi.Common.ExceptionUtil.html#Hi_Common_ExceptionUtil_ShowException_System_Exception_System_Object_">ShowException(Exception, object)</a> to show the exception for detail treatment. The messages are shown in <a href="message-section-on-main-panel.html">Message Section on Main Panel</a>.</p> <p>If message is well-managed, apply <a class="xref" href="../../../api/Hi.Common.Messages.MessageHost.html">MessageHost</a> to show the message; if the message is <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception">Exception</a>, apply <a class="xref" href="../../../api/Hi.Common.ExceptionUtil.html">ExceptionUtil</a>.<a class="xref" href="../../../api/Hi.Common.ExceptionUtil.html#Hi_Common_ExceptionUtil_ShowException_System_Exception_System_Object_">ShowException(Exception, object)</a> to show the exception for detail treatment. The messages are shown in <a href="message-section-on-main-panel.html">Message Section on Main Panel</a>.</p>
<p>For examples of message and exception handling patterns:</p> <p>For examples of message and exception handling patterns:</p>
<ol> <ol>
<li>Normal message handling:</li> <li>Normal message handling:</li>

View File

@ -156,11 +156,11 @@ Users can refresh the log content or download the current day's log file for off
<p>The <code>Project</code> Menu Managing <a class="xref" href="../../../api/Hi.MachiningProcs.MachiningProject.html">MachiningProject</a>.</p> <p>The <code>Project</code> Menu Managing <a class="xref" href="../../../api/Hi.MachiningProcs.MachiningProject.html">MachiningProject</a>.</p>
<p>To <code>New</code> (create), <code>Save</code> and <code>Save As</code> the <a class="xref" href="../../../api/Hi.MachiningProcs.MachiningProject.html">MachiningProject</a>, See <a class="xref" href="../../sample/Sample.Machining.DemoBuildGeomOnlyMachiningProject.html">DemoBuildGeomOnlyMachiningProject</a> for the example.</p> <p>To <code>New</code> (create), <code>Save</code> and <code>Save As</code> the <a class="xref" href="../../../api/Hi.MachiningProcs.MachiningProject.html">MachiningProject</a>, See <a class="xref" href="../../sample/Sample.Machining.DemoBuildGeomOnlyMachiningProject.html">DemoBuildGeomOnlyMachiningProject</a> for the example.</p>
<p>To <code>Load</code> <a class="xref" href="../../../api/Hi.MachiningProcs.MachiningProject.html">MachiningProject</a>, See <a class="xref" href="../../sample/Sample.Machining.DemoUseMachiningProject.html">DemoUseMachiningProject</a> for the example.</p> <p>To <code>Load</code> <a class="xref" href="../../../api/Hi.MachiningProcs.MachiningProject.html">MachiningProject</a>, See <a class="xref" href="../../sample/Sample.Machining.DemoUseMachiningProject.html">DemoUseMachiningProject</a> for the example.</p>
<p>Show message for the actions result (successed or has exception) by &lt;xref:Hi.Common.Messages.MessageKit&gt;.</p> <p>Show message for the actions result (successed or has exception) by <a class="xref" href="../../../api/Hi.Common.Messages.MessageHost.html">MessageHost</a>.</p>
<div class="TIP"> <div class="TIP">
<h5>Tip</h5> <h5>Tip</h5>
<p>Recommmand using static function of &lt;xref:Hi.Common.Messages.MessageKit&gt; to do the job. <p>Recommmand using static function of <a class="xref" href="../../../api/Hi.Common.Messages.MessageHost.html">MessageHost</a> to do the job.
Read document of &lt;xref:Hi.Common.Messages.MessageKit&gt; to ensure the proper usage.</p> Read document of <a class="xref" href="../../../api/Hi.Common.Messages.MessageHost.html">MessageHost</a> to ensure the proper usage.</p>
</div> </div>
<p>On project loaded (<code>Navigation Menu</code>/<code>Project</code>/<code>Load MenuItem</code>) <p>On project loaded (<code>Navigation Menu</code>/<code>Project</code>/<code>Load MenuItem</code>)
, set the Player.Panel.RenderingCanvas.DispEngine to <a class="xref" href="../../../api/Hi.Disp.DispEngine.html#Hi_Disp_DispEngine_SetViewToIsometricView">SetViewToIsometricView()</a>.</p> , set the Player.Panel.RenderingCanvas.DispEngine to <a class="xref" href="../../../api/Hi.Disp.DispEngine.html#Hi_Disp_DispEngine_SetViewToIsometricView">SetViewToIsometricView()</a>.</p>

View File

@ -87,8 +87,8 @@
<article data-uid=""> <article data-uid="">
<h1 id="message-section-on-main-panel">Message Section on Main Panel</h1> <h1 id="message-section-on-main-panel">Message Section on Main Panel</h1>
<h2 id="initialize--with-message-section">Initialize &lt;xref:Hi.Common.Messages.MessageKit&gt;.&lt;xref:Hi.Common.Messages.MessageKit.Default&gt; with Message Section</h2> <h2 id="initialize--with-message-section">Initialize <a class="xref" href="../../../api/Hi.Common.Messages.MessageHost.html">MessageHost</a>.<a class="xref" href="../../../api/Hi.Common.Messages.MessageHost.html#Hi_Common_Messages_MessageHost_Default">Default</a> with Message Section</h2>
<p>To show and save the message on <code>Brief Message Text Field</code>, add event to &lt;xref:Hi.Common.Messages.MessageKit.Default&gt;.&lt;xref:Hi.Common.Messages.MessageKit.OnAdding&gt;.</p> <p>To show and save the message on <code>Brief Message Text Field</code>, add event to <a class="xref" href="../../../api/Hi.Common.Messages.MessageHost.html#Hi_Common_Messages_MessageHost_Default">Default</a>.<code>OnAdding</code>.</p>
<p>The event contains:</p> <p>The event contains:</p>
<ul> <ul>
<li>update the text content of <code>Brief Message Text Field</code></li> <li>update the text content of <code>Brief Message Text Field</code></li>
@ -98,7 +98,7 @@
<h5>Tip</h5> <h5>Tip</h5>
<ul> <ul>
<li>Handle the situation that logs over one day.</li> <li>Handle the situation that logs over one day.</li>
<li>Check if passing argument of &lt;xref:Hi.Common.Messages.MessageKit.OnAdding&gt; is <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception">Exception</a>. If the it is Exception, update text content by <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception">Exception</a>.<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.message">Message</a> but log to file with the full Exception information.</li> <li>Check if passing argument of <code>OnAdding</code> event is <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception">Exception</a>. If the it is Exception, update text content by <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.message">Message</a> but log to file with the full Exception information.</li>
<li>Consider <a class="xref" href="../../../api/Hi.Common.Messages.MessageFlag.html">MessageFlag</a> to set the behavior of Message Section. For example, apply alert style if passing argument is exception. The <a class="xref" href="../../../api/Hi.Common.Messages.MessageFlag.html#Hi_Common_Messages_MessageFlag_Info">Info</a> (and the other flags that the priority lower than it) should only record in the logs but not shows in the Message Section.</li> <li>Consider <a class="xref" href="../../../api/Hi.Common.Messages.MessageFlag.html">MessageFlag</a> to set the behavior of Message Section. For example, apply alert style if passing argument is exception. The <a class="xref" href="../../../api/Hi.Common.Messages.MessageFlag.html#Hi_Common_Messages_MessageFlag_Info">Info</a> (and the other flags that the priority lower than it) should only record in the logs but not shows in the Message Section.</li>
</ul> </ul>
</div> </div>

View File

@ -87,6 +87,19 @@
<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-3187">HiNc Packages Version 3.1.87</h2>
<ul>
<li>Re-build <a class="xref" href="../../../api/Hi.NcOpt.NcOptProc.html">NcOptProc</a> with stricter optimization logics (see <a class="xref" href="../../user-guide/zh-Hant/script/NcOptimization/index.html">NC優化</a>)</li>
<li>Add optimization logging features (see <a href="../../user-guide/zh-Hant/script/NcOptimization/index.html#%E5%84%AA%E5%8C%96%E6%97%A5%E8%AA%8C">優化日誌</a>):
<ul>
<li><code>.flatproc.log</code> file output for optimization process analysis (controlled by <a class="xref" href="../../../api/Hi.MachiningProcs.RuntimeApi.html#Hi_MachiningProcs_RuntimeApi_OptEnableFlatProcLog_">OptEnableFlatProcLog</a>)</li>
<li>Embedded log comments in optimized NC file marking source lines with <code>(src)</code> suffix (controlled by <a class="xref" href="../../../api/Hi.MachiningProcs.RuntimeApi.html#Hi_MachiningProcs_RuntimeApi_OptEnableEmbeddedLog_">OptEnableEmbeddedLog</a>)</li>
</ul>
</li>
<li>Fix cutting depth and width accuracy by bounding-box method with workpiece surface</li>
<li>Fix collision check error during concurrent changing collidable object</li>
<li>Various stability improvements and bug fixes</li>
</ul>
<h2 id="hinc-packages-version-3184">HiNc Packages Version 3.1.84</h2> <h2 id="hinc-packages-version-3184">HiNc Packages Version 3.1.84</h2>
<ul> <ul>
<li>Optimize memory usage by shrinking map-size of clStripPos</li> <li>Optimize memory usage by shrinking map-size of clStripPos</li>

View File

@ -239,6 +239,21 @@ N0170 X-4.125 Y45.875
... ...
</code></pre> </code></pre>
</div> </div>
<h2 id="優化日誌">優化日誌</h2>
<p>優化過程提供兩種日誌功能,方便分析與除錯。</p>
<h3 id="優化過程日誌檔">優化過程日誌檔</h3>
<p><a class="xref" href="../../../../../api/Hi.MachiningProcs.RuntimeApi.html#Hi_MachiningProcs_RuntimeApi_OptEnableFlatProcLog_">OptEnableFlatProcLog</a><small>(API)</small>:啟用優化過程日誌檔輸出。預設為真。</p>
<p>啟用後優化過程會為每個NC檔輸出一個 <code>.flatproc.log</code> 檔案,記錄各步階的優化條件經<a class="xref" href="../../../../../api/Hi.MachiningProcs.RuntimeApi.html#Hi_MachiningProcs_RuntimeApi_OptExtendedPreDistance_mm">OptExtendedPreDistance_mm</a><small>(API)</small><a class="xref" href="../../../../../api/Hi.MachiningProcs.RuntimeApi.html#Hi_MachiningProcs_RuntimeApi_OptExtendedPostDistance_mm">OptExtendedPostDistance_mm</a><small>(API)</small>展開後獨立優化計算的資訊(不包含步階間的交互關係,如加減速)。</p>
<h3 id="嵌入式日誌註解">嵌入式日誌註解</h3>
<p><a class="xref" href="../../../../../api/Hi.MachiningProcs.RuntimeApi.html#Hi_MachiningProcs_RuntimeApi_OptEnableEmbeddedLog_">OptEnableEmbeddedLog</a><small>(API)</small>:啟用嵌入式日誌註解。預設為真。</p>
<p>啟用後優化後的NC檔中會在原始NC行後方加上 <code>(src)</code> 後綴方便對照原始NC碼與優化後的NC碼。</p>
<div class="NOTE">
<h5>Note</h5>
<p><strong>指令格式</strong></p>
<pre><code class="lang-csharp">OptEnableFlatProcLog = &lt;布林值&gt;;
OptEnableEmbeddedLog = &lt;布林值&gt;;
</code></pre>
</div>
<h2 id="輸出優化nc檔">輸出優化NC檔</h2> <h2 id="輸出優化nc檔">輸出優化NC檔</h2>
<p>使用 <a class="xref" href="../../../../../api/Hi.MachiningProcs.RuntimeApi.html#Hi_MachiningProcs_RuntimeApi_OptimizeToFiles_">OptimizeToFiles</a><small>(API)</small> 方法輸出優化後的NC檔。</p> <p>使用 <a class="xref" href="../../../../../api/Hi.MachiningProcs.RuntimeApi.html#Hi_MachiningProcs_RuntimeApi_OptimizeToFiles_">OptimizeToFiles</a><small>(API)</small> 方法輸出優化後的NC檔。</p>
<div class="NOTE"> <div class="NOTE">

File diff suppressed because one or more lines are too long

View File

@ -80117,6 +80117,19 @@ references:
isSpec: "True" isSpec: "True"
fullName: Hi.MachiningProcs.RuntimeApi.OptEnableDepthCompensation fullName: Hi.MachiningProcs.RuntimeApi.OptEnableDepthCompensation
nameWithType: RuntimeApi.OptEnableDepthCompensation nameWithType: RuntimeApi.OptEnableDepthCompensation
- uid: Hi.MachiningProcs.RuntimeApi.OptEnableEmbeddedLog
name: OptEnableEmbeddedLog
href: api/Hi.MachiningProcs.RuntimeApi.html#Hi_MachiningProcs_RuntimeApi_OptEnableEmbeddedLog
commentId: P:Hi.MachiningProcs.RuntimeApi.OptEnableEmbeddedLog
fullName: Hi.MachiningProcs.RuntimeApi.OptEnableEmbeddedLog
nameWithType: RuntimeApi.OptEnableEmbeddedLog
- uid: Hi.MachiningProcs.RuntimeApi.OptEnableEmbeddedLog*
name: OptEnableEmbeddedLog
href: api/Hi.MachiningProcs.RuntimeApi.html#Hi_MachiningProcs_RuntimeApi_OptEnableEmbeddedLog_
commentId: Overload:Hi.MachiningProcs.RuntimeApi.OptEnableEmbeddedLog
isSpec: "True"
fullName: Hi.MachiningProcs.RuntimeApi.OptEnableEmbeddedLog
nameWithType: RuntimeApi.OptEnableEmbeddedLog
- uid: Hi.MachiningProcs.RuntimeApi.OptEnableFeedrate - uid: Hi.MachiningProcs.RuntimeApi.OptEnableFeedrate
name: OptEnableFeedrate name: OptEnableFeedrate
href: api/Hi.MachiningProcs.RuntimeApi.html#Hi_MachiningProcs_RuntimeApi_OptEnableFeedrate href: api/Hi.MachiningProcs.RuntimeApi.html#Hi_MachiningProcs_RuntimeApi_OptEnableFeedrate
@ -80130,19 +80143,19 @@ references:
isSpec: "True" isSpec: "True"
fullName: Hi.MachiningProcs.RuntimeApi.OptEnableFeedrate fullName: Hi.MachiningProcs.RuntimeApi.OptEnableFeedrate
nameWithType: RuntimeApi.OptEnableFeedrate nameWithType: RuntimeApi.OptEnableFeedrate
- uid: Hi.MachiningProcs.RuntimeApi.OptEnableFirstSituProcLog - uid: Hi.MachiningProcs.RuntimeApi.OptEnableFlatProcLog
name: OptEnableFirstSituProcLog name: OptEnableFlatProcLog
href: api/Hi.MachiningProcs.RuntimeApi.html#Hi_MachiningProcs_RuntimeApi_OptEnableFirstSituProcLog href: api/Hi.MachiningProcs.RuntimeApi.html#Hi_MachiningProcs_RuntimeApi_OptEnableFlatProcLog
commentId: P:Hi.MachiningProcs.RuntimeApi.OptEnableFirstSituProcLog commentId: P:Hi.MachiningProcs.RuntimeApi.OptEnableFlatProcLog
fullName: Hi.MachiningProcs.RuntimeApi.OptEnableFirstSituProcLog fullName: Hi.MachiningProcs.RuntimeApi.OptEnableFlatProcLog
nameWithType: RuntimeApi.OptEnableFirstSituProcLog nameWithType: RuntimeApi.OptEnableFlatProcLog
- uid: Hi.MachiningProcs.RuntimeApi.OptEnableFirstSituProcLog* - uid: Hi.MachiningProcs.RuntimeApi.OptEnableFlatProcLog*
name: OptEnableFirstSituProcLog name: OptEnableFlatProcLog
href: api/Hi.MachiningProcs.RuntimeApi.html#Hi_MachiningProcs_RuntimeApi_OptEnableFirstSituProcLog_ href: api/Hi.MachiningProcs.RuntimeApi.html#Hi_MachiningProcs_RuntimeApi_OptEnableFlatProcLog_
commentId: Overload:Hi.MachiningProcs.RuntimeApi.OptEnableFirstSituProcLog commentId: Overload:Hi.MachiningProcs.RuntimeApi.OptEnableFlatProcLog
isSpec: "True" isSpec: "True"
fullName: Hi.MachiningProcs.RuntimeApi.OptEnableFirstSituProcLog fullName: Hi.MachiningProcs.RuntimeApi.OptEnableFlatProcLog
nameWithType: RuntimeApi.OptEnableFirstSituProcLog nameWithType: RuntimeApi.OptEnableFlatProcLog
- uid: Hi.MachiningProcs.RuntimeApi.OptEnableForwardCompensation - uid: Hi.MachiningProcs.RuntimeApi.OptEnableForwardCompensation
name: OptEnableForwardCompensation name: OptEnableForwardCompensation
href: api/Hi.MachiningProcs.RuntimeApi.html#Hi_MachiningProcs_RuntimeApi_OptEnableForwardCompensation href: api/Hi.MachiningProcs.RuntimeApi.html#Hi_MachiningProcs_RuntimeApi_OptEnableForwardCompensation
@ -80169,19 +80182,6 @@ references:
isSpec: "True" isSpec: "True"
fullName: Hi.MachiningProcs.RuntimeApi.OptEnableInterpolation fullName: Hi.MachiningProcs.RuntimeApi.OptEnableInterpolation
nameWithType: RuntimeApi.OptEnableInterpolation nameWithType: RuntimeApi.OptEnableInterpolation
- uid: Hi.MachiningProcs.RuntimeApi.OptEnableNcEmbeddedLog
name: OptEnableNcEmbeddedLog
href: api/Hi.MachiningProcs.RuntimeApi.html#Hi_MachiningProcs_RuntimeApi_OptEnableNcEmbeddedLog
commentId: P:Hi.MachiningProcs.RuntimeApi.OptEnableNcEmbeddedLog
fullName: Hi.MachiningProcs.RuntimeApi.OptEnableNcEmbeddedLog
nameWithType: RuntimeApi.OptEnableNcEmbeddedLog
- uid: Hi.MachiningProcs.RuntimeApi.OptEnableNcEmbeddedLog*
name: OptEnableNcEmbeddedLog
href: api/Hi.MachiningProcs.RuntimeApi.html#Hi_MachiningProcs_RuntimeApi_OptEnableNcEmbeddedLog_
commentId: Overload:Hi.MachiningProcs.RuntimeApi.OptEnableNcEmbeddedLog
isSpec: "True"
fullName: Hi.MachiningProcs.RuntimeApi.OptEnableNcEmbeddedLog
nameWithType: RuntimeApi.OptEnableNcEmbeddedLog
- uid: Hi.MachiningProcs.RuntimeApi.OptEnableSideCompensation - uid: Hi.MachiningProcs.RuntimeApi.OptEnableSideCompensation
name: OptEnableSideCompensation name: OptEnableSideCompensation
href: api/Hi.MachiningProcs.RuntimeApi.html#Hi_MachiningProcs_RuntimeApi_OptEnableSideCompensation href: api/Hi.MachiningProcs.RuntimeApi.html#Hi_MachiningProcs_RuntimeApi_OptEnableSideCompensation
@ -113442,32 +113442,32 @@ references:
isSpec: "True" isSpec: "True"
fullName: Hi.NcOpt.NcOptProc.CoreNum fullName: Hi.NcOpt.NcOptProc.CoreNum
nameWithType: NcOptProc.CoreNum nameWithType: NcOptProc.CoreNum
- uid: Hi.NcOpt.NcOptProc.EnableFirstSituProcLog - uid: Hi.NcOpt.NcOptProc.EnableEmbeddedLog
name: EnableFirstSituProcLog name: EnableEmbeddedLog
href: api/Hi.NcOpt.NcOptProc.html#Hi_NcOpt_NcOptProc_EnableFirstSituProcLog href: api/Hi.NcOpt.NcOptProc.html#Hi_NcOpt_NcOptProc_EnableEmbeddedLog
commentId: P:Hi.NcOpt.NcOptProc.EnableFirstSituProcLog commentId: P:Hi.NcOpt.NcOptProc.EnableEmbeddedLog
fullName: Hi.NcOpt.NcOptProc.EnableFirstSituProcLog fullName: Hi.NcOpt.NcOptProc.EnableEmbeddedLog
nameWithType: NcOptProc.EnableFirstSituProcLog nameWithType: NcOptProc.EnableEmbeddedLog
- uid: Hi.NcOpt.NcOptProc.EnableFirstSituProcLog* - uid: Hi.NcOpt.NcOptProc.EnableEmbeddedLog*
name: EnableFirstSituProcLog name: EnableEmbeddedLog
href: api/Hi.NcOpt.NcOptProc.html#Hi_NcOpt_NcOptProc_EnableFirstSituProcLog_ href: api/Hi.NcOpt.NcOptProc.html#Hi_NcOpt_NcOptProc_EnableEmbeddedLog_
commentId: Overload:Hi.NcOpt.NcOptProc.EnableFirstSituProcLog commentId: Overload:Hi.NcOpt.NcOptProc.EnableEmbeddedLog
isSpec: "True" isSpec: "True"
fullName: Hi.NcOpt.NcOptProc.EnableFirstSituProcLog fullName: Hi.NcOpt.NcOptProc.EnableEmbeddedLog
nameWithType: NcOptProc.EnableFirstSituProcLog nameWithType: NcOptProc.EnableEmbeddedLog
- uid: Hi.NcOpt.NcOptProc.EnableNcEmbeddedLog - uid: Hi.NcOpt.NcOptProc.EnableFlatProcLog
name: EnableNcEmbeddedLog name: EnableFlatProcLog
href: api/Hi.NcOpt.NcOptProc.html#Hi_NcOpt_NcOptProc_EnableNcEmbeddedLog href: api/Hi.NcOpt.NcOptProc.html#Hi_NcOpt_NcOptProc_EnableFlatProcLog
commentId: P:Hi.NcOpt.NcOptProc.EnableNcEmbeddedLog commentId: P:Hi.NcOpt.NcOptProc.EnableFlatProcLog
fullName: Hi.NcOpt.NcOptProc.EnableNcEmbeddedLog fullName: Hi.NcOpt.NcOptProc.EnableFlatProcLog
nameWithType: NcOptProc.EnableNcEmbeddedLog nameWithType: NcOptProc.EnableFlatProcLog
- uid: Hi.NcOpt.NcOptProc.EnableNcEmbeddedLog* - uid: Hi.NcOpt.NcOptProc.EnableFlatProcLog*
name: EnableNcEmbeddedLog name: EnableFlatProcLog
href: api/Hi.NcOpt.NcOptProc.html#Hi_NcOpt_NcOptProc_EnableNcEmbeddedLog_ href: api/Hi.NcOpt.NcOptProc.html#Hi_NcOpt_NcOptProc_EnableFlatProcLog_
commentId: Overload:Hi.NcOpt.NcOptProc.EnableNcEmbeddedLog commentId: Overload:Hi.NcOpt.NcOptProc.EnableFlatProcLog
isSpec: "True" isSpec: "True"
fullName: Hi.NcOpt.NcOptProc.EnableNcEmbeddedLog fullName: Hi.NcOpt.NcOptProc.EnableFlatProcLog
nameWithType: NcOptProc.EnableNcEmbeddedLog nameWithType: NcOptProc.EnableFlatProcLog
- uid: Hi.NcOpt.NcOptProc.MakeXmlSource(System.String,System.String,System.Boolean) - uid: Hi.NcOpt.NcOptProc.MakeXmlSource(System.String,System.String,System.Boolean)
name: MakeXmlSource(string, string, bool) name: MakeXmlSource(string, string, bool)
href: api/Hi.NcOpt.NcOptProc.html#Hi_NcOpt_NcOptProc_MakeXmlSource_System_String_System_String_System_Boolean_ href: api/Hi.NcOpt.NcOptProc.html#Hi_NcOpt_NcOptProc_MakeXmlSource_System_String_System_String_System_Boolean_

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.