gs-bim-air 0.1.3-0.28 → 0.1.3-0.29
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/READMEBETA2.md +13 -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/UV/345/212/250/347/224/273.html +7 -7
- 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 +6 -6
- 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/interfaces/Options.md +13 -0
- package/lib/BimAir.common-report.html +2 -2
- package/lib/BimAir.common.js +4 -4
- package/lib/BimAir.css +41 -41
- package/lib/BimAir.umd-report.html +2 -2
- package/lib/BimAir.umd.js +4 -4
- package/lib/BimAir.umd.min-report.html +2 -2
- package/lib/BimAir.umd.min.js +4 -4
- package/lib/undefined.gzundefined +0 -0
- package/package.json +1 -1
package/READMEBETA2.md
CHANGED
|
@@ -207,3 +207,16 @@ viewer.panelManager.structureTree.toggleCallback = (visible) => {
|
|
|
207
207
|
- 修复隐藏其他对象结构树勾选框不变的问题
|
|
208
208
|
- 修复结构树高亮问题
|
|
209
209
|
- 请求贴图方式从 fetch 改为 xhr
|
|
210
|
+
|
|
211
|
+
### 0.1.30.29
|
|
212
|
+
|
|
213
|
+
- 修复结构树隐藏节点显示勾选框问题
|
|
214
|
+
- 添加 logarithmicDepthBuffer 配置
|
|
215
|
+
|
|
216
|
+
```js
|
|
217
|
+
options: {
|
|
218
|
+
renderingOptions: {
|
|
219
|
+
logarithmicDepthBuffer: true;
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
```
|
|
@@ -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.graphicstone.com/bimAir/BimAir.css">
|
|
8
|
+
<script src="https://static.graphicstone.com/vue.min.js"></script>
|
|
9
|
+
<script src="https://static.graphicstone.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.graphicstone.com/modelApi",
|
|
71
|
+
fileService: "https://static.graphicstone.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.graphicstone.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.graphicstone.com/bimAir/BimAir.css">
|
|
8
|
+
<script src="https://static.graphicstone.com/vue.min.js"></script>
|
|
9
|
+
<script src="https://static.graphicstone.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.graphicstone.com/modelApi",
|
|
61
|
+
fileService: "https://static.graphicstone.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.graphicstone.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.graphicstone.com/bimAir/BimAir.css">
|
|
8
|
+
<script src="https://static.graphicstone.com/vue.min.js"></script>
|
|
9
|
+
<script src="https://static.graphicstone.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.graphicstone.com/modelApi",
|
|
61
|
+
fileService: "https://static.graphicstone.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.graphicstone.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.graphicstone.com/bimAir/BimAir.css" />
|
|
9
|
+
<script src="https://static.graphicstone.com/vue.min.js"></script>
|
|
10
|
+
<script src="https://static.graphicstone.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.graphicstone.com/modelApi",
|
|
41
|
+
fileService: "https://static.graphicstone.com/fileApi",
|
|
42
42
|
background: "linear-gradient(#e3fcfc, #f6ffff)",
|
|
43
43
|
};
|
|
44
|
-
BimAir.Loader({ url: "https://static.
|
|
44
|
+
BimAir.Loader({ url: "https://static.graphicstone.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.graphicstone.com/bimAir/BimAir.css" />
|
|
7
|
+
<script src="https://static.graphicstone.com/vue.min.js"></script>
|
|
8
|
+
<script src="https://static.graphicstone.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.graphicstone.com/modelApi",
|
|
38
|
+
fileService: "https://static.graphicstone.com/fileApi",
|
|
39
39
|
background: "linear-gradient(#e3fcfc, #f6ffff)",
|
|
40
40
|
};
|
|
41
|
-
BimAir.Loader({ url: "https://static.
|
|
41
|
+
BimAir.Loader({ url: "https://static.graphicstone.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.graphicstone.com/bimAir/BimAir.css">
|
|
8
|
+
<script src="https://static.graphicstone.com/vue.min.js"></script>
|
|
9
|
+
<script src="https://static.graphicstone.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.graphicstone.com/modelApi",
|
|
62
|
+
fileService: "https://static.graphicstone.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.graphicstone.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.graphicstone.com/bimAir/BimAir.css">
|
|
8
|
+
<script src="https://static.graphicstone.com/vue.min.js"></script>
|
|
9
|
+
<script src="https://static.graphicstone.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.graphicstone.com/modelApi",
|
|
66
|
+
fileService: "https://static.graphicstone.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.graphicstone.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.graphicstone.com/bimAir/BimAir.css">
|
|
5
|
+
<script src="https://static.graphicstone.com/vue.min.js"></script>
|
|
6
|
+
<script src="https://static.graphicstone.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.graphicstone.com/modelApi",
|
|
60
|
+
fileService: "https://static.graphicstone.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.graphicstone.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.graphicstone.com/bimAir/BimAir.css" />
|
|
7
|
+
<script src="https://static.graphicstone.com/vue.min.js"></script>
|
|
8
|
+
<script src="https://static.graphicstone.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.graphicstone.com/modelApi",
|
|
37
|
+
fileService: "https://static.graphicstone.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.graphicstone.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.graphicstone.com/bimAir/BimAir.css">
|
|
5
|
+
<script src="https://static.graphicstone.com/vue.min.js"></script>
|
|
6
|
+
<script src="https://static.graphicstone.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.graphicstone.com/modelApi",
|
|
70
|
+
fileService: "https://static.graphicstone.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.graphicstone.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.graphicstone.com/bimAir/BimAir.css">
|
|
5
|
+
<script src="https://static.graphicstone.com/vue.min.js"></script>
|
|
6
|
+
<script src="https://static.graphicstone.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.graphicstone.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.graphicstone.com/bimAir/BimAir.css">
|
|
5
|
+
<script src="https://static.graphicstone.com/vue.min.js"></script>
|
|
6
|
+
<script src="https://static.graphicstone.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.graphicstone.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.graphicstone.com/bimAir/BimAir.css">
|
|
5
|
+
<script src="https://static.graphicstone.com/vue.min.js"></script>
|
|
6
|
+
<script src="https://static.graphicstone.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.graphicstone.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.graphicstone.com/bimAir/BimAir.css">
|
|
5
|
+
<script src="https://static.graphicstone.com/vue.min.js"></script>
|
|
6
|
+
<script src="https://static.graphicstone.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.graphicstone.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.graphicstone.com/bimAir/BimAir.css">
|
|
5
|
+
<script src="https://static.graphicstone.com/vue.min.js"></script>
|
|
6
|
+
<script src="https://static.graphicstone.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.graphicstone.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.graphicstone.com/bimAir/BimAir.css">
|
|
5
|
+
<script src="https://static.graphicstone.com/vue.min.js"></script>
|
|
6
|
+
<script src="https://static.graphicstone.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.graphicstone.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.graphicstone.com/bimAir/BimAir.css">
|
|
5
|
+
<script src="https://static.graphicstone.com/vue.min.js"></script>
|
|
6
|
+
<script src="https://static.graphicstone.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.graphicstone.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.graphicstone.com/bimAir/BimAir.css" />
|
|
10
|
+
<script src="https://static.graphicstone.com/vue.min.js"></script>
|
|
11
|
+
<script src="https://static.graphicstone.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.graphicstone.com/modelApi",
|
|
39
|
+
fileService: "https://static.graphicstone.com/fileApi",
|
|
40
40
|
background: "linear-gradient(#e3fcfc, #f6ffff)",
|
|
41
41
|
};
|
|
42
|
-
BimAir.Loader({ url: "https://static.
|
|
42
|
+
BimAir.Loader({ url: "https://static.graphicstone.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.graphicstone.com/bimAir/BimAir.css" />
|
|
10
|
+
<script src="https://static.graphicstone.com/vue.min.js"></script>
|
|
11
|
+
<script src="https://static.graphicstone.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.graphicstone.com/modelApi",
|
|
39
|
+
fileService: "https://static.graphicstone.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.graphicstone.com/bimAir" }).then(() => {
|
|
44
44
|
let viewer = new BimAir.Viewer(options);
|
|
45
45
|
|
|
46
46
|
// 厂房Id
|
|
@@ -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.graphicstone.com/bimAir/BimAir.css" />
|
|
7
|
+
<script src="https://static.graphicstone.com/vue.min.js"></script>
|
|
8
|
+
<script src="https://static.graphicstone.com/bimAir/BimAir.umd.min.js"></script>
|
|
9
9
|
</head>
|
|
10
10
|
|
|
11
11
|
<body>
|
|
@@ -33,11 +33,11 @@
|
|
|
33
33
|
// viewerType: "model",
|
|
34
34
|
elementId: "viewer",
|
|
35
35
|
|
|
36
|
-
modelService: "https://static.
|
|
37
|
-
fileService: "https://static.
|
|
36
|
+
modelService: "https://static.graphicstone.com/modelApi",
|
|
37
|
+
fileService: "https://static.graphicstone.com/fileApi",
|
|
38
38
|
background: "linear-gradient(#e3fcfc, #f6ffff)",
|
|
39
39
|
};
|
|
40
|
-
BimAir.Loader({ url: "https://static.
|
|
40
|
+
BimAir.Loader({ url: "https://static.graphicstone.com/bimAir" }).then(() => {
|
|
41
41
|
let viewer = new BimAir.Viewer(options);
|
|
42
42
|
});
|
|
43
43
|
</script>
|
|
@@ -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.graphicstone.com/bimAir/BimAir.css" />
|
|
7
|
+
<script src="https://static.graphicstone.com/vue.min.js"></script>
|
|
8
|
+
<script src="https://static.graphicstone.com/bimAir/BimAir.umd.min.js"></script>
|
|
9
9
|
</head>
|
|
10
10
|
|
|
11
11
|
<body>
|
|
@@ -32,12 +32,12 @@
|
|
|
32
32
|
|
|
33
33
|
let options = {
|
|
34
34
|
elementId: "viewer",
|
|
35
|
-
modelService: "https://static.
|
|
36
|
-
fileService: "https://static.
|
|
35
|
+
modelService: "https://static.graphicstone.com/modelApi",
|
|
36
|
+
fileService: "https://static.graphicstone.com/fileApi",
|
|
37
37
|
background: "linear-gradient(#e3fcfc, #f6ffff)",
|
|
38
38
|
};
|
|
39
39
|
BimAir.Loader({
|
|
40
|
-
url: "https://static.
|
|
40
|
+
url: "https://static.graphicstone.com/bimAir",
|
|
41
41
|
}).then(() => {
|
|
42
42
|
let viewer = new BimAir.Viewer(options);
|
|
43
43
|
viewer.loadModels([{ id: "626b4d1ebfe39e58ae7b66a2", version: 1 }]).then(lightModels => {});
|