gs-bim-air 0.0.3-0.32 → 0.0.3-0.34
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 +25 -2
- package/docs/classes/LightModel.md +22 -0
- package/docs/classes/Viewer.md +53 -2
- package/docs/interfaces/Options.md +13 -0
- package/lib/BimAir.common-report.html +2 -2
- package/lib/BimAir.common.js +27 -37
- package/lib/BimAir.umd-report.html +2 -2
- package/lib/BimAir.umd.js +27 -37
- package/lib/BimAir.umd.min-report.html +2 -2
- package/lib/BimAir.umd.min.js +27 -37
- package/lib/undefined.gzundefined +0 -0
- package/package.json +1 -1
- package/public/js/longan/longan.js +395 -391
- 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,11 +318,11 @@ 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 的内核模型无法显示的问题
|
|
@@ -356,3 +356,26 @@ let options = {
|
|
|
356
356
|
},
|
|
357
357
|
};
|
|
358
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
|
+
- ~~优化最小距离测量效率~~
|
|
377
|
+
- 修复测量体积报错的问题
|
|
378
|
+
- 限制碰撞面板的结构树不能同时选父子关系的节点
|
|
379
|
+
- 修复 RVM 模型浏览内存溢出问题
|
|
380
|
+
- 修复了模型多线程异步加载在一些情况下导致出错的问题
|
|
381
|
+
- 提高模型渲染效率
|
|
@@ -61,6 +61,7 @@
|
|
|
61
61
|
- [dispose](LightModel.md#dispose)
|
|
62
62
|
- [forEach](LightModel.md#foreach)
|
|
63
63
|
- [getComponent](LightModel.md#getcomponent)
|
|
64
|
+
- [loadGslTimer](LightModel.md#loadgsltimer)
|
|
64
65
|
- [loadModel](LightModel.md#loadmodel)
|
|
65
66
|
- [onModelLoaded](LightModel.md#onmodelloaded)
|
|
66
67
|
- [remove](LightModel.md#remove)
|
|
@@ -960,6 +961,27 @@ ___
|
|
|
960
961
|
|
|
961
962
|
___
|
|
962
963
|
|
|
964
|
+
### loadGslTimer
|
|
965
|
+
|
|
966
|
+
▸ **loadGslTimer**(`process`, `bytes`): `Promise`<`void`\>
|
|
967
|
+
|
|
968
|
+
#### Parameters
|
|
969
|
+
|
|
970
|
+
| Name | Type |
|
|
971
|
+
| :------ | :------ |
|
|
972
|
+
| `process` | `Process` |
|
|
973
|
+
| `bytes` | `ArrayBuffer` |
|
|
974
|
+
|
|
975
|
+
#### Returns
|
|
976
|
+
|
|
977
|
+
`Promise`<`void`\>
|
|
978
|
+
|
|
979
|
+
#### Inherited from
|
|
980
|
+
|
|
981
|
+
Longan.LightModel.loadGslTimer
|
|
982
|
+
|
|
983
|
+
___
|
|
984
|
+
|
|
963
985
|
### loadModel
|
|
964
986
|
|
|
965
987
|
▸ **loadModel**(`data`, `process`, `isCached?`): `Promise`<`void`\>
|
package/docs/classes/Viewer.md
CHANGED
|
@@ -70,6 +70,7 @@
|
|
|
70
70
|
- [process](Viewer.md#process)
|
|
71
71
|
- [propertyManager](Viewer.md#propertymanager)
|
|
72
72
|
- [rButtonDown](Viewer.md#rbuttondown)
|
|
73
|
+
- [renderViewAll](Viewer.md#renderviewall)
|
|
73
74
|
- [sceneCameraChanged](Viewer.md#scenecamerachanged)
|
|
74
75
|
- [sceneCameraChanging](Viewer.md#scenecamerachanging)
|
|
75
76
|
- [structureTreeManager](Viewer.md#structuretreemanager)
|
|
@@ -129,6 +130,7 @@
|
|
|
129
130
|
### Methods
|
|
130
131
|
|
|
131
132
|
- [DeInstantiateRenderObject](Viewer.md#deinstantiaterenderobject)
|
|
133
|
+
- [DebugLog](Viewer.md#debuglog)
|
|
132
134
|
- [addAdits](Viewer.md#addadits)
|
|
133
135
|
- [addBoreholes](Viewer.md#addboreholes)
|
|
134
136
|
- [addPoint](Viewer.md#addpoint)
|
|
@@ -137,6 +139,7 @@
|
|
|
137
139
|
- [asynRemoveGeometry](Viewer.md#asynremovegeometry)
|
|
138
140
|
- [asynUPGDTaskRun](Viewer.md#asynupgdtaskrun)
|
|
139
141
|
- [asynUpdateView](Viewer.md#asynupdateview)
|
|
142
|
+
- [checkStreamToGeometryEnable](Viewer.md#checkstreamtogeometryenable)
|
|
140
143
|
- [clearCache](Viewer.md#clearcache)
|
|
141
144
|
- [computeBoundingBox](Viewer.md#computeboundingbox)
|
|
142
145
|
- [computeBoundingBoxWithVisibility](Viewer.md#computeboundingboxwithvisibility)
|
|
@@ -757,6 +760,18 @@ LonganViewer.rButtonDown
|
|
|
757
760
|
|
|
758
761
|
___
|
|
759
762
|
|
|
763
|
+
### renderViewAll
|
|
764
|
+
|
|
765
|
+
• **renderViewAll**: `boolean` = `false`
|
|
766
|
+
|
|
767
|
+
需要先绘制所有(鼠标操作busy时会只绘制一部分图形.)
|
|
768
|
+
|
|
769
|
+
#### Inherited from
|
|
770
|
+
|
|
771
|
+
LonganViewer.renderViewAll
|
|
772
|
+
|
|
773
|
+
___
|
|
774
|
+
|
|
760
775
|
### sceneCameraChanged
|
|
761
776
|
|
|
762
777
|
• **sceneCameraChanged**: `List`<`Function`\>
|
|
@@ -1843,6 +1858,26 @@ LonganViewer.DeInstantiateRenderObject
|
|
|
1843
1858
|
|
|
1844
1859
|
___
|
|
1845
1860
|
|
|
1861
|
+
### DebugLog
|
|
1862
|
+
|
|
1863
|
+
▸ **DebugLog**(`mes`): `void`
|
|
1864
|
+
|
|
1865
|
+
#### Parameters
|
|
1866
|
+
|
|
1867
|
+
| Name | Type |
|
|
1868
|
+
| :------ | :------ |
|
|
1869
|
+
| `mes` | `string` |
|
|
1870
|
+
|
|
1871
|
+
#### Returns
|
|
1872
|
+
|
|
1873
|
+
`void`
|
|
1874
|
+
|
|
1875
|
+
#### Inherited from
|
|
1876
|
+
|
|
1877
|
+
LonganViewer.DebugLog
|
|
1878
|
+
|
|
1879
|
+
___
|
|
1880
|
+
|
|
1846
1881
|
### addAdits
|
|
1847
1882
|
|
|
1848
1883
|
▸ **addAdits**(`name`, `aditDatas`, `color?`): `Promise`<[`AditObjects`](AditObjects.md)\>
|
|
@@ -1988,6 +2023,22 @@ LonganViewer.asynUpdateView
|
|
|
1988
2023
|
|
|
1989
2024
|
___
|
|
1990
2025
|
|
|
2026
|
+
### checkStreamToGeometryEnable
|
|
2027
|
+
|
|
2028
|
+
▸ **checkStreamToGeometryEnable**(): `boolean`
|
|
2029
|
+
|
|
2030
|
+
#### Returns
|
|
2031
|
+
|
|
2032
|
+
`boolean`
|
|
2033
|
+
|
|
2034
|
+
判断streamToGeometry是否可执行.
|
|
2035
|
+
|
|
2036
|
+
#### Inherited from
|
|
2037
|
+
|
|
2038
|
+
LonganViewer.checkStreamToGeometryEnable
|
|
2039
|
+
|
|
2040
|
+
___
|
|
2041
|
+
|
|
1991
2042
|
### clearCache
|
|
1992
2043
|
|
|
1993
2044
|
▸ **clearCache**(): `Promise`<`void`\>
|
|
@@ -2047,7 +2098,7 @@ ___
|
|
|
2047
2098
|
|
|
2048
2099
|
### computeCollision
|
|
2049
2100
|
|
|
2050
|
-
▸ **computeCollision**(`one`, `two`, `type`, `softDiatance?`, `computeInvisible?`): `Promise`<[]\>
|
|
2101
|
+
▸ **computeCollision**(`one`, `two`, `type`, `softDiatance?`, `computeInvisible?`): `Promise`<{ `keyOne`: `number` ; `keyTwo`: `number` ; `pathOne`: `string` ; `pathTwo`: `string` ; `position`: `number`[] ; `type`: `CollisionType` }[]\>
|
|
2051
2102
|
|
|
2052
2103
|
#### Parameters
|
|
2053
2104
|
|
|
@@ -2061,7 +2112,7 @@ ___
|
|
|
2061
2112
|
|
|
2062
2113
|
#### Returns
|
|
2063
2114
|
|
|
2064
|
-
`Promise`<[]\>
|
|
2115
|
+
`Promise`<{ `keyOne`: `number` ; `keyTwo`: `number` ; `pathOne`: `string` ; `pathTwo`: `string` ; `position`: `number`[] ; `type`: `CollisionType` }[]\>
|
|
2065
2116
|
|
|
2066
2117
|
#### Inherited from
|
|
2067
2118
|
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
- [background](Options.md#background)
|
|
10
10
|
- [components](Options.md#components)
|
|
11
11
|
- [elementId](Options.md#elementid)
|
|
12
|
+
- [events](Options.md#events)
|
|
12
13
|
- [fileService](Options.md#fileservice)
|
|
13
14
|
- [isShowLoading](Options.md#isshowloading)
|
|
14
15
|
- [loaderUrl](Options.md#loaderurl)
|
|
@@ -70,6 +71,18 @@ ___
|
|
|
70
71
|
|
|
71
72
|
___
|
|
72
73
|
|
|
74
|
+
### events
|
|
75
|
+
|
|
76
|
+
• `Optional` **events**: `Object`
|
|
77
|
+
|
|
78
|
+
#### Type declaration
|
|
79
|
+
|
|
80
|
+
| Name | Type |
|
|
81
|
+
| :------ | :------ |
|
|
82
|
+
| `lButtonState` | `LButtonState` |
|
|
83
|
+
|
|
84
|
+
___
|
|
85
|
+
|
|
73
86
|
### fileService
|
|
74
87
|
|
|
75
88
|
• `Optional` **fileService**: `string`
|