gs-bim-air 1.6.1-beta.67 → 1.6.1-beta.69
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/README.md +14 -0
- package/docs/classes/Command.CommandShowCaeAxisCut.md +7 -0
- package/docs/modules/CAE.md +223 -0
- package/docs//345/277/253/351/200/237/344/270/212/346/211/213.pdf +0 -0
- package/lib/BimAir.common-report.html +2 -2
- package/lib/BimAir.common.js +6 -6
- package/lib/BimAir.css +49 -49
- package/lib/BimAir.umd-report.html +2 -2
- package/lib/BimAir.umd.js +6 -6
- package/lib/BimAir.umd.min-report.html +2 -2
- package/lib/BimAir.umd.min.js +6 -6
- package/lib/undefined.gzundefined +0 -0
- package/package.json +1 -1
- package/public/js/longanWithoutShareArrayBuffer/longan.js +1 -1
- package/public/js/longanWithoutShareArrayBuffer/longan.wasm +0 -0
package/README.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
## BIMAir 更新日志
|
|
2
2
|
|
|
3
|
+
### 1.6.1-beta.69
|
|
4
|
+
|
|
5
|
+
- feat: 隐藏第三人称漫游功能
|
|
6
|
+
- feat: cae 分析模型提前提取 elements 数据,提高剖切计算效率
|
|
7
|
+
|
|
8
|
+
### 1.6.1-beta.68
|
|
9
|
+
|
|
10
|
+
> 更新 public/js 里的内核文件,安装此版本需替换 js 文件夹
|
|
11
|
+
|
|
12
|
+
- feat: 优化 cae 模型轴剖切效率
|
|
13
|
+
- feat: 粒子系统修复完毕
|
|
14
|
+
- fix: 修复了再次进入第三人称漫游命令重新创建 shader 的问题
|
|
15
|
+
- fix: 修复添加视点影响 ro 渲染树导致加载 worker.gsz 出错的问题
|
|
16
|
+
|
|
3
17
|
### 1.6.1-beta.67
|
|
4
18
|
|
|
5
19
|
- feat: 优化计算 cae 分析模型剖切面图片接口效率
|
|
@@ -22,6 +22,7 @@
|
|
|
22
22
|
- [\_axisDirection](Command.CommandShowCaeAxisCut.md#_axisdirection)
|
|
23
23
|
- [\_bb](Command.CommandShowCaeAxisCut.md#_bb)
|
|
24
24
|
- [\_cuttingPlaneOperator](Command.CommandShowCaeAxisCut.md#_cuttingplaneoperator)
|
|
25
|
+
- [\_elements](Command.CommandShowCaeAxisCut.md#_elements)
|
|
25
26
|
- [\_viewer](Command.CommandShowCaeAxisCut.md#_viewer)
|
|
26
27
|
- [bag](Command.CommandShowCaeAxisCut.md#bag)
|
|
27
28
|
- [onBegin](Command.CommandShowCaeAxisCut.md#onbegin)
|
|
@@ -111,6 +112,12 @@ ___
|
|
|
111
112
|
|
|
112
113
|
___
|
|
113
114
|
|
|
115
|
+
### \_elements
|
|
116
|
+
|
|
117
|
+
• **\_elements**: [`List`](Longan.List.md)<`CaeElement`\>
|
|
118
|
+
|
|
119
|
+
___
|
|
120
|
+
|
|
114
121
|
### \_viewer
|
|
115
122
|
|
|
116
123
|
• **\_viewer**: [`Viewer`](Viewer.md)
|
package/docs/modules/CAE.md
CHANGED
|
@@ -6,17 +6,144 @@
|
|
|
6
6
|
|
|
7
7
|
### Functions
|
|
8
8
|
|
|
9
|
+
- [cutElementByPlane](CAE.md#cutelementbyplane)
|
|
10
|
+
- [cutElementByXAxis](CAE.md#cutelementbyxaxis)
|
|
11
|
+
- [cutElementByYAxis](CAE.md#cutelementbyyaxis)
|
|
12
|
+
- [cutElementByZAxis](CAE.md#cutelementbyzaxis)
|
|
13
|
+
- [cutElementsByPlane](CAE.md#cutelementsbyplane)
|
|
14
|
+
- [cutElementsImageByPlane](CAE.md#cutelementsimagebyplane)
|
|
9
15
|
- [cutModelByPlane](CAE.md#cutmodelbyplane)
|
|
16
|
+
- [cutModelByXAxis](CAE.md#cutmodelbyxaxis)
|
|
17
|
+
- [cutModelByYAxis](CAE.md#cutmodelbyyaxis)
|
|
18
|
+
- [cutModelByZAxis](CAE.md#cutmodelbyzaxis)
|
|
10
19
|
- [cutModelImageByPlane](CAE.md#cutmodelimagebyplane)
|
|
20
|
+
- [getElements](CAE.md#getelements)
|
|
11
21
|
- [insertPlaneCuttingResult](CAE.md#insertplanecuttingresult)
|
|
12
22
|
- [insertPlaneCuttingResultToSegment](CAE.md#insertplanecuttingresulttosegment)
|
|
13
23
|
- [setColor](CAE.md#setcolor)
|
|
14
24
|
- [test](CAE.md#test)
|
|
15
25
|
- [test1](CAE.md#test1)
|
|
26
|
+
- [test2](CAE.md#test2)
|
|
16
27
|
- [testColor](CAE.md#testcolor)
|
|
17
28
|
|
|
18
29
|
## Functions
|
|
19
30
|
|
|
31
|
+
### cutElementByPlane
|
|
32
|
+
|
|
33
|
+
▸ **cutElementByPlane**(`element`, `planeRoot`, `planeNormal`): { `data`: `undefined` ; `res`: `boolean` = false } \| { `data`: `CaeElementPlaneCuttingResult` ; `res`: `boolean` = true }
|
|
34
|
+
|
|
35
|
+
剖面切分element
|
|
36
|
+
|
|
37
|
+
#### Parameters
|
|
38
|
+
|
|
39
|
+
| Name | Type | Description |
|
|
40
|
+
| :------ | :------ | :------ |
|
|
41
|
+
| `element` | `CaeElement` | |
|
|
42
|
+
| `planeRoot` | `Float32Array` | 剖面点 |
|
|
43
|
+
| `planeNormal` | `Float32Array` | 剖面法向 |
|
|
44
|
+
|
|
45
|
+
#### Returns
|
|
46
|
+
|
|
47
|
+
{ `data`: `undefined` ; `res`: `boolean` = false } \| { `data`: `CaeElementPlaneCuttingResult` ; `res`: `boolean` = true }
|
|
48
|
+
|
|
49
|
+
___
|
|
50
|
+
|
|
51
|
+
### cutElementByXAxis
|
|
52
|
+
|
|
53
|
+
▸ **cutElementByXAxis**(`element`, `coord`, `sign`): { `data`: `undefined` ; `res`: `boolean` = false } \| { `data`: `CaeElementPlaneCuttingResult` ; `res`: `boolean` = true }
|
|
54
|
+
|
|
55
|
+
x方向剖面切分element
|
|
56
|
+
|
|
57
|
+
#### Parameters
|
|
58
|
+
|
|
59
|
+
| Name | Type | Description |
|
|
60
|
+
| :------ | :------ | :------ |
|
|
61
|
+
| `element` | `CaeElement` | |
|
|
62
|
+
| `coord` | `number` | 坐标值 |
|
|
63
|
+
| `sign` | `boolean` | 方向 |
|
|
64
|
+
|
|
65
|
+
#### Returns
|
|
66
|
+
|
|
67
|
+
{ `data`: `undefined` ; `res`: `boolean` = false } \| { `data`: `CaeElementPlaneCuttingResult` ; `res`: `boolean` = true }
|
|
68
|
+
|
|
69
|
+
___
|
|
70
|
+
|
|
71
|
+
### cutElementByYAxis
|
|
72
|
+
|
|
73
|
+
▸ **cutElementByYAxis**(`element`, `coord`, `sign`): { `data`: `undefined` ; `res`: `boolean` = false } \| { `data`: `CaeElementPlaneCuttingResult` ; `res`: `boolean` = true }
|
|
74
|
+
|
|
75
|
+
y方向剖面切分element
|
|
76
|
+
|
|
77
|
+
#### Parameters
|
|
78
|
+
|
|
79
|
+
| Name | Type | Description |
|
|
80
|
+
| :------ | :------ | :------ |
|
|
81
|
+
| `element` | `CaeElement` | |
|
|
82
|
+
| `coord` | `number` | 坐标值 |
|
|
83
|
+
| `sign` | `boolean` | 方向 |
|
|
84
|
+
|
|
85
|
+
#### Returns
|
|
86
|
+
|
|
87
|
+
{ `data`: `undefined` ; `res`: `boolean` = false } \| { `data`: `CaeElementPlaneCuttingResult` ; `res`: `boolean` = true }
|
|
88
|
+
|
|
89
|
+
___
|
|
90
|
+
|
|
91
|
+
### cutElementByZAxis
|
|
92
|
+
|
|
93
|
+
▸ **cutElementByZAxis**(`element`, `coord`, `sign`): { `data`: `undefined` ; `res`: `boolean` = false } \| { `data`: `CaeElementPlaneCuttingResult` ; `res`: `boolean` = true }
|
|
94
|
+
|
|
95
|
+
z方向剖面切分element
|
|
96
|
+
|
|
97
|
+
#### Parameters
|
|
98
|
+
|
|
99
|
+
| Name | Type | Description |
|
|
100
|
+
| :------ | :------ | :------ |
|
|
101
|
+
| `element` | `CaeElement` | |
|
|
102
|
+
| `coord` | `number` | 坐标值 |
|
|
103
|
+
| `sign` | `boolean` | 方向 |
|
|
104
|
+
|
|
105
|
+
#### Returns
|
|
106
|
+
|
|
107
|
+
{ `data`: `undefined` ; `res`: `boolean` = false } \| { `data`: `CaeElementPlaneCuttingResult` ; `res`: `boolean` = true }
|
|
108
|
+
|
|
109
|
+
___
|
|
110
|
+
|
|
111
|
+
### cutElementsByPlane
|
|
112
|
+
|
|
113
|
+
▸ **cutElementsByPlane**(`elements`, `planeRoot`, `planeNormal`): [`List`](../classes/Longan.List.md)<`CaeElementPlaneCuttingResult`\>
|
|
114
|
+
|
|
115
|
+
#### Parameters
|
|
116
|
+
|
|
117
|
+
| Name | Type |
|
|
118
|
+
| :------ | :------ |
|
|
119
|
+
| `elements` | [`List`](../classes/Longan.List.md)<`CaeElement`\> |
|
|
120
|
+
| `planeRoot` | `Float32Array` |
|
|
121
|
+
| `planeNormal` | `Float32Array` |
|
|
122
|
+
|
|
123
|
+
#### Returns
|
|
124
|
+
|
|
125
|
+
[`List`](../classes/Longan.List.md)<`CaeElementPlaneCuttingResult`\>
|
|
126
|
+
|
|
127
|
+
___
|
|
128
|
+
|
|
129
|
+
### cutElementsImageByPlane
|
|
130
|
+
|
|
131
|
+
▸ **cutElementsImageByPlane**(`elements`, `planeRoot`, `planeNormal`): [`List`](../classes/Longan.List.md)<`CaeElementPlaneCuttingResult`\>
|
|
132
|
+
|
|
133
|
+
#### Parameters
|
|
134
|
+
|
|
135
|
+
| Name | Type |
|
|
136
|
+
| :------ | :------ |
|
|
137
|
+
| `elements` | [`List`](../classes/Longan.List.md)<`CaeElement`\> |
|
|
138
|
+
| `planeRoot` | `Float32Array` |
|
|
139
|
+
| `planeNormal` | `Float32Array` |
|
|
140
|
+
|
|
141
|
+
#### Returns
|
|
142
|
+
|
|
143
|
+
[`List`](../classes/Longan.List.md)<`CaeElementPlaneCuttingResult`\>
|
|
144
|
+
|
|
145
|
+
___
|
|
146
|
+
|
|
20
147
|
### cutModelByPlane
|
|
21
148
|
|
|
22
149
|
▸ **cutModelByPlane**(`segObj`, `planeRoot`, `planeNormal`): `Promise`<[`List`](../classes/Longan.List.md)<`CaeElementPlaneCuttingResult`\>\>
|
|
@@ -37,6 +164,66 @@
|
|
|
37
164
|
|
|
38
165
|
___
|
|
39
166
|
|
|
167
|
+
### cutModelByXAxis
|
|
168
|
+
|
|
169
|
+
▸ **cutModelByXAxis**(`segObj`, `coord`, `sign`): `Promise`<[`List`](../classes/Longan.List.md)<`CaeElementPlaneCuttingResult`\>\>
|
|
170
|
+
|
|
171
|
+
#### Parameters
|
|
172
|
+
|
|
173
|
+
| Name | Type | Description |
|
|
174
|
+
| :------ | :------ | :------ |
|
|
175
|
+
| `segObj` | [`SegmentObject`](../classes/SegmentObject.md) | 剖面切分cae分析模型 |
|
|
176
|
+
| `coord` | `number` | 坐标值 |
|
|
177
|
+
| `sign` | `boolean` | 方向 |
|
|
178
|
+
|
|
179
|
+
#### Returns
|
|
180
|
+
|
|
181
|
+
`Promise`<[`List`](../classes/Longan.List.md)<`CaeElementPlaneCuttingResult`\>\>
|
|
182
|
+
|
|
183
|
+
剖切结果
|
|
184
|
+
|
|
185
|
+
___
|
|
186
|
+
|
|
187
|
+
### cutModelByYAxis
|
|
188
|
+
|
|
189
|
+
▸ **cutModelByYAxis**(`segObj`, `coord`, `sign`): `Promise`<[`List`](../classes/Longan.List.md)<`CaeElementPlaneCuttingResult`\>\>
|
|
190
|
+
|
|
191
|
+
#### Parameters
|
|
192
|
+
|
|
193
|
+
| Name | Type | Description |
|
|
194
|
+
| :------ | :------ | :------ |
|
|
195
|
+
| `segObj` | [`SegmentObject`](../classes/SegmentObject.md) | 剖面切分cae分析模型 |
|
|
196
|
+
| `coord` | `number` | 坐标值 |
|
|
197
|
+
| `sign` | `boolean` | 方向 |
|
|
198
|
+
|
|
199
|
+
#### Returns
|
|
200
|
+
|
|
201
|
+
`Promise`<[`List`](../classes/Longan.List.md)<`CaeElementPlaneCuttingResult`\>\>
|
|
202
|
+
|
|
203
|
+
剖切结果
|
|
204
|
+
|
|
205
|
+
___
|
|
206
|
+
|
|
207
|
+
### cutModelByZAxis
|
|
208
|
+
|
|
209
|
+
▸ **cutModelByZAxis**(`segObj`, `coord`, `sign`): `Promise`<[`List`](../classes/Longan.List.md)<`CaeElementPlaneCuttingResult`\>\>
|
|
210
|
+
|
|
211
|
+
#### Parameters
|
|
212
|
+
|
|
213
|
+
| Name | Type | Description |
|
|
214
|
+
| :------ | :------ | :------ |
|
|
215
|
+
| `segObj` | [`SegmentObject`](../classes/SegmentObject.md) | 剖面切分cae分析模型 |
|
|
216
|
+
| `coord` | `number` | 坐标值 |
|
|
217
|
+
| `sign` | `boolean` | 方向 |
|
|
218
|
+
|
|
219
|
+
#### Returns
|
|
220
|
+
|
|
221
|
+
`Promise`<[`List`](../classes/Longan.List.md)<`CaeElementPlaneCuttingResult`\>\>
|
|
222
|
+
|
|
223
|
+
剖切结果
|
|
224
|
+
|
|
225
|
+
___
|
|
226
|
+
|
|
40
227
|
### cutModelImageByPlane
|
|
41
228
|
|
|
42
229
|
▸ **cutModelImageByPlane**(`segObj`, `planeRoot`, `planeNormal`): `Promise`<`string`\>
|
|
@@ -55,6 +242,26 @@ ___
|
|
|
55
242
|
|
|
56
243
|
___
|
|
57
244
|
|
|
245
|
+
### getElements
|
|
246
|
+
|
|
247
|
+
▸ **getElements**(`segment`): [`List`](../classes/Longan.List.md)<`CaeElement`\>
|
|
248
|
+
|
|
249
|
+
解析分析模型数据
|
|
250
|
+
|
|
251
|
+
#### Parameters
|
|
252
|
+
|
|
253
|
+
| Name | Type |
|
|
254
|
+
| :------ | :------ |
|
|
255
|
+
| `segment` | [`Segment`](../classes/Longan.Segment.md) |
|
|
256
|
+
|
|
257
|
+
#### Returns
|
|
258
|
+
|
|
259
|
+
[`List`](../classes/Longan.List.md)<`CaeElement`\>
|
|
260
|
+
|
|
261
|
+
分析模型element列表
|
|
262
|
+
|
|
263
|
+
___
|
|
264
|
+
|
|
58
265
|
### insertPlaneCuttingResult
|
|
59
266
|
|
|
60
267
|
▸ **insertPlaneCuttingResult**(`viewer`, `result`, `planeRoot`, `planeNormal`): `void`
|
|
@@ -143,6 +350,22 @@ ___
|
|
|
143
350
|
|
|
144
351
|
___
|
|
145
352
|
|
|
353
|
+
### test2
|
|
354
|
+
|
|
355
|
+
▸ **test2**(`elements`): `void`
|
|
356
|
+
|
|
357
|
+
#### Parameters
|
|
358
|
+
|
|
359
|
+
| Name | Type |
|
|
360
|
+
| :------ | :------ |
|
|
361
|
+
| `elements` | [`List`](../classes/Longan.List.md)<`CaeElement`\> |
|
|
362
|
+
|
|
363
|
+
#### Returns
|
|
364
|
+
|
|
365
|
+
`void`
|
|
366
|
+
|
|
367
|
+
___
|
|
368
|
+
|
|
146
369
|
### testColor
|
|
147
370
|
|
|
148
371
|
▸ **testColor**(`segObj`): `void`
|
|
Binary file
|