feat: 迁移BimEngine到radial+dock并完善测量/剖切/漫游面板

This commit is contained in:
yuding
2026-03-30 15:56:18 +08:00
parent 2574a11284
commit 819992f331
26 changed files with 9575 additions and 8579 deletions

View File

@@ -136,11 +136,10 @@
</div>
</div>
<!-- 3. 工具栏操作 (CusBimEngine 中已移除 ToolbarManager) -->
<div class="control-group" style="opacity: 0.6;">
<h2>🛠️ 工具栏 (Toolbar) <span style="color: #999; font-size: 0.75rem;">[CusBimEngine 已移除]</span></h2>
<h2>🛠️ 工具栏 (Toolbar) <span style="color: #999; font-size: 0.75rem;">[当前使用 Radial Toolbar]</span></h2>
<div style="font-size: 0.8rem; color: #888; margin-bottom: 8px;">
当前使用 CusBimEngine不包含工具栏功能
当前演示默认使用 Radial Toolbar以下旧 Toolbar API 按钮已停用
</div>
<div class="btn-container">
<button disabled>显隐工具栏</button>
@@ -585,7 +584,7 @@
/**
* 初始化 3D 引擎(独立实例,销毁其他引擎类型)
* 使用 CusBimEngine(移除了按钮组和构件树)
* 使用 BimEngine
*/
function initEngine3D() {
destroyAllEngines();
@@ -596,7 +595,7 @@
document.getElementById('btn-load720').disabled = true;
try {
engine = new IflowEngine.CusBimEngine('app', { locale: currentLocale });
engine = new IflowEngine.BimEngine('app', { locale: currentLocale });
var success = engine.engine.initialize({
backgroundColor: 0x333333,
version: 'v2',