Embed external workbench workspaces in project shell stage

Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
2026-11-13 23:11:34 +08:00
parent 7a3989eb99
commit 1454e259be
4 changed files with 24 additions and 2 deletions

View File

@@ -73,7 +73,13 @@
BoxSelection 等不再打开 TaskFrame,而是走 `DesktopCommandDispatcher`
的 scene/dock 命令(20 秒超时)。快捷键实测 `Std_ViewFitAll` 已进入内核,
返回 “The current document has no mounted 3D view”(空文档前置未满足,符合预期)。
- 说明:Python 控制台尚未接入;原生 Shortcut 参数同步待 P3。
- **外部工作台已嵌入主舞台**:`shell/workbench-frame.tsx`。
- Part/Sketcher/PartDesign/Spreadsheet/Surface/Assembly/Draft 继续用原生工作区;
- BIM/CAM/Fem/Mesh/TechDraw 等切换到对应 `/workbench.html?module=` 工作台,
原 Part 视口隐藏;BIM 实测 iframe 挂载、视口 display:none、0 pageError;
截图 `BIM-workbench-frame.png`。
- 说明:外部工作台仍是 iframe,未共享项目文档;Python 控制台尚未接入;
原生 Shortcut 参数同步待 P3。
- 非 Part 菜单命令改为打开 **React TaskFrame 模态**(`web/src/shell/task-frame.tsx`),
iframe 复用 `/workbench.html?module=<id>&command=<id>` 的现有任务面板;
BIM_TogglePanels 实测弹出 "Bottom panels" 任务并可点按钮,0 pageError;

Binary file not shown.

After

Width:  |  Height:  |  Size: 182 KiB