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
@@ -296,6 +296,54 @@ backward lookback, and <a class="xref" href="Hi.NcParsers.Keywords.ITransformati
<a id="Hi_NcParsers_LogicSyntaxs_CoordinateOffsetUtil_ResolveOffset_" data-uid="Hi.NcParsers.LogicSyntaxs.CoordinateOffsetUtil.ResolveOffset*"></a>
<h3 id="Hi_NcParsers_LogicSyntaxs_CoordinateOffsetUtil_ResolveOffset_System_Collections_Generic_IEnumerable_Hi_NcParsers_Dependencys_INcDependency__System_String_" data-uid="Hi.NcParsers.LogicSyntaxs.CoordinateOffsetUtil.ResolveOffset(System.Collections.Generic.IEnumerable{Hi.NcParsers.Dependencys.INcDependency},System.String)">
ResolveOffset(IEnumerable&lt;INcDependency&gt;, string)
</h3>
<div class="markdown level1 summary"><p>Resolves the offset for <code class="paramref">coordId</code> by scanning every
<a class="xref" href="Hi.NcParsers.Dependencys.IIsoCoordinateConfig.html">IIsoCoordinateConfig</a> in <code class="paramref">ncDependencyList</code>
and returning the first non-null result. Returns null when no provider
has data for this id (callers should fall back to <a class="xref" href="Hi.Geom.Vec3d.html#Hi_Geom_Vec3d_Zero">Zero</a>).</p>
<p>
Multi-provider iteration lets a brand parameter table cover the
hardware-mapped subset (e.g. Fanuc G54G59, G54.1 P1P48 backed by
real parameter numbers) while a standalone <a class="xref" href="Hi.NcParsers.Dependencys.Generic.IsoCoordinateTable.html">IsoCoordinateTable</a>
covers HiNC-extension ids the brand table does not handle (e.g. G59.1G59.9).
</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static Vec3d ResolveOffset(IEnumerable&lt;INcDependency&gt; ncDependencyList, string coordId)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>ncDependencyList</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1">IEnumerable</a>&lt;<a class="xref" href="Hi.NcParsers.Dependencys.INcDependency.html">INcDependency</a>&gt;</dt>
<dd></dd>
<dt><code>coordId</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
<dd></dd>
</dl>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="Hi.Geom.Vec3d.html">Vec3d</a></dt>
<dd></dd>
</dl>
<a id="Hi_NcParsers_LogicSyntaxs_CoordinateOffsetUtil_WriteSection_" data-uid="Hi.NcParsers.LogicSyntaxs.CoordinateOffsetUtil.WriteSection*"></a>
<h3 id="Hi_NcParsers_LogicSyntaxs_CoordinateOffsetUtil_WriteSection_System_Text_Json_Nodes_JsonObject_System_String_Hi_Geom_Vec3d_" data-uid="Hi.NcParsers.LogicSyntaxs.CoordinateOffsetUtil.WriteSection(System.Text.Json.Nodes.JsonObject,System.String,Hi.Geom.Vec3d)">