fix SoftNcRunner GM code normalization.

This commit is contained in:
2026-05-06 13:21:19 +08:00
parent 0fe9497552
commit 2f57932000
1238 changed files with 69405 additions and 22511 deletions
@@ -211,45 +211,6 @@ Class SpindleSpeedCache
<a id="Hi_MachiningProcs_SpindleSpeedCache__ctor_" data-uid="Hi.MachiningProcs.SpindleSpeedCache.#ctor*"></a>
<h3 id="Hi_MachiningProcs_SpindleSpeedCache__ctor_Hi_Milling_SpindleCapability_Hi_MachiningSteps_MachineMotionStep_Hi_MachiningProcs_SpindleSpeedCache_" data-uid="Hi.MachiningProcs.SpindleSpeedCache.#ctor(Hi.Milling.SpindleCapability,Hi.MachiningSteps.MachineMotionStep,Hi.MachiningProcs.SpindleSpeedCache)">
SpindleSpeedCache(SpindleCapability, MachineMotionStep, SpindleSpeedCache)
</h3>
<div class="markdown level1 summary"><p>Initializes a new instance based on spindle capability and machine motion step.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public SpindleSpeedCache(SpindleCapability spindleCapability, MachineMotionStep machineMotionStep, SpindleSpeedCache preSpindleSpeedCache)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>spindleCapability</code> <a class="xref" href="Hi.Milling.SpindleCapability.html">SpindleCapability</a></dt>
<dd><p>The spindle capability information.</p>
</dd>
<dt><code>machineMotionStep</code> <a class="xref" href="Hi.MachiningSteps.MachineMotionStep.html">MachineMotionStep</a></dt>
<dd><p>The machine motion step.</p>
</dd>
<dt><code>preSpindleSpeedCache</code> <a class="xref" href="Hi.MachiningProcs.SpindleSpeedCache.html">SpindleSpeedCache</a></dt>
<dd><p>The previous spindle speed cache, used for optimization.</p>
</dd>
</dl>
<a id="Hi_MachiningProcs_SpindleSpeedCache__ctor_" data-uid="Hi.MachiningProcs.SpindleSpeedCache.#ctor*"></a>
<h3 id="Hi_MachiningProcs_SpindleSpeedCache__ctor_System_Double_System_Double_System_Double_System_Double_System_Double_System_Double_System_Double_System_Double_" data-uid="Hi.MachiningProcs.SpindleSpeedCache.#ctor(System.Double,System.Double,System.Double,System.Double,System.Double,System.Double,System.Double,System.Double)">
@@ -564,6 +525,55 @@ Class SpindleSpeedCache
<h2 class="section" id="methods">Methods
</h2>
<a id="Hi_MachiningProcs_SpindleSpeedCache_Create_" data-uid="Hi.MachiningProcs.SpindleSpeedCache.Create*"></a>
<h3 id="Hi_MachiningProcs_SpindleSpeedCache_Create_Hi_Milling_SpindleCapability_Hi_MachiningSteps_MachineMotionStep_Hi_MachiningProcs_SpindleSpeedCache_System_Action_System_String__" data-uid="Hi.MachiningProcs.SpindleSpeedCache.Create(Hi.Milling.SpindleCapability,Hi.MachiningSteps.MachineMotionStep,Hi.MachiningProcs.SpindleSpeedCache,System.Action{System.String})">
Create(SpindleCapability, MachineMotionStep, SpindleSpeedCache, Action&lt;string&gt;)
</h3>
<div class="markdown level1 summary"><p>Creates a <a class="xref" href="Hi.MachiningProcs.SpindleSpeedCache.html">SpindleSpeedCache</a> from spindle capability and machine motion step.
Returns <code class="paramref">preSpindleSpeedCache</code> if the spindle speed is unchanged
or the capability data is incomplete.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static SpindleSpeedCache Create(SpindleCapability spindleCapability, MachineMotionStep machineMotionStep, SpindleSpeedCache preSpindleSpeedCache, Action&lt;string&gt; onWarning)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>spindleCapability</code> <a class="xref" href="Hi.Milling.SpindleCapability.html">SpindleCapability</a></dt>
<dd></dd>
<dt><code>machineMotionStep</code> <a class="xref" href="Hi.MachiningSteps.MachineMotionStep.html">MachineMotionStep</a></dt>
<dd></dd>
<dt><code>preSpindleSpeedCache</code> <a class="xref" href="Hi.MachiningProcs.SpindleSpeedCache.html">SpindleSpeedCache</a></dt>
<dd></dd>
<dt><code>onWarning</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.action-1">Action</a>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a>&gt;</dt>
<dd></dd>
</dl>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="Hi.MachiningProcs.SpindleSpeedCache.html">SpindleSpeedCache</a></dt>
<dd></dd>
</dl>
</article>