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
@@ -4377,6 +4377,80 @@ public void WriteRuntimeGeom(string relFile)</code></pre>
<a id="Hi_MachiningProcs_RuntimeApi_WriteRuntimeGeomToObj_" data-uid="Hi.MachiningProcs.RuntimeApi.WriteRuntimeGeomToObj*"></a>
<h3 id="Hi_MachiningProcs_RuntimeApi_WriteRuntimeGeomToObj_System_String_System_Double_" data-uid="Hi.MachiningProcs.RuntimeApi.WriteRuntimeGeomToObj(System.String,System.Double)">
WriteRuntimeGeomToObj(string, double)
</h3>
<div class="markdown level1 summary"><p>Writes the current runtime geometry to a Wavefront OBJ file with per-vertex RGB.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">[JsAce(&quot;WriteRuntimeGeomToObj($1\&quot;dstFile\&quot;,$2resolution_mm)&quot;)]
public void WriteRuntimeGeomToObj(string relFile, double resolution_mm = 0)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>relFile</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
<dd><p>Relative path to the output OBJ file</p>
</dd>
<dt><code>resolution_mm</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></dt>
<dd><p>Resolution in millimeters (0 for default)</p>
</dd>
</dl>
<a id="Hi_MachiningProcs_RuntimeApi_WriteRuntimeGeomToPly_" data-uid="Hi.MachiningProcs.RuntimeApi.WriteRuntimeGeomToPly*"></a>
<h3 id="Hi_MachiningProcs_RuntimeApi_WriteRuntimeGeomToPly_System_String_System_Double_" data-uid="Hi.MachiningProcs.RuntimeApi.WriteRuntimeGeomToPly(System.String,System.Double)">
WriteRuntimeGeomToPly(string, double)
</h3>
<div class="markdown level1 summary"><p>Writes the current runtime geometry to a binary PLY file with per-vertex RGB.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">[JsAce(&quot;WriteRuntimeGeomToPly($1\&quot;dstFile\&quot;,$2resolution_mm)&quot;)]
public void WriteRuntimeGeomToPly(string relFile, double resolution_mm = 0)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>relFile</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
<dd><p>Relative path to the output PLY file</p>
</dd>
<dt><code>resolution_mm</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></dt>
<dd><p>Resolution in millimeters (0 for default)</p>
</dd>
</dl>
<a id="Hi_MachiningProcs_RuntimeApi_WriteRuntimeGeomToStl_" data-uid="Hi.MachiningProcs.RuntimeApi.WriteRuntimeGeomToStl*"></a>
<h3 id="Hi_MachiningProcs_RuntimeApi_WriteRuntimeGeomToStl_System_String_System_Double_" data-uid="Hi.MachiningProcs.RuntimeApi.WriteRuntimeGeomToStl(System.String,System.Double)">