From b451b5145725922e478a689abf93139459217024 Mon Sep 17 00:00:00 2001 From: wangdequan Date: Fri, 13 Nov 2026 23:19:20 +0800 Subject: [PATCH] Route Assembly, Draft and Surface to workbench frames Co-Authored-By: Claude Code --- web/docs/current/desktop-parity-continuation.md | 4 ++-- web/src/shell/workbench-frame.tsx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/web/docs/current/desktop-parity-continuation.md b/web/docs/current/desktop-parity-continuation.md index 141a3ed3..5313cb89 100644 --- a/web/docs/current/desktop-parity-continuation.md +++ b/web/docs/current/desktop-parity-continuation.md @@ -74,9 +74,9 @@ 的 scene/dock 命令(20 秒超时)。快捷键实测 `Std_ViewFitAll` 已进入内核, 返回 “The current document has no mounted 3D view”(空文档前置未满足,符合预期)。 - **外部工作台已嵌入主舞台**:`shell/workbench-frame.tsx`。 - - Part/Sketcher/PartDesign/Spreadsheet/Surface/Assembly/Draft 继续用原生工作区; + - Part/Sketcher/PartDesign/Spreadsheet 继续用原生工作区; - BIM/CAM/Fem/Mesh/TechDraw 等切换到对应 `/workbench.html?module=` 工作台, - 原 Part 视口隐藏;BIM 实测 iframe 挂载、视口 display:none、0 pageError; + 原 Part 视口隐藏;BIM 与 Assembly 实测 iframe 挂载、0 pageError; 截图 `BIM-workbench-frame.png`。 - **命令面板(Command Palette)**:`shell/command-palette.tsx` - `Ctrl+Shift+P` 或 Tools 菜单打开; diff --git a/web/src/shell/workbench-frame.tsx b/web/src/shell/workbench-frame.tsx index 533567a0..72fabe55 100644 --- a/web/src/shell/workbench-frame.tsx +++ b/web/src/shell/workbench-frame.tsx @@ -1,6 +1,6 @@ import React from "react"; -const LOCAL_WORKBENCHES = new Set(["Part", "Sketcher", "PartDesign", "Spreadsheet", "Surface", "Assembly", "Draft"]); +const LOCAL_WORKBENCHES = new Set(["Part", "Sketcher", "PartDesign", "Spreadsheet"]); export const isExternalWorkbench = (workbench: string) => !LOCAL_WORKBENCHES.has(workbench); export function WorkbenchFrame({ workbench }: { workbench: string }) {