fix SoftNcRunner GM code normalization.

This commit is contained in:
2026-05-08 22:17:04 +08:00
parent 2f57932000
commit e026da61b3
197 changed files with 3482 additions and 958 deletions
@@ -161,7 +161,9 @@ backward lookback, and <a class="xref" href="Hi.NcParsers.Keywords.ITransformati
</h3>
<div class="markdown level1 summary"></div>
<div class="markdown level1 summary"><p>Identifier used as the transform source key when composing the
coordinate offset translation into <a class="xref" href="Hi.NcParsers.Keywords.ITransformationDef.html#Hi_NcParsers_Keywords_ITransformationDef_ProgramToMcTransform">ProgramToMcTransform</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
@@ -196,7 +198,9 @@ backward lookback, and <a class="xref" href="Hi.NcParsers.Keywords.ITransformati
</h3>
<div class="markdown level1 summary"></div>
<div class="markdown level1 summary"><p>Composes a translation matrix from the given offset and registers it
under <a class="xref" href="Hi.NcParsers.LogicSyntaxs.CoordinateOffsetUtil.html#Hi_NcParsers_LogicSyntaxs_CoordinateOffsetUtil_TransformSource">TransformSource</a> in the block's transform stack.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
@@ -206,9 +210,11 @@ backward lookback, and <a class="xref" href="Hi.NcParsers.Keywords.ITransformati
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>json</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.text.json.nodes.jsonobject">JsonObject</a></dt>
<dd></dd>
<dd><p>Block JSON object to update.</p>
</dd>
<dt><code>offset</code> <a class="xref" href="Hi.Geom.Vec3d.html">Vec3d</a></dt>
<dd></dd>
<dd><p>Translation offset to apply.</p>
</dd>
</dl>
@@ -229,7 +235,9 @@ backward lookback, and <a class="xref" href="Hi.NcParsers.Keywords.ITransformati
</h3>
<div class="markdown level1 summary"></div>
<div class="markdown level1 summary"><p>Walks the previous node and returns its <a class="xref" href="Hi.NcParsers.Keywords.CoordinateOffset.html#Hi_NcParsers_Keywords_CoordinateOffset_CoordinateId">CoordinateId</a>
if any; used for modal lookback when the current block does not specify one.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
@@ -239,7 +247,8 @@ backward lookback, and <a class="xref" href="Hi.NcParsers.Keywords.ITransformati
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>node</code> <a class="xref" href="Hi.Common.Collections.LazyLinkedListNode-1.html">LazyLinkedListNode</a>&lt;<a class="xref" href="Hi.NcParsers.Syntaxs.SyntaxPiece.html">SyntaxPiece</a>&gt;</dt>
<dd></dd>
<dd><p>Current node to look back from.</p>
</dd>
</dl>
<h4 class="section">Returns</h4>
@@ -351,7 +360,9 @@ covers HiNC-extension ids the brand table does not handle (e.g. G59.1G59.9).
</h3>
<div class="markdown level1 summary"></div>
<div class="markdown level1 summary"><p>Writes the <a class="xref" href="Hi.NcParsers.Keywords.CoordinateOffset.html">CoordinateOffset</a> section with the given
coordinate id and XYZ offset components.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
@@ -361,11 +372,14 @@ covers HiNC-extension ids the brand table does not handle (e.g. G59.1G59.9).
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>json</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.text.json.nodes.jsonobject">JsonObject</a></dt>
<dd></dd>
<dd><p>Block JSON object to update.</p>
</dd>
<dt><code>coordId</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
<dd></dd>
<dd><p>Coordinate system identifier (e.g., G54).</p>
</dd>
<dt><code>offset</code> <a class="xref" href="Hi.Geom.Vec3d.html">Vec3d</a></dt>
<dd></dd>
<dd><p>Offset translation in machine coordinates.</p>
</dd>
</dl>