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
@@ -292,7 +292,11 @@ Terminates at G/M only.</p>
</h3>
<div class="markdown level1 summary"><p>G41/G42 Cutter radius compensation syntax.</p>
<div class="markdown level1 summary"><p>G41/G42 Cutter radius compensation syntax.
TerminateWords intentionally only <code>M</code>: D (offset id) commonly
appears after move axes or other G modifiers in the same block
(e.g., <code>G41 X10. D1</code>, <code>G54 G41 D1</code>). Using G/X/Y/Z would
truncate scope before D and lose the offset id.</p>
</div>
<div class="markdown level1 conceptual"></div>
@@ -325,7 +329,11 @@ Terminates at G/M only.</p>
</h3>
<div class="markdown level1 summary"><p>G43/G44 Tool length compensation syntax (ISO standard).
G43.4 (TCPM) is Fanuc-specific — see <a class="xref" href="Hi.NcParsers.Syntaxs.FanucSyntaxUtil.html#Hi_NcParsers_Syntaxs_FanucSyntaxUtil_G43p4Syntax">G43p4Syntax</a>.</p>
G43.4 (TCPM) is Fanuc-specific — see <a class="xref" href="Hi.NcParsers.Syntaxs.FanucSyntaxUtil.html#Hi_NcParsers_Syntaxs_FanucSyntaxUtil_G43p4Syntax">G43p4Syntax</a>.
TerminateWords intentionally only <code>M</code>: H (offset id) commonly
appears after move axes or other G modifiers in the same block
(e.g., <code>G43Z5.H01</code>, <code>G43 G54 H1</code>). Using G/X/Y/Z would
truncate scope before H and lose the offset id.</p>
</div>
<div class="markdown level1 conceptual"></div>