支持真实G代码程序执行

结论:AXIS 风格浏览器仿真页面新增 Open Program、runProgramText 和 loadProgramFile,支持用户提供的 G-code 文本/文件通过 LinuxCNC WASM 执行并参与回放。
This commit is contained in:
2026-06-16 22:14:34 +08:00
parent 163a68ff42
commit 69ccf931b1
8 changed files with 204 additions and 5 deletions

View File

@@ -29,6 +29,10 @@ The current UI direction is the AXIS-style simulation shell in
Built-in simulation test programs live under
`runtime/ui/simulation/programs/` and are exported by
`runtime/ui/simulation/programs/index.js`.
The page can also execute operator-provided G-code text or loaded browser files
through the LinuxCNC-backed WASM interpreter via
`linuxCncRealSimulationApi.runProgramText()` and
`linuxCncRealSimulationApi.loadProgramFile()`.
The project release gate for the current scope is: