fix SoftNcRunner GM code normalization.

This commit is contained in:
2026-05-16 18:08:13 +08:00
parent e026da61b3
commit 8b285cc863
765 changed files with 18689 additions and 9785 deletions
@@ -87,7 +87,7 @@
<article data-uid="">
<h1 id="list-command-panel">List Command Panel</h1>
<p>The key model is <a class="xref" href="../../api/Hi.ShellCommands.ListCommand.html">ListCommand</a>.</p>
<p>The key model is <a class="xref" href="../../api/Hi.SessionCommands.ListCommand.html">ListCommand</a>.</p>
<ul>
<li>Assistant Model
<ul>
@@ -102,7 +102,7 @@
<ul>
<li>Command Entry List Panel
Provide entrys for selection
The model is <a class="xref" href="../../api/Hi.ShellCommands.ListCommand.html#Hi_ShellCommands_ListCommand_CommandEntryList">CommandEntryList</a>.
The model is <a class="xref" href="../../api/Hi.SessionCommands.ListCommand.html#Hi_SessionCommands_ListCommand_CommandEntryList">CommandEntryList</a>.
<ul>
<li>Head Line
<ul>
@@ -111,7 +111,7 @@ The model is <a class="xref" href="../../api/Hi.ShellCommands.ListCommand.html#H
<ul>
<li>Buttons for adding:
<ul>
<li><a class="xref" href="../../api/Hi.ShellCommands.PreSettingCommand.html">PreSettingCommand</a>
<li><a class="xref" href="../../api/Hi.SessionCommands.PreSettingCommand.html">PreSettingCommand</a>
<ul>
<li>Content Panel: <a href="PreSettingCommand-panel.html">PreSetting Command Panel</a></li>
</ul>
@@ -120,7 +120,7 @@ The model is <a class="xref" href="../../api/Hi.ShellCommands.ListCommand.html#H
<p>This command sets up initial parameters before NC simulation which attempt to take the effect.</p>
</div>
</li>
<li><a class="xref" href="../../api/Hi.ShellCommands.NcOptOptionCommand.html">NcOptOptionCommand</a>
<li><a class="xref" href="../../api/Hi.SessionCommands.NcOptOptionCommand.html">NcOptOptionCommand</a>
<ul>
<li>Content Panel: <a href="NcOptOption-panel.html">NcOptOption Panel</a></li>
</ul>
@@ -129,18 +129,18 @@ The model is <a class="xref" href="../../api/Hi.ShellCommands.ListCommand.html#H
<p>This command is also a type of pre-setting that should be applied before NC simulation which attempt to take the effect.</p>
</div>
</li>
<li><a class="xref" href="../../api/Hi.ShellCommands.NcFileCommand.html">NcFileCommand</a>
<li><a class="xref" href="../../api/Hi.SessionCommands.NcFileCommand.html">NcFileCommand</a>
<ul>
<li>Content Panel: <a href="NcFileCommand-panel.html">NcFile Command Panel</a></li>
</ul>
</li>
<li><a class="xref" href="../../api/Hi.ShellCommands.NcCodeCommand.html">NcCodeCommand</a></li>
<li><a class="xref" href="../../api/Hi.ShellCommands.ScriptCommand.html">ScriptCommand</a>
<li><a class="xref" href="../../api/Hi.SessionCommands.NcCodeCommand.html">NcCodeCommand</a></li>
<li><a class="xref" href="../../api/Hi.SessionCommands.ScriptCommand.html">ScriptCommand</a>
<ul>
<li>Content Panel: <a href="script-command-panel.html">Script Command Panel</a></li>
</ul>
</li>
<li><a class="xref" href="../../api/Hi.ShellCommands.PostExecutionCommand.html">PostExecutionCommand</a>
<li><a class="xref" href="../../api/Hi.SessionCommands.PostExecutionCommand.html">PostExecutionCommand</a>
<ul>
<li>Content Panel: <a href="PostExecutionCommand-panel.html">PostExecution Command Panel</a></li>
</ul>
@@ -162,7 +162,7 @@ The boxes are draggable for re-order.
<ul>
<li>Enable CheckBox
<ul>
<li>The model is <a class="xref" href="../../api/Hi.ShellCommands.EnablingWrapper.html#Hi_ShellCommands_EnablingWrapper_IsEnabled">IsEnabled</a>.</li>
<li>The model is <a class="xref" href="../../api/Hi.SessionCommands.EnablingWrapper.html#Hi_SessionCommands_EnablingWrapper_IsEnabled">IsEnabled</a>.</li>
</ul>
<div class="TIP">
<h5>Tip</h5>
@@ -171,7 +171,7 @@ The boxes are draggable for re-order.
</li>
<li>Title Label
<ul>
<li>Apply <a class="xref" href="../../api/Hi.ShellCommands.ITitleCommand.html#Hi_ShellCommands_ITitleCommand_GetCommandTitle_">GetCommandTitle</a> if the command is inherited from <a class="xref" href="../../api/Hi.ShellCommands.ITitleCommand.html">ITitleCommand</a>; otherwise, show the class name.</li>
<li>Apply <a class="xref" href="../../api/Hi.SessionCommands.ITitleCommand.html#Hi_SessionCommands_ITitleCommand_GetCommandTitle_">GetCommandTitle</a> if the command is inherited from <a class="xref" href="../../api/Hi.SessionCommands.ITitleCommand.html">ITitleCommand</a>; otherwise, show the class name.</li>
</ul>
</li>
</ul>
@@ -180,13 +180,13 @@ The boxes are draggable for re-order.
<p>Apply style changed if the entry is selected.</p>
</div>
<ul>
<li>If there is only one <a class="xref" href="../../api/Hi.ShellCommands.PreSettingCommand.html">PreSettingCommand</a> in the list and at the begining, Keep it at begining when items adding, shows a &ldquo;pin at begining&rdquo; label with a pin icon.</li>
<li>If there is only one <a class="xref" href="../../api/Hi.ShellCommands.PostExecutionCommand.html">PostExecutionCommand</a> in the list and at the end, Keep it at end when items adding, shows a &ldquo;pin at end&rdquo; label a pin icon.</li>
<li>If there is only one <a class="xref" href="../../api/Hi.SessionCommands.PreSettingCommand.html">PreSettingCommand</a> in the list and at the begining, Keep it at begining when items adding, shows a &ldquo;pin at begining&rdquo; label with a pin icon.</li>
<li>If there is only one <a class="xref" href="../../api/Hi.SessionCommands.PostExecutionCommand.html">PostExecutionCommand</a> in the list and at the end, Keep it at end when items adding, shows a &ldquo;pin at end&rdquo; label a pin icon.</li>
</ul>
</li>
</ul>
</li>
<li>Support file drag from the external application (such as file explorer), files drag into the Command Entrys List Panel is equivalent to create <a class="xref" href="../../api/Hi.ShellCommands.NcFileCommand.html">NcFileCommand</a>s (with the <a class="xref" href="../../api/Hi.ShellCommands.EnablingWrapper.html">EnablingWrapper</a>) and set the file into the NC File Command.</li>
<li>Support file drag from the external application (such as file explorer), files drag into the Command Entrys List Panel is equivalent to create <a class="xref" href="../../api/Hi.SessionCommands.NcFileCommand.html">NcFileCommand</a>s (with the <a class="xref" href="../../api/Hi.SessionCommands.EnablingWrapper.html">EnablingWrapper</a>) and set the file into the NC File Command.</li>
</ul>
</li>
<li>Vertical Splition Bar
@@ -196,7 +196,7 @@ The boxes are draggable for re-order.
</li>
<li>Selected Command Content Panel
<ul>
<li>The model is <a class="xref" href="../../api/Hi.ShellCommands.EnablingWrapper.html#Hi_ShellCommands_EnablingWrapper_Command">Command</a>.</li>
<li>The model is <a class="xref" href="../../api/Hi.SessionCommands.EnablingWrapper.html#Hi_SessionCommands_EnablingWrapper_Command">Command</a>.</li>
<li>The panel is based on command type</li>
</ul>
<div class="TIP">
@@ -87,7 +87,7 @@
<article data-uid="">
<h1 id="nccodecommand-panel">NcCodeCommand Panel</h1>
<p>The key model is <a class="xref" href="../../api/Hi.ShellCommands.NcCodeCommand.html">NcCodeCommand</a>.</p>
<p>The key model is <a class="xref" href="../../api/Hi.SessionCommands.NcCodeCommand.html">NcCodeCommand</a>.</p>
<h2 id="layout">Layout</h2>
<ul>
<li>Head Line
@@ -97,7 +97,7 @@
</li>
<li>NC Code Editor Area
<ul>
<li>The model is <a class="xref" href="../../api/Hi.ShellCommands.NcCodeCommand.html#Hi_ShellCommands_NcCodeCommand_NcText">NcText</a>.</li>
<li>The model is <a class="xref" href="../../api/Hi.SessionCommands.NcCodeCommand.html#Hi_SessionCommands_NcCodeCommand_NcText">NcText</a>.</li>
<li>Multi-line text editor for NC code input</li>
<li>Monospace font for better code readability</li>
<li>Line numbers display (optional)</li>
@@ -87,7 +87,7 @@
<article data-uid="">
<h1 id="ncfilecommand-panel">NcFileCommand Panel</h1>
<p>The key model is <a class="xref" href="../../api/Hi.ShellCommands.NcFileCommand.html">NcFileCommand</a>.</p>
<p>The key model is <a class="xref" href="../../api/Hi.SessionCommands.NcFileCommand.html">NcFileCommand</a>.</p>
<ul>
<li>Other Model: string BaseDirectory.</li>
</ul>
@@ -99,7 +99,7 @@
<ul>
<li>NC File Setting
<ul>
<li>The model is <a class="xref" href="../../api/Hi.ShellCommands.NcFileCommand.html#Hi_ShellCommands_NcFileCommand_NcFile">NcFile</a>.</li>
<li>The model is <a class="xref" href="../../api/Hi.SessionCommands.NcFileCommand.html#Hi_SessionCommands_NcFileCommand_NcFile">NcFile</a>.</li>
<li>NC File Label</li>
<li>NC File Text Field
<ul>
@@ -90,7 +90,7 @@
<ul>
<li>Key Model
<ul>
<li><a class="xref" href="../../api/Hi.ShellCommands.PostExecutionCommand.html">PostExecutionCommand</a></li>
<li><a class="xref" href="../../api/Hi.SessionCommands.PostExecutionCommand.html">PostExecutionCommand</a></li>
</ul>
</li>
<li>Assistant Model
@@ -106,13 +106,13 @@
<ul>
<li>Enable Write Step Files CheckBox
<ul>
<li>The model is <a class="xref" href="../../api/Hi.ShellCommands.PostExecutionCommand.html#Hi_ShellCommands_PostExecutionCommand_EnableWriteStepFiles">EnableWriteStepFiles</a>.</li>
<li>The model is <a class="xref" href="../../api/Hi.SessionCommands.PostExecutionCommand.html#Hi_SessionCommands_PostExecutionCommand_EnableWriteStepFiles">EnableWriteStepFiles</a>.</li>
</ul>
</li>
<li>Step File Template Label</li>
<li>Step File Template Text Field
<ul>
<li>The model is <a class="xref" href="../../api/Hi.ShellCommands.PostExecutionCommand.html#Hi_ShellCommands_PostExecutionCommand_StepFileTemplate">StepFileTemplate</a>.</li>
<li>The model is <a class="xref" href="../../api/Hi.SessionCommands.PostExecutionCommand.html#Hi_SessionCommands_PostExecutionCommand_StepFileTemplate">StepFileTemplate</a>.</li>
<li>Default value: &ldquo;Output/[NcName].step.csv&rdquo;</li>
</ul>
</li>
@@ -124,18 +124,18 @@ Visible if <a class="xref" href="../../api/Hi.HiNcKits.UserService.html#Hi_HiNcK
<ul>
<li>Enable Write Shot Files CheckBox
<ul>
<li>The model is <a class="xref" href="../../api/Hi.ShellCommands.PostExecutionCommand.html#Hi_ShellCommands_PostExecutionCommand_EnableWriteShotFiles">EnableWriteShotFiles</a>.</li>
<li>The model is <a class="xref" href="../../api/Hi.SessionCommands.PostExecutionCommand.html#Hi_SessionCommands_PostExecutionCommand_EnableWriteShotFiles">EnableWriteShotFiles</a>.</li>
</ul>
</li>
<li>Shot File Template Text Field
<ul>
<li>The model is <a class="xref" href="../../api/Hi.ShellCommands.PostExecutionCommand.html#Hi_ShellCommands_PostExecutionCommand_ShotFileTemplate">ShotFileTemplate</a>.</li>
<li>The model is <a class="xref" href="../../api/Hi.SessionCommands.PostExecutionCommand.html#Hi_SessionCommands_PostExecutionCommand_ShotFileTemplate">ShotFileTemplate</a>.</li>
<li>Default value: <code>Output/[NcName].shot.csv</code></li>
</ul>
</li>
<li>Shot File Time Resolution (ms) Number Field
<ul>
<li>The model is <a class="xref" href="../../api/Hi.ShellCommands.PostExecutionCommand.html#Hi_ShellCommands_PostExecutionCommand_ShotFileTimeResolution_ms">ShotFileTimeResolution_ms</a>.</li>
<li>The model is <a class="xref" href="../../api/Hi.SessionCommands.PostExecutionCommand.html#Hi_SessionCommands_PostExecutionCommand_ShotFileTimeResolution_ms">ShotFileTimeResolution_ms</a>.</li>
<li>Default value: 1</li>
</ul>
</li>
@@ -146,12 +146,12 @@ Visible if <a class="xref" href="../../api/Hi.HiNcKits.UserService.html#Hi_HiNcK
<ul>
<li>Enable Optimize To Files CheckBox
<ul>
<li>The model is <a class="xref" href="../../api/Hi.ShellCommands.PostExecutionCommand.html#Hi_ShellCommands_PostExecutionCommand_EnableOptimizeToFiles">EnableOptimizeToFiles</a>.</li>
<li>The model is <a class="xref" href="../../api/Hi.SessionCommands.PostExecutionCommand.html#Hi_SessionCommands_PostExecutionCommand_EnableOptimizeToFiles">EnableOptimizeToFiles</a>.</li>
</ul>
</li>
<li>Optimization File Template Text Field
<ul>
<li>The model is <a class="xref" href="../../api/Hi.ShellCommands.PostExecutionCommand.html#Hi_ShellCommands_PostExecutionCommand_OptimizationFileTemplate">OptimizationFileTemplate</a>.</li>
<li>The model is <a class="xref" href="../../api/Hi.SessionCommands.PostExecutionCommand.html#Hi_SessionCommands_PostExecutionCommand_OptimizationFileTemplate">OptimizationFileTemplate</a>.</li>
<li>Default value: &ldquo;Output/Opt-[NcName]&rdquo;</li>
</ul>
</li>
@@ -161,13 +161,13 @@ Visible if <a class="xref" href="../../api/Hi.HiNcKits.UserService.html#Hi_HiNcK
<ul>
<li>Enable Geom Diff CheckBox
<ul>
<li>The model is <a class="xref" href="../../api/Hi.ShellCommands.PostExecutionCommand.html#Hi_ShellCommands_PostExecutionCommand_EnableGeomDiff">EnableGeomDiff</a>.</li>
<li>The model is <a class="xref" href="../../api/Hi.SessionCommands.PostExecutionCommand.html#Hi_SessionCommands_PostExecutionCommand_EnableGeomDiff">EnableGeomDiff</a>.</li>
</ul>
</li>
<li>Geom Diff Detect Radius Number Field (with Unit)
<ul>
<li>One Line layout</li>
<li>The model is <a class="xref" href="../../api/Hi.ShellCommands.PostExecutionCommand.html#Hi_ShellCommands_PostExecutionCommand_GeomDiffDetectRadius_mm">GeomDiffDetectRadius_mm</a>.</li>
<li>The model is <a class="xref" href="../../api/Hi.SessionCommands.PostExecutionCommand.html#Hi_SessionCommands_PostExecutionCommand_GeomDiffDetectRadius_mm">GeomDiffDetectRadius_mm</a>.</li>
<li>Default value: 1</li>
</ul>
</li>
@@ -183,7 +183,7 @@ Visible if <a class="xref" href="../../api/Hi.HiNcKits.UserService.html#Hi_HiNcK
<h3 id="web-page-application-source-code-path">Web Page Application Source Code Path</h3>
<p>HiNC-2025-webservice (Quasar CLI SPA):</p>
<ul>
<li><code>wwwroot-src/src/components/mission/PostExecutionCommandPanel.vue</code> — five cards: Step Files / Shot Files / Optimization / Geom Diff / Runtime Geom. Shot Files and Optimization cards are gated on <code>appState.isShowPhysicsOptions</code> (matches legacy). GeomDiff is embedded inline because it is a property on <code>PostExecutionCommand</code> rather than a standalone <code>IShellCommand</code>.</li>
<li><code>wwwroot-src/src/components/mission/PostExecutionCommandPanel.vue</code> — five cards: Step Files / Shot Files / Optimization / Geom Diff / Runtime Geom. Shot Files and Optimization cards are gated on <code>appState.isShowPhysicsOptions</code> (matches legacy). GeomDiff is embedded inline because it is a property on <code>PostExecutionCommand</code> rather than a standalone <code>ISessionCommand</code>.</li>
<li><code>wwwroot-src/src/api/mission.ts</code> — typed wrapper; uses <code>commands/{path}/postexecution/*</code> endpoints including <code>enable-geom-diff</code> + <code>geom-diff-detect-radius-mm</code>.</li>
<li><code>Missions/MissionController.cs</code> — REST endpoints for PostExecution per-property PUTs.</li>
</ul>
@@ -90,7 +90,7 @@
<ul>
<li>Key Model
<ul>
<li><a class="xref" href="../../api/Hi.ShellCommands.PreSettingCommand.html">PreSettingCommand</a></li>
<li><a class="xref" href="../../api/Hi.SessionCommands.PreSettingCommand.html">PreSettingCommand</a></li>
</ul>
</li>
<li>Assistant Model
@@ -105,7 +105,7 @@
<li>Machining Resolution Label (with Unit)</li>
<li>Machining Resolution ComboBox
<ul>
<li>The model is <a class="xref" href="../../api/Hi.ShellCommands.PreSettingCommand.html#Hi_ShellCommands_PreSettingCommand_MachiningResolution_mm">MachiningResolution_mm</a>.</li>
<li>The model is <a class="xref" href="../../api/Hi.SessionCommands.PreSettingCommand.html#Hi_SessionCommands_PreSettingCommand_MachiningResolution_mm">MachiningResolution_mm</a>.</li>
<li>Default value: 0.125</li>
<li>Options (powers of 2)
<ul>
@@ -136,13 +136,13 @@
<ul>
<li><p>Machining Motion Resolution Setting</p>
<ul>
<li>The model is <a class="xref" href="../../api/Hi.ShellCommands.PreSettingCommand.html#Hi_ShellCommands_PreSettingCommand_MachiningMotionResolution">MachiningMotionResolution</a>.</li>
<li>The model is <a class="xref" href="../../api/Hi.SessionCommands.PreSettingCommand.html#Hi_SessionCommands_PreSettingCommand_MachiningMotionResolution">MachiningMotionResolution</a>.</li>
<li>Motion Resolution Label</li>
<li>Type ComboBox (Feed Per Cycle, Feed Per Tooth, Fixed)</li>
</ul>
</li>
<li><p>FixedMachiningMotionResolution Section
If <a class="xref" href="../../api/Hi.ShellCommands.PreSettingCommand.html#Hi_ShellCommands_PreSettingCommand_MachiningMotionResolution">MachiningMotionResolution</a> is <a class="xref" href="../../api/Hi.Numerical.MachiningMotionResolutionUtils.FixedMachiningMotionResolution.html">FixedMachiningMotionResolution</a>, show the panel.</p>
If <a class="xref" href="../../api/Hi.SessionCommands.PreSettingCommand.html#Hi_SessionCommands_PreSettingCommand_MachiningMotionResolution">MachiningMotionResolution</a> is <a class="xref" href="../../api/Hi.Numerical.MachiningMotionResolutionUtils.FixedMachiningMotionResolution.html">FixedMachiningMotionResolution</a>, show the panel.</p>
<ul>
<li>Linear Resolution Label (with Unit)</li>
<li>Linear Resolution Number Input Field</li>
@@ -154,13 +154,13 @@ If <a class="xref" href="../../api/Hi.ShellCommands.PreSettingCommand.html#Hi_Sh
<ul>
<li>Enable Collision Detection CheckBox
<ul>
<li>The model is <a class="xref" href="../../api/Hi.ShellCommands.PreSettingCommand.html#Hi_ShellCommands_PreSettingCommand_EnableCollisionDetection">EnableCollisionDetection</a>.</li>
<li>The model is <a class="xref" href="../../api/Hi.SessionCommands.PreSettingCommand.html#Hi_SessionCommands_PreSettingCommand_EnableCollisionDetection">EnableCollisionDetection</a>.</li>
<li>Default value: true</li>
</ul>
</li>
<li>Enable Pause On Failure CheckBox
<ul>
<li>The model is <a class="xref" href="../../api/Hi.ShellCommands.PreSettingCommand.html#Hi_ShellCommands_PreSettingCommand_EnablePauseOnFailure">EnablePauseOnFailure</a>.</li>
<li>The model is <a class="xref" href="../../api/Hi.SessionCommands.PreSettingCommand.html#Hi_SessionCommands_PreSettingCommand_EnablePauseOnFailure">EnablePauseOnFailure</a>.</li>
<li>Default value: false</li>
</ul>
</li>
@@ -168,7 +168,7 @@ If <a class="xref" href="../../api/Hi.ShellCommands.PreSettingCommand.html#Hi_Sh
</li>
<li><p>Enable Physics CheckBox</p>
<ul>
<li>The model is <a class="xref" href="../../api/Hi.ShellCommands.PreSettingCommand.html#Hi_ShellCommands_PreSettingCommand_EnablePhysics">EnablePhysics</a>.</li>
<li>The model is <a class="xref" href="../../api/Hi.SessionCommands.PreSettingCommand.html#Hi_SessionCommands_PreSettingCommand_EnablePhysics">EnablePhysics</a>.</li>
</ul>
</li>
</ul>
@@ -181,7 +181,7 @@ If <a class="xref" href="../../api/Hi.ShellCommands.PreSettingCommand.html#Hi_Sh
<h3 id="web-page-application-source-code-path">Web Page Application Source Code Path</h3>
<p>HiNC-2025-webservice (Quasar CLI SPA):</p>
<ul>
<li><code>wwwroot-src/src/components/mission/PreSettingCommandPanel.vue</code> — Runtime Geometry + Machining Resolution + Motion Resolution type select (with embedded Fixed sub-fields: Linear + Rotary) + Collision / Pause / Physics checkboxes. <code>MachiningMotionResolution</code> is embedded inline because it is a property on <code>PreSettingCommand</code> rather than a standalone <code>IShellCommand</code>.</li>
<li><code>wwwroot-src/src/components/mission/PreSettingCommandPanel.vue</code> — Runtime Geometry + Machining Resolution + Motion Resolution type select (with embedded Fixed sub-fields: Linear + Rotary) + Collision / Pause / Physics checkboxes. <code>MachiningMotionResolution</code> is embedded inline because it is a property on <code>PreSettingCommand</code> rather than a standalone <code>ISessionCommand</code>.</li>
<li><code>wwwroot-src/src/api/mission.ts</code> — typed wrapper; uses <code>commands/{path}/presetting/*</code> endpoints including <code>machining-motion-resolution-type</code>, <code>fixed-linear-resolution-mm</code>, <code>fixed-rotary-resolution-deg</code>.</li>
<li><code>Missions/MissionController.cs</code> — REST endpoints for PreSetting per-property PUTs.</li>
</ul>
@@ -87,7 +87,7 @@
<article data-uid="">
<h1 id="classic-session-command-panel">Classic Session Command Panel</h1>
<p>The key model is <a class="xref" href="../../api/Hi.ShellCommands.SimpleSessionCommand.html">SimpleSessionCommand</a>.</p>
<p>The key model is <a class="xref" href="../../api/Hi.SessionCommands.SimpleSessionCommand.html">SimpleSessionCommand</a>.</p>
<h2 id="layout">Layout</h2>
<ul>
<li>Head Line
@@ -107,10 +107,10 @@
<ul>
<li>Shell Commands ListBox
<ul>
<li>The model is <a class="xref" href="../../api/Hi.ShellCommands.SimpleSessionCommand.html#Hi_ShellCommands_SimpleSessionCommand_NcCommandList">NcCommandList</a>.</li>
<li>The model is <a class="xref" href="../../api/Hi.SessionCommands.SimpleSessionCommand.html#Hi_SessionCommands_SimpleSessionCommand_NcCommandList">NcCommandList</a>.</li>
<li>Support add, remove, reorder commands.</li>
<li>The items are multi-selectable.</li>
<li>Support file drag from the external application (such as file explorer), files drag into the Shell Commands List is equivalent to create <a class="xref" href="../../api/Hi.ShellCommands.NcFileCommand.html">NcFileCommand</a>s.</li>
<li>Support file drag from the external application (such as file explorer), files drag into the Shell Commands List is equivalent to create <a class="xref" href="../../api/Hi.SessionCommands.NcFileCommand.html">NcFileCommand</a>s.</li>
</ul>
<div class="TIP">
<h5>Tip</h5>
@@ -135,18 +135,18 @@
<ul>
<li>Enable Write Shot Files CheckBox
<ul>
<li>The model is <a class="xref" href="../../api/Hi.ShellCommands.SimpleSessionCommand.html#Hi_ShellCommands_SimpleSessionCommand_EnableWriteShotFiles">EnableWriteShotFiles</a>.</li>
<li>The model is <a class="xref" href="../../api/Hi.SessionCommands.SimpleSessionCommand.html#Hi_SessionCommands_SimpleSessionCommand_EnableWriteShotFiles">EnableWriteShotFiles</a>.</li>
</ul>
</li>
<li>Shot File Template Text Field
<ul>
<li>The model is <a class="xref" href="../../api/Hi.ShellCommands.SimpleSessionCommand.html#Hi_ShellCommands_SimpleSessionCommand_ShotFileTemplate">ShotFileTemplate</a>.</li>
<li>The model is <a class="xref" href="../../api/Hi.SessionCommands.SimpleSessionCommand.html#Hi_SessionCommands_SimpleSessionCommand_ShotFileTemplate">ShotFileTemplate</a>.</li>
<li>Default value: <code>Output/[NcName].shot.csv</code></li>
</ul>
</li>
<li>Shot File Time Resolution (ms) Number Field
<ul>
<li>The model is <a class="xref" href="../../api/Hi.ShellCommands.SimpleSessionCommand.html#Hi_ShellCommands_SimpleSessionCommand_ShotFileTimeResolution_ms">ShotFileTimeResolution_ms</a>.</li>
<li>The model is <a class="xref" href="../../api/Hi.SessionCommands.SimpleSessionCommand.html#Hi_SessionCommands_SimpleSessionCommand_ShotFileTimeResolution_ms">ShotFileTimeResolution_ms</a>.</li>
<li>Default value: 1</li>
</ul>
</li>
@@ -156,13 +156,13 @@
<ul>
<li>Enable Write Step Files CheckBox
<ul>
<li>The model is <a class="xref" href="../../api/Hi.ShellCommands.SimpleSessionCommand.html#Hi_ShellCommands_SimpleSessionCommand_EnableWriteStepFiles">EnableWriteStepFiles</a>.</li>
<li>The model is <a class="xref" href="../../api/Hi.SessionCommands.SimpleSessionCommand.html#Hi_SessionCommands_SimpleSessionCommand_EnableWriteStepFiles">EnableWriteStepFiles</a>.</li>
</ul>
</li>
<li>Step File Template Label</li>
<li>Step File Template Text Field
<ul>
<li>The model is <a class="xref" href="../../api/Hi.ShellCommands.SimpleSessionCommand.html#Hi_ShellCommands_SimpleSessionCommand_StepFileTemplate">StepFileTemplate</a>.</li>
<li>The model is <a class="xref" href="../../api/Hi.SessionCommands.SimpleSessionCommand.html#Hi_SessionCommands_SimpleSessionCommand_StepFileTemplate">StepFileTemplate</a>.</li>
<li>Default value: &ldquo;Output/[NcName].step.csv&rdquo;</li>
</ul>
</li>
@@ -173,12 +173,12 @@
<ul>
<li>Enable Optimize To Files CheckBox
<ul>
<li>The model is <a class="xref" href="../../api/Hi.ShellCommands.SimpleSessionCommand.html#Hi_ShellCommands_SimpleSessionCommand_EnableOptimizeToFiles">EnableOptimizeToFiles</a>.</li>
<li>The model is <a class="xref" href="../../api/Hi.SessionCommands.SimpleSessionCommand.html#Hi_SessionCommands_SimpleSessionCommand_EnableOptimizeToFiles">EnableOptimizeToFiles</a>.</li>
</ul>
</li>
<li>Optimization File Template Text Field
<ul>
<li>The model is <a class="xref" href="../../api/Hi.ShellCommands.SimpleSessionCommand.html#Hi_ShellCommands_SimpleSessionCommand_OptimizationFileTemplate">OptimizationFileTemplate</a>.</li>
<li>The model is <a class="xref" href="../../api/Hi.SessionCommands.SimpleSessionCommand.html#Hi_SessionCommands_SimpleSessionCommand_OptimizationFileTemplate">OptimizationFileTemplate</a>.</li>
<li>Default value: &ldquo;Output/Opt-[NcName]&rdquo;</li>
</ul>
</li>
@@ -190,13 +190,13 @@
<ul>
<li>Enable Geom Diff CheckBox
<ul>
<li>The model is <a class="xref" href="../../api/Hi.ShellCommands.SimpleSessionCommand.html#Hi_ShellCommands_SimpleSessionCommand_EnableGeomDiff">EnableGeomDiff</a>.</li>
<li>The model is <a class="xref" href="../../api/Hi.SessionCommands.SimpleSessionCommand.html#Hi_SessionCommands_SimpleSessionCommand_EnableGeomDiff">EnableGeomDiff</a>.</li>
</ul>
</li>
<li>Geom Diff Detect Radius (mm) Number Field
<ul>
<li>One Line layout</li>
<li>The model is <a class="xref" href="../../api/Hi.ShellCommands.SimpleSessionCommand.html#Hi_ShellCommands_SimpleSessionCommand_GeomDiffDetectRadius_mm">GeomDiffDetectRadius_mm</a>.</li>
<li>The model is <a class="xref" href="../../api/Hi.SessionCommands.SimpleSessionCommand.html#Hi_SessionCommands_SimpleSessionCommand_GeomDiffDetectRadius_mm">GeomDiffDetectRadius_mm</a>.</li>
<li>Default value: 1</li>
</ul>
</li>
@@ -129,8 +129,8 @@
<h2 id="mission-type-selection-combobox">Mission Type Selection ComboBox</h2>
<p>The options:</p>
<ul>
<li><a href="script-command-panel.html">Script Command Panel</a> for <a class="xref" href="../../api/Hi.ShellCommands.ScriptCommand.html">ScriptCommand</a>.</li>
<li><a href="ListCommand-panel.html">List Command Panel</a> for <a class="xref" href="../../api/Hi.ShellCommands.ListCommand.html">ListCommand</a>.</li>
<li><a href="script-command-panel.html">Script Command Panel</a> for <a class="xref" href="../../api/Hi.SessionCommands.ScriptCommand.html">ScriptCommand</a>.</li>
<li><a href="ListCommand-panel.html">List Command Panel</a> for <a class="xref" href="../../api/Hi.SessionCommands.ListCommand.html">ListCommand</a>.</li>
</ul>
<h2 id="source-code-locations">Source Code Locations</h2>
<p>See <a href="../index.html">HiNC GUI Architecture</a> for git repository links.</p>
@@ -87,7 +87,7 @@
<article data-uid="">
<h1 id="script-command-panel">Script Command Panel</h1>
<p>The key model is <a class="xref" href="../../api/Hi.ShellCommands.ScriptCommand.html">ScriptCommand</a>.</p>
<p>The key model is <a class="xref" href="../../api/Hi.SessionCommands.ScriptCommand.html">ScriptCommand</a>.</p>
<h2 id="layout">Layout</h2>
<ul>
<li>Head Line
@@ -98,7 +98,7 @@
</li>
<li>C# Rich Text Editor Area
<ul>
<li>The model is <a class="xref" href="../../api/Hi.ShellCommands.ScriptCommand.html#Hi_ShellCommands_ScriptCommand_ScriptText">ScriptText</a>.</li>
<li>The model is <a class="xref" href="../../api/Hi.SessionCommands.ScriptCommand.html#Hi_SessionCommands_ScriptCommand_ScriptText">ScriptText</a>.</li>
</ul>
</li>
</ul>
@@ -113,7 +113,7 @@
<ul>
<li><code>wwwroot-src/src/components/mission/ScriptCommandPanel.vue</code> — title + <strong>CodeMirror 6</strong> editor with a Lezer-based C# grammar (<code>@replit/codemirror-lang-csharp</code>) + live autocomplete backed by Roslyn's <code>CompletionService</code>. Explicit Save button with dirty-tracking; inserted text is the plain Roslyn <code>DisplayText</code> (snippet-style placeholders intentionally dropped).</li>
<li><code>wwwroot-src/src/components/mission/csharpCompletionSource.ts</code> — CodeMirror <code>CompletionSource</code> adapter that calls the Roslyn-backed endpoint and maps the response into CM6 <code>Completion</code> records.</li>
<li><code>Missions/ScriptCompletionService.cs</code> — in-process singleton <code>AdhocWorkspace</code> that reuses <code>RuntimeApi.ScriptOptions</code> for completion queries.</li>
<li><code>Missions/ScriptCompletionService.cs</code> — in-process singleton <code>AdhocWorkspace</code> that reuses <code>SessionShell.ScriptOptions</code> for completion queries.</li>
<li><code>Missions/ScriptCompletionController.cs</code><code>POST /api/script/completions</code>. Returns <code>{ label, kind, detail }</code> tuples; per-item Roslyn description (<code>GetDescriptionAsync</code>) is deferred.</li>
<li><code>Missions/MissionController.cs</code> — REST endpoints for <code>ScriptText</code> + title per-property PUTs.</li>
</ul>