fix SoftNcRunner GM code normalization.
This commit is contained in:
@@ -158,8 +158,8 @@ and other syntaxes that read or write rotary axis values.</p>
|
||||
|
||||
<a id="Hi_NcParsers_LogicSyntaxs_RotaryAxisUtil_ConsumeAxis_" data-uid="Hi.NcParsers.LogicSyntaxs.RotaryAxisUtil.ConsumeAxis*"></a>
|
||||
|
||||
<h3 id="Hi_NcParsers_LogicSyntaxs_RotaryAxisUtil_ConsumeAxis_System_Text_Json_Nodes_JsonObject_System_String_" data-uid="Hi.NcParsers.LogicSyntaxs.RotaryAxisUtil.ConsumeAxis(System.Text.Json.Nodes.JsonObject,System.String)">
|
||||
ConsumeAxis(JsonObject, string)
|
||||
<h3 id="Hi_NcParsers_LogicSyntaxs_RotaryAxisUtil_ConsumeAxis_System_Text_Json_Nodes_JsonObject_System_String_Hi_NcParsers_Sentence_Hi_NcParsers_NcDiagnosticProgress_" data-uid="Hi.NcParsers.LogicSyntaxs.RotaryAxisUtil.ConsumeAxis(System.Text.Json.Nodes.JsonObject,System.String,Hi.NcParsers.Sentence,Hi.NcParsers.NcDiagnosticProgress)">
|
||||
ConsumeAxis(JsonObject, string, Sentence, NcDiagnosticProgress)
|
||||
|
||||
</h3>
|
||||
|
||||
@@ -167,11 +167,18 @@ and other syntaxes that read or write rotary axis values.</p>
|
||||
Post-processor hints (e.g., A/B/C on G68.2 or G53.1 lines) are
|
||||
parsed by FloatTagSetupSyntax into Parsing as doubles.
|
||||
Returns the value and removes the key, or null if not present.</p>
|
||||
<p>
|
||||
A non-numeric value (e.g. <code>"#124"</code> left by the parser stage)
|
||||
raises <code>VariableExpression--Unevaluated</code> via
|
||||
<a class="xref" href="Hi.NcParsers.SoftNcUtil.html#Hi_NcParsers_SoftNcUtil_GetParsedDouble_System_Text_Json_Nodes_JsonObject_System_String_Hi_NcParsers_Sentence_Hi_NcParsers_NcDiagnosticProgress_">GetParsedDouble(JsonObject, string, Sentence, NcDiagnosticProgress)</a> instead of silently dropping
|
||||
the post-processor hint. The key is consumed regardless so downstream
|
||||
syntaxes do not re-process it.
|
||||
</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public static double? ConsumeAxis(JsonObject parsing, string axisName)</code></pre>
|
||||
<pre><code class="lang-csharp hljs">public static double? ConsumeAxis(JsonObject parsing, string axisName, Sentence sentence, NcDiagnosticProgress diag)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
@@ -180,6 +187,10 @@ Returns the value and removes the key, or null if not present.</p>
|
||||
<dd></dd>
|
||||
<dt><code>axisName</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
|
||||
<dd></dd>
|
||||
<dt><code>sentence</code> <a class="xref" href="Hi.NcParsers.Sentence.html">Sentence</a></dt>
|
||||
<dd></dd>
|
||||
<dt><code>diag</code> <a class="xref" href="Hi.NcParsers.NcDiagnosticProgress.html">NcDiagnosticProgress</a></dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
|
||||
Reference in New Issue
Block a user