Update XYZBC web simulation evidence
This commit is contained in:
@@ -213,3 +213,25 @@ npm run dev
|
||||
```text
|
||||
http://127.0.0.1:4174/
|
||||
```
|
||||
|
||||
## 截图真实执行过程修复步骤
|
||||
|
||||
9. 针对 `working/screenshots/web-simulation-full-process-20260703T051258Z` 暴露的问题,页面层新增真实执行过程派生链:
|
||||
|
||||
```text
|
||||
app/src/runtime/axis-preview-path.js
|
||||
app/src/state/store.js
|
||||
app/src/ui/axis-shell.js
|
||||
app/src/styles/axis.css
|
||||
tests/node/verify_xyzbc_trt_web_app.mjs
|
||||
tests/browser/xyzbc_trt_browser_smoke.html
|
||||
```
|
||||
|
||||
实现要求:
|
||||
|
||||
- `programAxisPreviewPath.samples[]` 写入 `sourceFile`、`statement`、`segmentIndex`,样本来源必须是 `xyzbc_switchkins_sub.ngc`/`helix_bc.ngc` 展开后的真实源程序。
|
||||
- store 中新增 `programUiExecution`,由当前 50ms 样本派生 `sourceFile:line`、operation、sample index、statement、joint、tcp、toolAxis、machineState。
|
||||
- RUN/STEP/RUN_FRAME/task-HAL 状态应用必须统一调用样本派生逻辑,不能分别维护刀位、刀轴和当前行。
|
||||
- `state.toolAxisVector` 必须从当前样本 `toolAxis.i/j/k` 派生,Three.js 刀头、刀轴线和 Vismach 刀杆方向共享该向量。
|
||||
- 程序区必须显示实时执行条,监控面板必须显示当前展开源文件和源行。
|
||||
- browser smoke 必须断言 DOM dataset、state、canvas `data-three-tool-axis` 三者一致。
|
||||
|
||||
Reference in New Issue
Block a user