This commit is contained in:
2025-12-06 18:32:55 +08:00
parent 8e6a52be15
commit 2d953f0e27
23 changed files with 81 additions and 77 deletions
@@ -4058,7 +4058,7 @@ public SpindleDirection GetSpindleDirection()</code></pre>
</h3>
<div class="markdown level1 summary"><p>Update <a class="xref" href="Hi.NcOpt.NcOptOption.html">NcOptOption</a> for this step only.
It should not be mixed with the StepBuilt event and NC inline script since the concurent process may break the logics.</p>
It should not be mixed with the StepBuilt event and NC inline optimization script since the concurent process may break the logics.</p>
</div>
<div class="markdown level1 conceptual"></div>
@@ -331,7 +331,7 @@ Class NcOptProc
</h3>
<div class="markdown level1 summary"><p>Enable create log file for first (independent) situ process.</p>
<div class="markdown level1 summary"><p>Enable create log file for building situ (independent) FlatExtendedStep process.</p>
</div>
<div class="markdown level1 conceptual"></div>
@@ -87,13 +87,13 @@
<article data-uid="">
<h1 id="release-note">Release Note</h1>
<h2 id="hinc-packages-version-3187">HiNc Packages Version 3.1.87</h2>
<h2 id="hinc-packages-version-3186">HiNc Packages Version 3.1.86</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>Re-build <a class="xref" href="../../../api/Hi.NcOpt.NcOptProc.html">NcOptProc</a> with stricter optimization logics.</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>
<li><code>.flatproc.log</code> file output for optimization process analysis.</li>
<li>Embedded log comments in optimized NC file marking source lines with <code>(src)</code> suffix.</li>
</ul>
</li>
<li>Fix cutting depth and width accuracy by bounding-box method with workpiece surface</li>
@@ -287,6 +287,10 @@ OptimizeToFiles(&quot;Cache/Opt-[NcName]&quot;);
</code></pre>
</div>
<p>組態設定可以穿插在NC仿真間,將會作用在組態設定後的NC仿真。</p>
<div class="WARNING">
<h5>Warning</h5>
<p><a class="xref" href="../../../../../api/Hi.MachiningProcs.RuntimeApi.html#Hi_MachiningProcs_RuntimeApi_MachiningStepBuilt">MachiningStepBuilt</a><small>(API)</small> 事件內使用 <a class="xref" href="../../../../../api/Hi.MachiningSteps.MachiningStep.html#Hi_MachiningSteps_MachiningStep_UpdateNcOptOption_">UpdateNcOptOption</a><small>(API)</small> 時,不能與NC碼內嵌優化指令併用,否則可能因平行計算產生未定義行為。</p>
</div>
<p>以上範例為例,優化後的NC程式file1.nc的無切削區域快速進給為4000file2.nc則為8000。</p>
<div class="TIP">
<h5>Tip</h5>
File diff suppressed because one or more lines are too long