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
@@ -210,6 +210,22 @@ G91 conversion, missing-axis fallback) before this syntax runs.
Must be placed after <a class="xref" href="Hi.NcParsers.LogicSyntaxs.CannedCycleResolveSyntax.html">CannedCycleResolveSyntax</a> and before
<a class="xref" href="Hi.NcParsers.LogicSyntaxs.IncrementalResolveSyntax.html">IncrementalResolveSyntax</a> in the syntax chain.
</p>
</dd>
</dl>
<dl class="jumplist">
<dt><a class="xref" href="Hi.NcParsers.LogicSyntaxs.FanucPathSmoothingSyntax.html">FanucPathSmoothingSyntax</a></dt>
<dd><p>Consumes Fanuc G05.1 (high-precision contour / AICC II / Nano Smoothing)
and records the modal state in the <a class="xref" href="Hi.NcParsers.Keywords.PathSmoothing.html">PathSmoothing</a> JSON
section using the <a class="xref" href="Hi.NcParsers.Keywords.FanucPathSmoothing.html">FanucPathSmoothing</a> schema. Q1 enables,
Q0 disables; the optional R{n} precision-level is preserved as
<a class="xref" href="Hi.NcParsers.Keywords.IFanucPathSmoothingDef.html#Hi_NcParsers_Keywords_IFanucPathSmoothingDef_Level">Level</a>. The simulation does not
alter the tool path — this is a controller-internal interpolation black
box; the captured state exists for bidirectional NC-text reconstruction.</p>
<p>
Modal carry to subsequent blocks is handled by
<a class="xref" href="Hi.NcParsers.PostLogicSyntaxs.ModalCarrySyntax.html">ModalCarrySyntax</a>, which already tracks the
<code>PathSmoothing</code> section key and deep-clones it forward.
</p>
</dd>
</dl>
<dl class="jumplist">
@@ -531,13 +547,6 @@ Must be placed after syntaxes that write <code>ProgramXyz</code>
and before syntaxes that read <code>MachineCoordinate</code>
(e.g., <a class="xref" href="Hi.NcParsers.LogicSyntaxs.LinearMotionSyntax.html">LinearMotionSyntax</a>).
</dd>
</dl>
<dl class="jumplist">
<dt><a class="xref" href="Hi.NcParsers.LogicSyntaxs.PathSmoothingSyntax.html">PathSmoothingSyntax</a></dt>
<dd><p>Consumes G05.1 (high-precision contour / path smoothing) and records
its modal state. Q1 enables, Q0 disables. The simulation does not alter
the tool path — this is a controller-internal interpolation black box.</p>
</dd>
</dl>
<dl class="jumplist">