创建AXIS风格仿真实现文档
结论:新增 AXIS-style browser simulation 实现计划,明确布局、阶段、API、验收 gate 和 LinuxCNC 语义边界,并接入文档 smoke 与 release gate。
This commit is contained in:
36
text15.txt
36
text15.txt
@@ -1748,3 +1748,39 @@ real_browser_simulation_priority_docs_node_smoke=ok
|
||||
- 回放基于 LinuxCNC WASM 输出的 canonical motion events;
|
||||
- JS 不解释 G-code,不规划刀路,不计算 CNC 语义;
|
||||
- JS 只做播放索引、DOM 高亮、坐标显示、已执行路径和 toolhead 渲染。
|
||||
|
||||
八十一、2026-06-16 继续执行记录:AXIS 风格仿真实现文档
|
||||
|
||||
用户给出 LinuxCNC AXIS 界面截图,要求参考该界面编写程序,并先创建实现文档。本批只创建
|
||||
实现文档和文档 gate,不改 simulation 页面行为。
|
||||
|
||||
本批新增:
|
||||
|
||||
- `wasm-port/docs/axis-style-simulation-implementation.md`;
|
||||
- 文档定义 AXIS-style browser simulation 的目标布局:
|
||||
- menu/toolbar/status badges;
|
||||
- Manual Control / MDI tabs;
|
||||
- Preview / DRO tabs;
|
||||
- G-code source pane;
|
||||
- bottom status bar;
|
||||
- 参考 AXIS 的 spindle/coolant/override/jog/active G-code/DRO/toolpath 结构;
|
||||
- 文档定义阶段:
|
||||
- Phase 1 AXIS-style shell;
|
||||
- Phase 2 program execution workflow;
|
||||
- Phase 3 DRO and modal display;
|
||||
- Phase 4 preview upgrade;
|
||||
- Phase 5 machine/session integration;
|
||||
- 文档明确下一批立即任务:在不移除当前功能的前提下,重构
|
||||
`runtime/ui/simulation/index.html` 为 AXIS-inspired shell,并扩展 browser smoke;
|
||||
- README、real-browser priority docs、PROJECT_COMPLETION_TRACKER 链接该实现计划;
|
||||
- 新增文档 smoke:
|
||||
- `wasm-port/tests/docs/node/verify_axis_style_simulation_docs.mjs`;
|
||||
- `wasm-port/tests/docs/node/verify_axis_style_simulation_docs.sh`;
|
||||
- host smoke 和 project release gate 接入该文档 smoke。
|
||||
|
||||
本批保持 LinuxCNC 语义边界:
|
||||
|
||||
- 文档明确 LinuxCNC 仍是唯一 CNC semantic source;
|
||||
- Browser JS 只能负责 UI、OPFS/session、SDK/WASM 调用、LinuxCNC-produced output 渲染和播放;
|
||||
- 禁止在 JS 中实现 G-code、modal、tool compensation、parameter、kinematics、remap、planner 或
|
||||
canonical motion 语义。
|
||||
|
||||
Reference in New Issue
Block a user