This commit is contained in:
2026-09-09 17:35:23 +08:00
parent 2a98ae7556
commit 161af68fe3
1271 changed files with 58251 additions and 98639 deletions
@@ -2444,6 +2444,55 @@ Init-state lines (<a class="xref" href="Hi.Numerical.HardNcEnv.html#Hi_Numerical
<a id="Hi_Numerical_HardNcLine_HasSyntaxMotion_" data-uid="Hi.Numerical.HardNcLine.HasSyntaxMotion*"></a>
<h3 id="Hi_Numerical_HardNcLine_HasSyntaxMotion_Hi_Numerical_HardNcEnv_" data-uid="Hi.Numerical.HardNcLine.HasSyntaxMotion(Hi.Numerical.HardNcEnv)">
HasSyntaxMotion(HardNcEnv)
</h3>
<div class="markdown level1 summary"><p>Whether this block's own text commands a motion: XYZ words, the polar
C word under G12.1, or — on an arc-modal block — the arc words (an
incremental I/J/K center or R) that turn a wordless end point into a
full circle. Comments are stripped first, so a CAM path-segment
header that quotes the next command does not count, and a Heidenhain
ISO absolute pole line (I/J/K alone) is a pole reset, not a circle.
A block without syntax motion (a comment, an empty line, a bare
G41/G40, an M-only block) only inherits modal state; it has no running
direction of its own, so the radius compensation walk carries the
neighbouring blocks' axes across it and the act builders emit nothing
but a zero-length contour for it.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public bool HasSyntaxMotion(HardNcEnv ncEnv)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>ncEnv</code> <a class="xref" href="Hi.Numerical.HardNcEnv.html">HardNcEnv</a></dt>
<dd><p>NC environment</p>
</dd>
</dl>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
<dd><p>True if the block's own words command a motion; otherwise, false.</p>
</dd>
</dl>
<a id="Hi_Numerical_HardNcLine_HasSyntaxXyz_" data-uid="Hi.Numerical.HardNcLine.HasSyntaxXyz*"></a>
<h3 id="Hi_Numerical_HardNcLine_HasSyntaxXyz_Hi_Numerical_HardNcEnv_" data-uid="Hi.Numerical.HardNcLine.HasSyntaxXyz(Hi.Numerical.HardNcEnv)">