fix SoftNcRunner GM code normalization.
This commit is contained in:
@@ -1011,6 +1011,50 @@ Internal Use Only.</p>
|
||||
|
||||
|
||||
|
||||
<a id="Hi_MachiningProcs_MachiningActRunner_WarnIfCurrentToolFluteMaterialMissing_" data-uid="Hi.MachiningProcs.MachiningActRunner.WarnIfCurrentToolFluteMaterialMissing*"></a>
|
||||
|
||||
<h3 id="Hi_MachiningProcs_MachiningActRunner_WarnIfCurrentToolFluteMaterialMissing_Hi_MachiningProcs_MachiningSession_System_Nullable_System_Int32__" data-uid="Hi.MachiningProcs.MachiningActRunner.WarnIfCurrentToolFluteMaterialMissing(Hi.MachiningProcs.MachiningSession,System.Nullable{System.Int32})">
|
||||
WarnIfCurrentToolFluteMaterialMissing(MachiningSession, int?)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Emit a one-shot session warning if the currently equipped
|
||||
<span class="xref">Hi.MachiningProcs.MachiningActRunner.MachiningEquipment</span>.<code>MachiningTool</code> is a <a class="xref" href="Hi.Milling.Cutters.MillingCutter.html">MillingCutter</a>
|
||||
without a <a class="xref" href="Hi.Milling.Cutters.MillingCutter.html#Hi_Milling_Cutters_MillingCutter_FluteMaterial">FluteMaterial</a>. Gated by
|
||||
<a class="xref" href="Hi.MachiningProcs.MachiningActRunnerConfig.html#Hi_MachiningProcs_MachiningActRunnerConfig_EnablePhysics">EnablePhysics</a>; deduped per tool reference via
|
||||
<a class="xref" href="Hi.MachiningProcs.MachiningSession.html#Hi_MachiningProcs_MachiningSession_WarnedFluteMaterialMissingTools">WarnedFluteMaterialMissingTools</a> so each offending
|
||||
tool is mentioned at most once per session. Pass <code class="paramref">toolId</code> when
|
||||
known (e.g. from an <a class="xref" href="Hi.Numerical.Acts.IActTooling.html">IActTooling</a>) and the warning will name the ID;
|
||||
omit it (the BeginSession path) and the warning falls back to “the currently
|
||||
equipped tool” — the equipped tool may have been set externally and not appear
|
||||
in <a class="xref" href="Hi.MachiningProcs.MachiningActRunner.html#Hi_MachiningProcs_MachiningActRunner_MachiningToolHouse">MachiningToolHouse</a>, so reverse-looking up an ID is unreliable
|
||||
and reference equality is the right unit of dedup anyway.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public void WarnIfCurrentToolFluteMaterialMissing(MachiningSession machiningSession, int? toolId = null)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>machiningSession</code> <a class="xref" href="Hi.MachiningProcs.MachiningSession.html">MachiningSession</a></dt>
|
||||
<dd></dd>
|
||||
<dt><code>toolId</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a>?</dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h2 class="section" id="events">Events
|
||||
</h2>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user