gs-bim-air 0.1.3-0.25 → 0.1.3-0.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/READMEBETA.md +37 -2
- package/READMEBETA2.md +16 -0
- package/demo//344/272/213/344/273/266/346/223/215/344/275/234//345/212/250/347/224/273/346/214/211/351/222/256.html +6 -6
- package/demo//344/272/213/344/273/266/346/223/215/344/275/234//346/265/213/351/207/217/351/253/230/347/250/213.html +6 -6
- package/demo//344/272/213/344/273/266/346/223/215/344/275/234//346/267/273/345/212/240/346/226/207/346/234/254/346/240/207/347/255/276.html +6 -6
- package/demo//344/272/213/344/273/266/346/223/215/344/275/234//346/267/273/345/212/240/346/240/207/347/255/276/344/272/213/344/273/266/347/202/271/345/207/273/350/216/267/345/217/226/345/261/236/346/200/247.html +6 -6
- package/demo//344/272/213/344/273/266/346/223/215/344/275/234//346/267/273/345/212/240/351/274/240/346/240/207/344/272/213/344/273/266/350/216/267/345/217/226/346/250/241/345/236/213.html +6 -6
- package/demo//344/272/213/344/273/266/346/223/215/344/275/234//347/247/273/345/212/250/346/240/207/347/255/276/344/275/215/347/275/256.html +6 -6
- package/demo//344/272/213/344/273/266/346/223/215/344/275/234//350/247/206/347/202/271/347/256/241/347/220/206.html +6 -6
- package/demo//344/272/213/344/273/266/346/223/215/344/275/234//350/247/206/350/247/222/350/275/254/346/215/242.html +6 -6
- package/demo//344/272/213/344/273/266/346/223/215/344/275/234//350/256/276/347/275/256/347/273/223/346/236/204/346/240/221/347/202/271/345/207/273/344/272/213/344/273/266.html +6 -6
- package/demo//344/272/213/344/273/266/346/223/215/344/275/234//351/242/234/350/211/262/345/222/214/345/212/250/347/224/273/346/214/211/351/222/256.html +6 -6
- package/demo//346/250/241/345/236/213/344/272/244/344/272/222//346/250/241/345/236/213/344/272/244/344/272/222-/345/212/240/350/275/275/345/244/232/346/250/241/345/236/213-/346/227/213/350/275/254/345/271/263/347/247/273/347/274/251/346/224/276.html +4 -4
- package/demo//346/250/241/345/236/213/344/272/244/344/272/222//346/250/241/345/236/213/344/272/244/344/272/222-/345/244/232/346/250/241/345/236/213/346/223/215/344/275/234-/351/232/220/350/227/217/345/274/272/350/260/203.html +4 -4
- package/demo//346/250/241/345/236/213/344/272/244/344/272/222//346/250/241/345/236/213/344/272/244/344/272/222-/350/256/276/347/275/256viewHouse.html +4 -4
- package/demo//346/250/241/345/236/213/345/212/250/347/224/273//345/212/250/347/224/273-/345/273/272/347/255/221/346/210/277/345/261/213/350/277/233/345/272/246/346/250/241/346/213/237-/351/232/224/347/246/273/347/224/237/351/225/277.html +4 -4
- package/demo//346/250/241/345/236/213/345/212/250/347/224/273//345/212/250/347/224/273-/346/226/275/345/267/245/350/277/233/345/272/246/346/250/241/346/213/237-/350/267/257/345/276/204/345/212/250/347/224/273/347/224/237/351/225/277.html +4 -4
- package/demo//346/250/241/345/236/213/345/212/250/347/224/273//345/212/250/347/224/273-/347/256/241/350/267/257/350/277/233/345/272/246/346/250/241/346/213/237-/347/256/241/351/201/223/347/224/237/351/225/277.html +4 -4
- package/demo//346/250/241/345/236/213/345/212/250/347/224/273//345/212/250/347/224/273-/350/207/252/345/256/232/344/271/211/347/256/241/351/201/223/350/277/233/345/272/246/346/250/241/346/213/237/346/226/271/345/220/221.html +4 -4
- package/demo//346/250/241/345/236/213/345/212/250/347/224/273//350/267/257/345/276/204/345/212/250/347/224/273.html +6 -6
- package/demo//346/250/241/345/236/213/345/212/250/347/224/273//350/267/257/345/276/204/345/271/263/347/247/273/345/212/250/347/224/273.html +6 -6
- package/demo//346/250/241/345/236/213/346/223/215/344/275/234//345/210/233/345/273/272/350/247/206/345/233/276.html +6 -6
- package/demo//346/250/241/345/236/213/346/223/215/344/275/234//345/212/240/350/275/275/346/234/215/345/212/241/345/231/250/346/250/241/345/236/213.html +6 -6
- package/demo//346/250/241/345/236/213/346/223/215/344/275/234//345/217/214/345/261/217/346/223/215/344/275/234.html +8 -8
- package/demo//346/250/241/345/236/213/346/223/215/344/275/234//345/256/232/344/275/215/346/250/241/345/236/213.html +6 -6
- package/demo//346/250/241/345/236/213/346/223/215/344/275/234//346/230/276/347/244/272/347/233/270/346/234/272/345/217/202/346/225/260.html +4 -4
- package/demo//346/250/241/345/236/213/346/223/215/344/275/234//346/250/241/345/236/213/346/223/215/344/275/234-/346/250/241/345/236/213/350/247/206/350/247/222-/346/212/225/345/275/261/346/226/271/345/274/217/345/217/230/346/215/242.html +4 -4
- package/demo//346/250/241/345/236/213/346/223/215/344/275/234//346/250/241/345/236/213/346/223/215/344/275/234-/346/250/241/345/236/213/350/247/206/350/247/222-/350/216/267/345/217/226/347/233/270/346/234/272/345/217/202/346/225/260.html +4 -4
- package/demo//346/250/241/345/236/213/346/223/215/344/275/234//346/250/241/345/236/213/346/223/215/344/275/234-/346/250/241/345/236/213/350/247/206/350/247/222-/351/224/201/345/256/232/347/233/270/346/234/272/350/247/206/350/247/222.html +4 -4
- package/demo//346/250/241/345/236/213/346/223/215/344/275/234//350/256/276/347/275/256/344/270/216/350/216/267/345/217/226/346/250/241/345/236/213/345/235/220/346/240/207.html +6 -6
- package/demo//346/250/241/345/236/213/346/223/215/344/275/234//350/256/276/347/275/256/345/267/245/345/205/267/346/240/217/344/270/216/346/214/211/351/222/256/346/230/276/347/244/272/351/232/220/350/227/217.html +6 -6
- package/demo//346/250/241/345/236/213/346/223/215/344/275/234//350/256/276/347/275/256/347/233/270/346/234/272/347/212/266/346/200/201-/350/216/267/345/217/226/344/275/215/347/275/256/343/200/201/346/201/242/345/244/215/344/275/215/347/275/256.html +4 -4
- package/demo//346/250/241/345/236/213/346/225/210/346/236/234//345/210/233/345/273/272/346/211/253/347/225/245.html +6 -6
- package/demo//346/250/241/345/236/213/346/225/210/346/236/234//345/210/233/345/273/272/350/267/257/345/276/204.html +6 -6
- package/demo//346/250/241/345/236/213/346/225/210/346/236/234//345/233/264/345/242/231/346/211/253/346/217/217/346/225/210/346/236/234.html +6 -6
- package/demo//346/250/241/345/236/213/346/225/210/346/236/234//345/244/251/347/251/272/347/233/222/346/225/210/346/236/234.html +6 -6
- package/demo//346/250/241/345/236/213/346/225/210/346/236/234//345/260/204/347/272/277/346/243/200/346/265/213.html +6 -6
- package/demo//346/250/241/345/236/213/346/225/210/346/236/234//346/211/207/345/275/242/346/211/253/346/217/217/346/225/210/346/236/234.html +6 -6
- package/demo//346/250/241/345/236/213/346/225/210/346/236/234//346/216/247/351/253/230/345/210/206/346/236/220/346/225/210/346/236/234.html +6 -6
- package/demo//346/250/241/345/236/213/346/225/210/346/236/234//346/260/264/351/235/242/346/225/210/346/236/234.html +6 -6
- package/demo//346/250/241/345/236/213/346/225/210/346/236/234//346/267/273/345/212/240/344/270/211/347/273/264/346/226/207/345/255/227.html +6 -6
- package/demo//346/250/241/345/236/213/346/225/210/346/236/234//346/267/273/345/212/240/347/202/271/347/272/277/351/235/242/346/213/211/344/274/270/344/275/223.html +6 -6
- package/demo//346/250/241/345/236/213/346/225/210/346/236/234//347/216/257/347/212/266/346/211/253/346/217/217/346/225/210/346/236/234.html +6 -6
- package/demo//346/250/241/345/236/213/346/225/210/346/236/234//347/253/213/344/275/223/351/224/232/347/202/271.html +6 -6
- package/demo//346/250/241/345/236/213/346/225/210/346/236/234//350/201/232/345/205/211/347/201/257/346/225/210/346/236/234.html +6 -6
- package/demo//346/250/241/345/236/213/346/225/210/346/236/234//350/277/233/345/272/246/346/250/241/346/213/237-/346/214/211/344/273/273/346/204/217/346/226/271/345/220/221/345/211/226/345/210/207.html +4 -4
- package/demo//346/250/241/345/236/213/346/225/210/346/236/234//351/200/232/350/247/206/345/210/206/346/236/220.html +9 -9
- package/demo//346/250/241/345/236/213/346/225/210/346/236/234//351/233/252/345/244/251/346/225/210/346/236/234.html +6 -6
- package/demo//347/273/223/346/236/204/346/240/221/344/270/216/346/236/204/344/273/266//345/244/232/346/236/204/344/273/266/345/211/226/345/210/207.html +6 -6
- package/demo//347/273/223/346/236/204/346/240/221/344/270/216/346/236/204/344/273/266//345/244/232/346/250/241/345/236/213/346/223/215/344/275/234-/346/236/204/344/273/266/351/232/220/350/227/217/343/200/201/346/236/204/344/273/266/345/274/272/350/260/203.html +4 -4
- package/demo//347/273/223/346/236/204/346/240/221/344/270/216/346/236/204/344/273/266//345/256/232/344/275/215/346/236/204/344/273/266.html +6 -6
- package/demo//347/273/223/346/236/204/346/240/221/344/270/216/346/236/204/344/273/266//346/236/204/344/273/266/345/261/236/346/200/247.html +6 -6
- package/demo//347/273/223/346/236/204/346/240/221/344/270/216/346/236/204/344/273/266//346/236/204/344/273/266/346/223/215/344/275/234-/346/236/204/344/273/266/345/244/215/345/210/266-/344/277/256/346/224/271/351/242/234/350/211/262/343/200/201/346/236/204/344/273/266/351/232/224/347/246/273.html +4 -4
- package/demo//347/273/223/346/236/204/346/240/221/344/270/216/346/236/204/344/273/266//346/236/204/344/273/266/346/223/215/344/275/234-/346/236/204/344/273/266/345/244/215/345/210/266-/346/236/204/344/273/266/351/232/220/350/227/217/343/200/201/350/267/257/345/276/204/345/212/250/347/224/273.html +6 -6
- package/demo//347/273/223/346/236/204/346/240/221/344/270/216/346/236/204/344/273/266//346/236/204/344/273/266/347/242/260/346/222/236/346/243/200/346/265/213.html +6 -6
- package/demo//347/273/223/346/236/204/346/240/221/344/270/216/346/236/204/344/273/266//346/236/204/344/273/266/351/200/211/346/213/251/344/270/216/345/256/232/344/275/215.html +6 -6
- package/demo//347/273/223/346/236/204/346/240/221/344/270/216/346/236/204/344/273/266//346/250/241/345/236/213/344/277/241/346/201/257-/350/216/267/345/217/226/346/250/241/345/236/213/345/261/236/346/200/247/344/277/241/346/201/257-/346/236/204/344/273/266/345/261/236/346/200/247.html +4 -4
- package/demo//347/273/223/346/236/204/346/240/221/344/270/216/346/236/204/344/273/266//346/250/241/345/236/213/346/236/204/344/273/266/351/232/224/347/246/273.html +6 -6
- package/demo//347/273/223/346/236/204/346/240/221/344/270/216/346/236/204/344/273/266//350/216/267/345/217/226/346/236/204/344/273/266/344/277/241/346/201/257.html +4 -4
- package/demo//347/273/223/346/236/204/346/240/221/344/270/216/346/236/204/344/273/266//350/216/267/345/217/226/346/236/204/344/273/266/345/214/205/345/233/264/347/233/222.html +6 -6
- package/demo//347/273/223/346/236/204/346/240/221/344/270/216/346/236/204/344/273/266//350/216/267/345/217/226/346/250/241/345/236/213/347/273/223/346/236/204/346/240/221.html +6 -6
- package/demo//347/273/223/346/236/204/346/240/221/344/270/216/346/236/204/344/273/266//350/256/276/347/275/256/346/236/204/344/273/266/351/242/234/350/211/262.html +6 -6
- package/demo//347/273/223/346/236/204/346/240/221/344/270/216/346/236/204/344/273/266//350/256/276/347/275/256/351/200/217/346/230/216/345/272/246.html +6 -6
- package/demo//347/273/223/346/236/204/346/240/221/344/270/216/346/236/204/344/273/266//350/256/276/347/275/256/351/232/224/347/246/273/346/240/267/345/274/217.html +6 -6
- package/demo//347/273/223/346/236/204/346/240/221/344/270/216/346/236/204/344/273/266//351/232/220/350/227/217/344/270/211/347/273/264/346/250/241/345/236/213/346/236/204/344/273/266.html +6 -6
- package/demo//347/273/223/346/236/204/346/240/221/344/270/216/346/236/204/344/273/266//351/232/224/347/246/273/346/214/211/351/222/256.html +6 -6
- package/demo//347/273/223/346/236/204/346/240/221/344/270/216/346/236/204/344/273/266//351/242/234/350/211/262/346/214/211/351/222/256.html +6 -6
- package/docs/classes/AnimationManager.md +26 -4
- package/docs/classes/LightModel.md +22 -0
- package/docs/classes/Material.md +6 -2
- package/docs/classes/SegmentObject.md +2 -2
- package/docs/classes/TreeNodeObject.md +2 -2
- package/docs/classes/Viewer.md +190 -2
- package/docs/interfaces/Options.md +28 -0
- package/docs//347/256/200/344/273/213.md +9 -7
- package/lib/BimAir.common-report.html +2 -2
- package/lib/BimAir.common.js +1387 -1367
- package/lib/BimAir.css +268 -230
- package/lib/BimAir.umd-report.html +2 -2
- package/lib/BimAir.umd.js +1387 -1367
- package/lib/BimAir.umd.min-report.html +2 -2
- package/lib/BimAir.umd.min.js +1387 -1367
- package/lib/undefined.gzundefined +0 -0
- package/package.json +3 -3
- package/public/js/longan/longan.js +407 -399
- package/public/js/longan/longan.wasm +0 -0
- package/public/js/longanWithoutShareArrayBuffer/longan.js +1 -1
- package/public/js/longanWithoutShareArrayBuffer/longan.wasm +0 -0
- package/public/js/sql-wasm.wasm +0 -0
package/READMEBETA.md
CHANGED
|
@@ -318,17 +318,21 @@ let targets = [
|
|
|
318
318
|
}, 6000);
|
|
319
319
|
```
|
|
320
320
|
|
|
321
|
-
### 0.0.30.30
|
|
321
|
+
### ~~0.0.30.30~~
|
|
322
322
|
|
|
323
323
|
- 修复碰撞功能添加碰撞的弹框结构树消失问题
|
|
324
324
|
|
|
325
|
-
### 0.0.30.31
|
|
325
|
+
### ~~0.0.30.31~~
|
|
326
326
|
|
|
327
327
|
- 更新 public/js 里的内核文件,安装此版本需替换 js 文件夹
|
|
328
328
|
- 修复 noShareArrayBuffer 的内核模型无法显示的问题
|
|
329
329
|
|
|
330
330
|
### 0.0.30.32
|
|
331
331
|
|
|
332
|
+
- 更新 public/js 里的内核文件,安装此版本需替换 js 文件夹
|
|
333
|
+
- 修复点击结构树,控制台报错的问题
|
|
334
|
+
- 修复从工具条恢复视点后,批注不可选择的问题
|
|
335
|
+
- 修复颜色叠加不生效的问题
|
|
332
336
|
- 添加漫游工具栏按钮相关配置,如下:
|
|
333
337
|
|
|
334
338
|
```js
|
|
@@ -352,3 +356,34 @@ let options = {
|
|
|
352
356
|
},
|
|
353
357
|
};
|
|
354
358
|
```
|
|
359
|
+
|
|
360
|
+
### ~~0.0.30.33~~
|
|
361
|
+
|
|
362
|
+
- 修复 noSharedArrayBuffer 情况下碰撞不起作用的问题,但效率有点慢
|
|
363
|
+
- 修复非标加载下,碰撞面板结构树和专业爆炸结构树多了根节点,
|
|
364
|
+
- 修复测量体积报错的问题
|
|
365
|
+
- 修复工具条碰撞问题
|
|
366
|
+
- 修复碰撞面板的结构树与模型结构树显示不一致问题
|
|
367
|
+
- 添加通过 RenderObject 的 Id 加载模型的接口
|
|
368
|
+
|
|
369
|
+
```js
|
|
370
|
+
viewer.loadRenderObjects(["6ddabd40-4492-42f0-a16e-b9c0f9bb98b9"]);
|
|
371
|
+
```
|
|
372
|
+
|
|
373
|
+
### ~~0.0.30.34~~
|
|
374
|
+
|
|
375
|
+
- 更新 public/js 里的内核文件,安装此版本需替换 js 文件夹
|
|
376
|
+
- 修复 RVM 模型浏览内存溢出问题
|
|
377
|
+
- 修复了模型多线程异步加载在一些情况下导致出错的问题
|
|
378
|
+
- 提高模型渲染效率
|
|
379
|
+
|
|
380
|
+
### 0.0.30.35
|
|
381
|
+
|
|
382
|
+
- 限制碰撞面板的结构树不能同时选父子关系的节点
|
|
383
|
+
- 修复体积测量点击控制台报错问题
|
|
384
|
+
- 修复剖切问题
|
|
385
|
+
|
|
386
|
+
### 0.0.30.36
|
|
387
|
+
|
|
388
|
+
- 修复路径漫游接口添加多个动画报错
|
|
389
|
+
- 修复路径漫游接口`viewer.animationManager.pathRoam.run([animationId], true);`第二个参数传 true 会报错
|
package/READMEBETA2.md
CHANGED
|
@@ -183,3 +183,19 @@ viewer.panelManager.structureTree.toggleCallback = (visible) => {
|
|
|
183
183
|
- 修改底层逻辑将线程等待改成线程杀死,加快模型加载速度。
|
|
184
184
|
- 将法线计算移动到子线程中去。
|
|
185
185
|
- 后台与前端同时适配模型的几何合并功能。
|
|
186
|
+
|
|
187
|
+
### 0.1.30.26
|
|
188
|
+
|
|
189
|
+
- 更新 public/js 里的内核文件,安装此版本需替换 js 文件夹。
|
|
190
|
+
- 修复碰撞过程中模型卡死问题
|
|
191
|
+
- 修复 rvm 模型打开结构树页面崩溃,模型结构树改为懒加载,修复结构树增删改,修复结构树展开,模型结构树功能代码全改动
|
|
192
|
+
- 体积测量负数改 0
|
|
193
|
+
- 修复项目里碰撞大坝模型与单模型碰撞数量不一致问题
|
|
194
|
+
- 修复项目模型情况下添加碰撞记录无法保存问题
|
|
195
|
+
- 添加显示线框、曝光度、鼠标滚动方向、右键菜单、鼠标习惯、背景的设置
|
|
196
|
+
|
|
197
|
+
### 0.1.30.27
|
|
198
|
+
|
|
199
|
+
- 更新 public/js 里的内核文件,安装此版本需替换 js 文件夹。
|
|
200
|
+
- 修复体积测量数值不正确
|
|
201
|
+
- 修复项目碰撞部分节点未加载导致结果不一致
|
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
<head>
|
|
5
5
|
<meta charset="UTF-8">
|
|
6
6
|
<title>动画播放</title>
|
|
7
|
-
<link rel="stylesheet" href="https://static.
|
|
8
|
-
<script src="https://static.
|
|
9
|
-
<script src="https://static.
|
|
7
|
+
<link rel="stylesheet" href="https://static.belife-bim.com/bimAir/BimAir.css">
|
|
8
|
+
<script src="https://static.belife-bim.com/vue.min.js"></script>
|
|
9
|
+
<script src="https://static.belife-bim.com/bimAir/BimAir.umd.min.js"></script>
|
|
10
10
|
</link>
|
|
11
11
|
|
|
12
12
|
</head>
|
|
@@ -67,8 +67,8 @@
|
|
|
67
67
|
// viewerType: "model",
|
|
68
68
|
elementId: "viewer",
|
|
69
69
|
id: "6253e9d6b0545a0a6e49bf85",
|
|
70
|
-
modelService: "https://static.
|
|
71
|
-
fileService: "https://static.
|
|
70
|
+
modelService: "https://static.belife-bim.com/modelApi",
|
|
71
|
+
fileService: "https://static.belife-bim.com/fileApi",
|
|
72
72
|
background: "linear-gradient(#e3fcfc, #f6ffff)",
|
|
73
73
|
};
|
|
74
74
|
let aboutCamera = {
|
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
let model1 = "632273cfbc278049a0898a12";
|
|
86
86
|
let objectID1 = "QMD+M+4G+HYD+XDRA01+EL002";
|
|
87
87
|
|
|
88
|
-
BimAir.Loader({ url: "https://static.
|
|
88
|
+
BimAir.Loader({ url: "https://static.belife-bim.com/bimAir" }).then(() => {
|
|
89
89
|
viewer = new BimAir.Viewer(options);
|
|
90
90
|
this.viewer = viewer;
|
|
91
91
|
this.viewer.loadModels([id, model1]).then((lightModels) => {
|
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
<head>
|
|
5
5
|
<meta charset="UTF-8">
|
|
6
6
|
<title>测量高程</title>
|
|
7
|
-
<link rel="stylesheet" href="https://static.
|
|
8
|
-
<script src="https://static.
|
|
9
|
-
<script src="https://static.
|
|
7
|
+
<link rel="stylesheet" href="https://static.belife-bim.com/bimAir/BimAir.css">
|
|
8
|
+
<script src="https://static.belife-bim.com/vue.min.js"></script>
|
|
9
|
+
<script src="https://static.belife-bim.com/bimAir/BimAir.umd.min.js"></script>
|
|
10
10
|
</link>
|
|
11
11
|
|
|
12
12
|
</head>
|
|
@@ -57,8 +57,8 @@
|
|
|
57
57
|
let options = {
|
|
58
58
|
// viewerType: "model",
|
|
59
59
|
elementId: "viewer",
|
|
60
|
-
modelService: "https://static.
|
|
61
|
-
fileService: "https://static.
|
|
60
|
+
modelService: "https://static.belife-bim.com/modelApi",
|
|
61
|
+
fileService: "https://static.belife-bim.com/fileApi",
|
|
62
62
|
background: "linear-gradient(#e3fcfc, #f6ffff)",
|
|
63
63
|
}
|
|
64
64
|
let id = "632273cbbc278049a0898a0e";
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
let ObjectPreSelector;
|
|
73
73
|
|
|
74
74
|
|
|
75
|
-
BimAir.Loader({ url: "https://static.
|
|
75
|
+
BimAir.Loader({ url: "https://static.belife-bim.com/bimAir" }).then(() => {
|
|
76
76
|
viewer = new BimAir.Viewer(options);
|
|
77
77
|
this.viewer = viewer;
|
|
78
78
|
this.viewer.loadModels([id, model3, model4]).then((lightModels) => {
|
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
<head>
|
|
5
5
|
<meta charset="UTF-8">
|
|
6
6
|
<title>添加文本标签</title>
|
|
7
|
-
<link rel="stylesheet" href="https://static.
|
|
8
|
-
<script src="https://static.
|
|
9
|
-
<script src="https://static.
|
|
7
|
+
<link rel="stylesheet" href="https://static.belife-bim.com/bimAir/BimAir.css">
|
|
8
|
+
<script src="https://static.belife-bim.com/vue.min.js"></script>
|
|
9
|
+
<script src="https://static.belife-bim.com/bimAir/BimAir.umd.min.js"></script>
|
|
10
10
|
</link>
|
|
11
11
|
|
|
12
12
|
</head>
|
|
@@ -57,8 +57,8 @@
|
|
|
57
57
|
let options = {
|
|
58
58
|
// viewerType: "model",
|
|
59
59
|
elementId: "viewer",
|
|
60
|
-
modelService: "https://static.
|
|
61
|
-
fileService: "https://static.
|
|
60
|
+
modelService: "https://static.belife-bim.com/modelApi",
|
|
61
|
+
fileService: "https://static.belife-bim.com/fileApi",
|
|
62
62
|
background: "linear-gradient(#e3fcfc, #f6ffff)",
|
|
63
63
|
}
|
|
64
64
|
let model2 = "63228db5b1decf1fc6a353b3";
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
let labelArr = [];
|
|
69
69
|
|
|
70
70
|
|
|
71
|
-
BimAir.Loader({ url: "https://static.
|
|
71
|
+
BimAir.Loader({ url: "https://static.belife-bim.com/bimAir" }).then(() => {
|
|
72
72
|
viewer = new BimAir.Viewer(options);
|
|
73
73
|
this.viewer = viewer;
|
|
74
74
|
this.viewer.loadModels([model2, model3, model4]).then((lightModels) => {
|
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
|
6
6
|
<meta name="viewport" content="width=device-width,initial-scale=1.0" />
|
|
7
7
|
<link rel="icon" href="<%= BASE_URL %>favicon.ico" />
|
|
8
|
-
<link rel="stylesheet" href="https://static.
|
|
9
|
-
<script src="https://static.
|
|
10
|
-
<script src="https://static.
|
|
8
|
+
<link rel="stylesheet" href="https://static.belife-bim.com/bimAir/BimAir.css" />
|
|
9
|
+
<script src="https://static.belife-bim.com/vue.min.js"></script>
|
|
10
|
+
<script src="https://static.belife-bim.com/bimAir/BimAir.umd.min.js"></script>
|
|
11
11
|
</head>
|
|
12
12
|
|
|
13
13
|
<body>
|
|
@@ -37,11 +37,11 @@
|
|
|
37
37
|
// viewerType: "model",
|
|
38
38
|
elementId: "viewer",
|
|
39
39
|
//
|
|
40
|
-
modelService: "https://static.
|
|
41
|
-
fileService: "https://static.
|
|
40
|
+
modelService: "https://static.belife-bim.com/modelApi",
|
|
41
|
+
fileService: "https://static.belife-bim.com/fileApi",
|
|
42
42
|
background: "linear-gradient(#e3fcfc, #f6ffff)",
|
|
43
43
|
};
|
|
44
|
-
BimAir.Loader({ url: "https://static.
|
|
44
|
+
BimAir.Loader({ url: "https://static.belife-bim.com/bimAir" }).then(() => {
|
|
45
45
|
let viewer = new BimAir.Viewer(options);
|
|
46
46
|
viewer.loadModels(["626b4d1ebfe39e58ae7b66a2"]).then(lightModels => {
|
|
47
47
|
let labelList = [
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
<head>
|
|
4
4
|
<meta charset="UTF-8" />
|
|
5
5
|
<title>构件选择与定位</title>
|
|
6
|
-
<link rel="stylesheet" href="https://static.
|
|
7
|
-
<script src="https://static.
|
|
8
|
-
<script src="https://static.
|
|
6
|
+
<link rel="stylesheet" href="https://static.belife-bim.com/bimAir/BimAir.css" />
|
|
7
|
+
<script src="https://static.belife-bim.com/vue.min.js"></script>
|
|
8
|
+
<script src="https://static.belife-bim.com/bimAir/BimAir.umd.min.js"></script>
|
|
9
9
|
</head>
|
|
10
10
|
|
|
11
11
|
<body>
|
|
@@ -34,11 +34,11 @@
|
|
|
34
34
|
// viewerType: "model",
|
|
35
35
|
elementId: "viewer",
|
|
36
36
|
|
|
37
|
-
modelService: "https://static.
|
|
38
|
-
fileService: "https://static.
|
|
37
|
+
modelService: "https://static.belife-bim.com/modelApi",
|
|
38
|
+
fileService: "https://static.belife-bim.com/fileApi",
|
|
39
39
|
background: "linear-gradient(#e3fcfc, #f6ffff)",
|
|
40
40
|
};
|
|
41
|
-
BimAir.Loader({ url: "https://static.
|
|
41
|
+
BimAir.Loader({ url: "https://static.belife-bim.com/bimAir" }).then(() => {
|
|
42
42
|
let viewer = new BimAir.Viewer(options);
|
|
43
43
|
|
|
44
44
|
viewer.loadModels(["626b4d1ebfe39e58ae7b66a2"]).then(lightModels => {
|
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
<head>
|
|
5
5
|
<meta charset="UTF-8">
|
|
6
6
|
<title>更改标签位置</title>
|
|
7
|
-
<link rel="stylesheet" href="https://static.
|
|
8
|
-
<script src="https://static.
|
|
9
|
-
<script src="https://static.
|
|
7
|
+
<link rel="stylesheet" href="https://static.belife-bim.com/bimAir/BimAir.css">
|
|
8
|
+
<script src="https://static.belife-bim.com/vue.min.js"></script>
|
|
9
|
+
<script src="https://static.belife-bim.com/bimAir/BimAir.umd.min.js"></script>
|
|
10
10
|
</link>
|
|
11
11
|
|
|
12
12
|
</head>
|
|
@@ -58,8 +58,8 @@
|
|
|
58
58
|
let options = {
|
|
59
59
|
// viewerType: "model",
|
|
60
60
|
elementId: "viewer",
|
|
61
|
-
modelService: "https://static.
|
|
62
|
-
fileService: "https://static.
|
|
61
|
+
modelService: "https://static.belife-bim.com/modelApi",
|
|
62
|
+
fileService: "https://static.belife-bim.com/fileApi",
|
|
63
63
|
background: "linear-gradient(#e3fcfc, #f6ffff)",
|
|
64
64
|
}
|
|
65
65
|
let model2 = "63228db5b1decf1fc6a353b3";
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
let p_new = [380076.313, 39099.805, 3236.421];
|
|
71
71
|
|
|
72
72
|
|
|
73
|
-
BimAir.Loader({ url: "https://static.
|
|
73
|
+
BimAir.Loader({ url: "https://static.belife-bim.com/bimAir" }).then(() => {
|
|
74
74
|
viewer = new BimAir.Viewer(options);
|
|
75
75
|
this.viewer = viewer;
|
|
76
76
|
this.viewer.loadModels([model2, model3, model4]).then((lightModels) => {
|
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
<head>
|
|
5
5
|
<meta charset="UTF-8">
|
|
6
6
|
<title>视点管理</title>
|
|
7
|
-
<link rel="stylesheet" href="https://static.
|
|
8
|
-
<script src="https://static.
|
|
9
|
-
<script src="https://static.
|
|
7
|
+
<link rel="stylesheet" href="https://static.belife-bim.com/bimAir/BimAir.css">
|
|
8
|
+
<script src="https://static.belife-bim.com/vue.min.js"></script>
|
|
9
|
+
<script src="https://static.belife-bim.com/bimAir/BimAir.umd.min.js"></script>
|
|
10
10
|
</link>
|
|
11
11
|
|
|
12
12
|
</head>
|
|
@@ -62,8 +62,8 @@
|
|
|
62
62
|
// viewerType: "model",
|
|
63
63
|
elementId: "viewer",
|
|
64
64
|
id: "6253e9d6b0545a0a6e49bf85",
|
|
65
|
-
modelService: "https://static.
|
|
66
|
-
fileService: "https://static.
|
|
65
|
+
modelService: "https://static.belife-bim.com/modelApi",
|
|
66
|
+
fileService: "https://static.belife-bim.com/fileApi",
|
|
67
67
|
background: "linear-gradient(#e3fcfc, #f6ffff)",
|
|
68
68
|
};
|
|
69
69
|
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
let viewer;
|
|
76
76
|
let lightModels;
|
|
77
77
|
|
|
78
|
-
BimAir.Loader({ url: "https://static.
|
|
78
|
+
BimAir.Loader({ url: "https://static.belife-bim.com/bimAir" }).then(() => {
|
|
79
79
|
viewer = new BimAir.Viewer(options);
|
|
80
80
|
this.viewer = viewer;
|
|
81
81
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
<head>
|
|
2
2
|
<meta charset="UTF-8">
|
|
3
3
|
<title>视角转换</title>
|
|
4
|
-
<link rel="stylesheet" href="https://static.
|
|
5
|
-
<script src="https://static.
|
|
6
|
-
<script src="https://static.
|
|
4
|
+
<link rel="stylesheet" href="https://static.belife-bim.com/bimAir/BimAir.css">
|
|
5
|
+
<script src="https://static.belife-bim.com/vue.min.js"></script>
|
|
6
|
+
<script src="https://static.belife-bim.com/bimAir/BimAir.umd.min.js"></script>
|
|
7
7
|
</link>
|
|
8
8
|
|
|
9
9
|
</head>
|
|
@@ -56,8 +56,8 @@
|
|
|
56
56
|
// viewerType: "model",
|
|
57
57
|
elementId: "viewer",
|
|
58
58
|
id: "6253e9d6b0545a0a6e49bf85",
|
|
59
|
-
modelService: "https://static.
|
|
60
|
-
fileService: "https://static.
|
|
59
|
+
modelService: "https://static.belife-bim.com/modelApi",
|
|
60
|
+
fileService: "https://static.belife-bim.com/fileApi",
|
|
61
61
|
background: "linear-gradient(#e3fcfc, #f6ffff)",
|
|
62
62
|
};
|
|
63
63
|
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
let viewer;
|
|
83
83
|
let lightModels;
|
|
84
84
|
|
|
85
|
-
BimAir.Loader({ url: "https://static.
|
|
85
|
+
BimAir.Loader({ url: "https://static.belife-bim.com/bimAir" }).then(() => {
|
|
86
86
|
viewer = new BimAir.Viewer(options);
|
|
87
87
|
this.viewer = viewer;
|
|
88
88
|
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
<head>
|
|
4
4
|
<meta charset="UTF-8" />
|
|
5
5
|
<title>设置结构树点击事件</title>
|
|
6
|
-
<link rel="stylesheet" href="https://static.
|
|
7
|
-
<script src="https://static.
|
|
8
|
-
<script src="https://static.
|
|
6
|
+
<link rel="stylesheet" href="https://static.belife-bim.com/bimAir/BimAir.css" />
|
|
7
|
+
<script src="https://static.belife-bim.com/vue.min.js"></script>
|
|
8
|
+
<script src="https://static.belife-bim.com/bimAir/BimAir.umd.min.js"></script>
|
|
9
9
|
</head>
|
|
10
10
|
|
|
11
11
|
<body>
|
|
@@ -33,8 +33,8 @@
|
|
|
33
33
|
// viewerType: "project",
|
|
34
34
|
elementId: "viewer",
|
|
35
35
|
|
|
36
|
-
modelService: "https://static.
|
|
37
|
-
fileService: "https://static.
|
|
36
|
+
modelService: "https://static.belife-bim.com/modelApi",
|
|
37
|
+
fileService: "https://static.belife-bim.com/fileApi",
|
|
38
38
|
background: "linear-gradient(#e3fcfc, #f6ffff)",
|
|
39
39
|
|
|
40
40
|
components: {
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
},
|
|
47
47
|
},
|
|
48
48
|
};
|
|
49
|
-
BimAir.Loader({ url: "https://static.
|
|
49
|
+
BimAir.Loader({ url: "https://static.belife-bim.com/bimAir" }).then(() => {
|
|
50
50
|
let viewer = new BimAir.Viewer(options);
|
|
51
51
|
viewer.loadModels(["626b4d1ebfe39e58ae7b66a2"]).then(() => {});
|
|
52
52
|
});
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
<head>
|
|
2
2
|
<meta charset="UTF-8">
|
|
3
3
|
<title>颜色和动画</title>
|
|
4
|
-
<link rel="stylesheet" href="https://static.
|
|
5
|
-
<script src="https://static.
|
|
6
|
-
<script src="https://static.
|
|
4
|
+
<link rel="stylesheet" href="https://static.belife-bim.com/bimAir/BimAir.css">
|
|
5
|
+
<script src="https://static.belife-bim.com/vue.min.js"></script>
|
|
6
|
+
<script src="https://static.belife-bim.com/bimAir/BimAir.umd.min.js"></script>
|
|
7
7
|
</link>
|
|
8
8
|
|
|
9
9
|
</head>
|
|
@@ -66,8 +66,8 @@
|
|
|
66
66
|
// viewerType: "model",
|
|
67
67
|
elementId: "viewer",
|
|
68
68
|
id: "6253e9d6b0545a0a6e49bf85",
|
|
69
|
-
modelService: "https://static.
|
|
70
|
-
fileService: "https://static.
|
|
69
|
+
modelService: "https://static.belife-bim.com/modelApi",
|
|
70
|
+
fileService: "https://static.belife-bim.com/fileApi",
|
|
71
71
|
background: "linear-gradient(#e3fcfc, #f6ffff)",
|
|
72
72
|
};
|
|
73
73
|
let aboutCamera = {
|
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
|
|
86
86
|
let objectID1 = "QMD+M+4G+HYD+XDRA01+EL002";
|
|
87
87
|
|
|
88
|
-
BimAir.Loader({ url: "https://static.
|
|
88
|
+
BimAir.Loader({ url: "https://static.belife-bim.com/bimAir" }).then(() => {
|
|
89
89
|
viewer = new BimAir.Viewer(options);
|
|
90
90
|
this.viewer = viewer;
|
|
91
91
|
this.viewer.loadModels([id, model1]).then((lightModels) => {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
<head>
|
|
2
2
|
<meta charset="UTF-8">
|
|
3
3
|
<title>模型变换</title>
|
|
4
|
-
<link rel="stylesheet" href="https://static.
|
|
5
|
-
<script src="https://static.
|
|
6
|
-
<script src="https://static.
|
|
4
|
+
<link rel="stylesheet" href="https://static.belife-bim.com/bimAir/BimAir.css">
|
|
5
|
+
<script src="https://static.belife-bim.com/vue.min.js"></script>
|
|
6
|
+
<script src="https://static.belife-bim.com/bimAir/BimAir.umd.min.js"></script>
|
|
7
7
|
</link>
|
|
8
8
|
|
|
9
9
|
</head>
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
let rotateTime = 0;
|
|
79
79
|
let moveTime = 0;
|
|
80
80
|
|
|
81
|
-
BimAir.Loader({ url: "https://static.
|
|
81
|
+
BimAir.Loader({ url: "https://static.belife-bim.com/bimAir" }).then(() => {
|
|
82
82
|
viewer = new BimAir.Viewer(options);
|
|
83
83
|
|
|
84
84
|
let shengyazhanModelId = "62e3681f525bed6af87fb383"; //第一次加载升压站模型
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
<head>
|
|
2
2
|
<meta charset="UTF-8">
|
|
3
3
|
<title>多模型操作</title>
|
|
4
|
-
<link rel="stylesheet" href="https://static.
|
|
5
|
-
<script src="https://static.
|
|
6
|
-
<script src="https://static.
|
|
4
|
+
<link rel="stylesheet" href="https://static.belife-bim.com/bimAir/BimAir.css">
|
|
5
|
+
<script src="https://static.belife-bim.com/vue.min.js"></script>
|
|
6
|
+
<script src="https://static.belife-bim.com/bimAir/BimAir.umd.min.js"></script>
|
|
7
7
|
</link>
|
|
8
8
|
|
|
9
9
|
</head>
|
|
@@ -89,7 +89,7 @@
|
|
|
89
89
|
let tag_color = 118;
|
|
90
90
|
//let bangonglouModelId = "62ba4f503a591513fe17d930";
|
|
91
91
|
|
|
92
|
-
BimAir.Loader({ url: "https://static.
|
|
92
|
+
BimAir.Loader({ url: "https://static.belife-bim.com/bimAir" }).then(() => {
|
|
93
93
|
viewer = new BimAir.Viewer(options);
|
|
94
94
|
//viewer.isUpdateTt = true;
|
|
95
95
|
let bangonglouModelId = "62e35430525bed6af87fb12c";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
<head>
|
|
2
2
|
<meta charset="UTF-8">
|
|
3
3
|
<title>设置viewHouse</title>
|
|
4
|
-
<link rel="stylesheet" href="https://static.
|
|
5
|
-
<script src="https://static.
|
|
6
|
-
<script src="https://static.
|
|
4
|
+
<link rel="stylesheet" href="https://static.belife-bim.com/bimAir/BimAir.css">
|
|
5
|
+
<script src="https://static.belife-bim.com/vue.min.js"></script>
|
|
6
|
+
<script src="https://static.belife-bim.com/bimAir/BimAir.umd.min.js"></script>
|
|
7
7
|
</link>
|
|
8
8
|
|
|
9
9
|
</head>
|
|
@@ -86,7 +86,7 @@
|
|
|
86
86
|
let viewer;
|
|
87
87
|
let lightModels;
|
|
88
88
|
|
|
89
|
-
BimAir.Loader({ url: "https://static.
|
|
89
|
+
BimAir.Loader({ url: "https://static.belife-bim.com/bimAir" }).then(() => {
|
|
90
90
|
viewer = new BimAir.Viewer(options);
|
|
91
91
|
//viewer.isUpdateTt = true;
|
|
92
92
|
let bangonglouModelId = "62e35430525bed6af87fb12c";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
<head>
|
|
2
2
|
<meta charset="UTF-8">
|
|
3
3
|
<title>建筑隔离生长</title>
|
|
4
|
-
<link rel="stylesheet" href="https://static.
|
|
5
|
-
<script src="https://static.
|
|
6
|
-
<script src="https://static.
|
|
4
|
+
<link rel="stylesheet" href="https://static.belife-bim.com/bimAir/BimAir.css">
|
|
5
|
+
<script src="https://static.belife-bim.com/vue.min.js"></script>
|
|
6
|
+
<script src="https://static.belife-bim.com/bimAir/BimAir.umd.min.js"></script>
|
|
7
7
|
</link>
|
|
8
8
|
|
|
9
9
|
</head>
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
let tag_visible = true;
|
|
73
73
|
let tag_color = 118;
|
|
74
74
|
|
|
75
|
-
BimAir.Loader({ url: "https://static.
|
|
75
|
+
BimAir.Loader({ url: "https://static.belife-bim.com/bimAir" }).then(() => {
|
|
76
76
|
viewer = new BimAir.Viewer(options);
|
|
77
77
|
viewer = viewer;
|
|
78
78
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
<head>
|
|
2
2
|
<meta charset="UTF-8">
|
|
3
3
|
<title>管道生长</title>
|
|
4
|
-
<link rel="stylesheet" href="https://static.
|
|
5
|
-
<script src="https://static.
|
|
6
|
-
<script src="https://static.
|
|
4
|
+
<link rel="stylesheet" href="https://static.belife-bim.com/bimAir/BimAir.css">
|
|
5
|
+
<script src="https://static.belife-bim.com/vue.min.js"></script>
|
|
6
|
+
<script src="https://static.belife-bim.com/bimAir/BimAir.umd.min.js"></script>
|
|
7
7
|
</link>
|
|
8
8
|
|
|
9
9
|
</head>
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
//let bangonglouModelId = "62ba4f503a591513fe17d930";
|
|
75
75
|
let zhongyuModelId = "62e35bb4525bed6af87fb26c";
|
|
76
76
|
|
|
77
|
-
BimAir.Loader({ url: "https://static.
|
|
77
|
+
BimAir.Loader({ url: "https://static.belife-bim.com/bimAir" }).then(() => {
|
|
78
78
|
viewer = new BimAir.Viewer(options);
|
|
79
79
|
// viewer = viewer;
|
|
80
80
|
// viewer.isUpdateTt = true;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
<head>
|
|
2
2
|
<meta charset="UTF-8">
|
|
3
3
|
<title>管道生长</title>
|
|
4
|
-
<link rel="stylesheet" href="https://static.
|
|
5
|
-
<script src="https://static.
|
|
6
|
-
<script src="https://static.
|
|
4
|
+
<link rel="stylesheet" href="https://static.belife-bim.com/bimAir/BimAir.css">
|
|
5
|
+
<script src="https://static.belife-bim.com/vue.min.js"></script>
|
|
6
|
+
<script src="https://static.belife-bim.com/bimAir/BimAir.umd.min.js"></script>
|
|
7
7
|
</link>
|
|
8
8
|
|
|
9
9
|
</head>
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
//let bangonglouModelId = "62ba4f503a591513fe17d930";
|
|
75
75
|
let zhongyuModelId = "62e35bb4525bed6af87fb26c";
|
|
76
76
|
|
|
77
|
-
BimAir.Loader({ url: "https://static.
|
|
77
|
+
BimAir.Loader({ url: "https://static.belife-bim.com/bimAir" }).then(() => {
|
|
78
78
|
viewer = new BimAir.Viewer(options);
|
|
79
79
|
// viewer.isUpdateTt = true;
|
|
80
80
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
<head>
|
|
2
2
|
<meta charset="UTF-8">
|
|
3
3
|
<title>进度模拟</title>
|
|
4
|
-
<link rel="stylesheet" href="https://static.
|
|
5
|
-
<script src="https://static.
|
|
6
|
-
<script src="https://static.
|
|
4
|
+
<link rel="stylesheet" href="https://static.belife-bim.com/bimAir/BimAir.css">
|
|
5
|
+
<script src="https://static.belife-bim.com/vue.min.js"></script>
|
|
6
|
+
<script src="https://static.belife-bim.com/bimAir/BimAir.umd.min.js"></script>
|
|
7
7
|
</link>
|
|
8
8
|
|
|
9
9
|
</head>
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
let tag_color = 118;
|
|
75
75
|
//let bangonglouModelId = "62ba4f503a591513fe17d930";
|
|
76
76
|
|
|
77
|
-
BimAir.Loader({ url: "https://static.
|
|
77
|
+
BimAir.Loader({ url: "https://static.belife-bim.com/bimAir" }).then(() => {
|
|
78
78
|
viewer = new BimAir.Viewer(options);
|
|
79
79
|
//viewer.isUpdateTt = true;
|
|
80
80
|
let bangonglouModelId = "62e35430525bed6af87fb12c";
|
|
@@ -6,9 +6,9 @@
|
|
|
6
6
|
<meta name="viewport" content="width=device-width,initial-scale=1.0" />
|
|
7
7
|
<link rel="icon" href="<%= BASE_URL %>favicon.ico" />
|
|
8
8
|
<title>轻量化平台</title>
|
|
9
|
-
<link rel="stylesheet" href="https://static.
|
|
10
|
-
<script src="https://static.
|
|
11
|
-
<script src="https://static.
|
|
9
|
+
<link rel="stylesheet" href="https://static.belife-bim.com/bimAir/BimAir.css" />
|
|
10
|
+
<script src="https://static.belife-bim.com/vue.min.js"></script>
|
|
11
|
+
<script src="https://static.belife-bim.com/bimAir/BimAir.umd.min.js"></script>
|
|
12
12
|
</head>
|
|
13
13
|
|
|
14
14
|
<body>
|
|
@@ -35,11 +35,11 @@
|
|
|
35
35
|
let options = {
|
|
36
36
|
// viewerType: "model",
|
|
37
37
|
elementId: "viewer",
|
|
38
|
-
modelService: "https://static.
|
|
39
|
-
fileService: "https://static.
|
|
38
|
+
modelService: "https://static.belife-bim.com/modelApi",
|
|
39
|
+
fileService: "https://static.belife-bim.com/fileApi",
|
|
40
40
|
background: "linear-gradient(#e3fcfc, #f6ffff)",
|
|
41
41
|
};
|
|
42
|
-
BimAir.Loader({ url: "https://static.
|
|
42
|
+
BimAir.Loader({ url: "https://static.belife-bim.com/bimAir" }).then(() => {
|
|
43
43
|
let viewer = new BimAir.Viewer(options);
|
|
44
44
|
|
|
45
45
|
// 别墅模型Id
|
|
@@ -6,9 +6,9 @@
|
|
|
6
6
|
<meta name="viewport" content="width=device-width,initial-scale=1.0" />
|
|
7
7
|
<link rel="icon" href="<%= BASE_URL %>favicon.ico" />
|
|
8
8
|
<title>轻量化平台</title>
|
|
9
|
-
<link rel="stylesheet" href="https://static.
|
|
10
|
-
<script src="https://static.
|
|
11
|
-
<script src="https://static.
|
|
9
|
+
<link rel="stylesheet" href="https://static.belife-bim.com/bimAir/BimAir.css" />
|
|
10
|
+
<script src="https://static.belife-bim.com/vue.min.js"></script>
|
|
11
|
+
<script src="https://static.belife-bim.com/bimAir/BimAir.umd.min.js"></script>
|
|
12
12
|
</head>
|
|
13
13
|
|
|
14
14
|
<body>
|
|
@@ -35,12 +35,12 @@
|
|
|
35
35
|
let options = {
|
|
36
36
|
// viewerType: "model",
|
|
37
37
|
elementId: "viewer",
|
|
38
|
-
modelService: "https://static.
|
|
39
|
-
fileService: "https://static.
|
|
38
|
+
modelService: "https://static.belife-bim.com/modelApi",
|
|
39
|
+
fileService: "https://static.belife-bim.com/fileApi",
|
|
40
40
|
background: "linear-gradient(#e3fcfc, #f6ffff)",
|
|
41
41
|
};
|
|
42
42
|
|
|
43
|
-
BimAir.Loader({ url: "https://static.
|
|
43
|
+
BimAir.Loader({ url: "https://static.belife-bim.com/bimAir" }).then(() => {
|
|
44
44
|
let viewer = new BimAir.Viewer(options);
|
|
45
45
|
|
|
46
46
|
// 厂房Id
|