tune
This commit is contained in:
@@ -2165,7 +2165,7 @@ Since the folder can be moving with the configuration file.</p>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public void TrainMillingPara(SampleFlag sampleFlags, bool enableFzOnlyDuringDrilling, double outlierRatio, string dstRelFile, CancellationToken cancellationToken, ICuttingPara paraTemplate = null)</code></pre>
|
||||
<pre><code class="lang-csharp hljs">public void TrainMillingPara(SampleFlag sampleFlags, bool enableFzOnlyDuringDrilling, double outlierRatio, string dstRelFile, CancellationToken cancellationToken, ICuttingPara paraTemplate)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
|
||||
@@ -216,7 +216,7 @@ Class StepTimeShotUtil
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public static List<ITimeShot> GetTimeShotByFile(string file, Action<int> LineReaded, CancellationToken? cancellationToken = null)</code></pre>
|
||||
<pre><code class="lang-csharp hljs">public static List<ITimeShot> GetTimeShotByFile(string file, Action<int> lineReaded, CancellationToken? cancellationToken = null)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
@@ -224,7 +224,7 @@ Class StepTimeShotUtil
|
||||
<dt><code>file</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
|
||||
<dd><p>The file path to read time shots from.</p>
|
||||
</dd>
|
||||
<dt><code>LineReaded</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.action-1">Action</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a>></dt>
|
||||
<dt><code>lineReaded</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.action-1">Action</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a>></dt>
|
||||
<dd><p>Action to call when a line is read, providing progress feedback with the current line number.</p>
|
||||
</dd>
|
||||
<dt><code>cancellationToken</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken">CancellationToken</a>?</dt>
|
||||
|
||||
@@ -87,19 +87,10 @@
|
||||
<article data-uid="">
|
||||
<h1 id="release-note">Release Note</h1>
|
||||
|
||||
<h2 id="hinc-packages-version-3189">HiNc Packages Version 3.1.89</h2>
|
||||
<h2 id="hinc-packages-version-3190">HiNc Packages Version 3.1.90</h2>
|
||||
<ul>
|
||||
<li>Rename optimization log API: <code>OptEnableFlatProcLog</code> → <xref:Hi.MachiningProcs.RuntimeApi.OptEnableSituStepAdjustmentLog*></li>
|
||||
<li>Various stability improvements and bug fixes</li>
|
||||
</ul>
|
||||
<h2 id="hinc-packages-version-3188">HiNc Packages Version 3.1.88</h2>
|
||||
<ul>
|
||||
<li>Rename optimization log API for clarity (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>OptEnableFirstSituProcLog</code> → <code>OptEnableFlatProcLog</code></li>
|
||||
<li><code>OptEnableNcEmbeddedLog</code> → <a class="xref" href="../../../api/Hi.MachiningProcs.RuntimeApi.html#Hi_MachiningProcs_RuntimeApi_OptEnableEmbeddedLog_">OptEnableEmbeddedLog</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>Rename optimization log API <a class="xref" href="../../../api/Hi.MachiningProcs.RuntimeApi.html#Hi_MachiningProcs_RuntimeApi_EnableIndividualStepAdjustmentLog_">EnableIndividualStepAdjustmentLog</a></li>
|
||||
<li>Fix crash from workpiece displaying with specific mechanical topology setting</li>
|
||||
<li>Improve <code>.flatproc.log</code> output to maintain step order during parallel computation</li>
|
||||
<li>Various stability improvements and bug fixes</li>
|
||||
</ul>
|
||||
|
||||
@@ -242,7 +242,7 @@ N0170 X-4.125 Y45.875
|
||||
<h2 id="優化日誌">優化日誌</h2>
|
||||
<p>優化過程提供兩種日誌功能,方便分析與除錯。</p>
|
||||
<h3 id="優化過程日誌檔">優化過程日誌檔</h3>
|
||||
<p><xref:Hi.MachiningProcs.RuntimeApi.OptEnableSituStepAdjustmentLog*><small>(API)</small>:啟用優化過程日誌檔輸出。預設為真。</p>
|
||||
<p><a class="xref" href="../../../../../api/Hi.MachiningProcs.RuntimeApi.html#Hi_MachiningProcs_RuntimeApi_EnableIndividualStepAdjustmentLog_">EnableIndividualStepAdjustmentLog</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>
|
||||
<p>日誌檔案內容依步階順序輸出(即使平行計算時也會保持順序),每行包含:</p>
|
||||
<ul>
|
||||
@@ -270,7 +270,7 @@ N0170 X-4.125 Y45.875
|
||||
<div class="NOTE">
|
||||
<h5>Note</h5>
|
||||
<p><strong>指令格式</strong></p>
|
||||
<pre><code class="lang-csharp">OptEnableSituStepAdjustmentLog = <布林值>;
|
||||
<pre><code class="lang-csharp">EnableIndividualStepAdjustmentLog = <布林值>;
|
||||
OptEnableEmbeddedLog = <布林值>;
|
||||
</code></pre>
|
||||
</div>
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user