gs-bim-air 1.6.1-beta.68 → 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 +5 -0
- package/docs/classes/Command.CommandShowCaeAxisCut.md +7 -0
- package/docs/modules/CAE.md +160 -0
- package/lib/BimAir.common-report.html +2 -2
- package/lib/BimAir.common.js +4 -4
- package/lib/BimAir.css +49 -49
- 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/README.md
CHANGED
|
@@ -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,20 +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)
|
|
10
16
|
- [cutModelByXAxis](CAE.md#cutmodelbyxaxis)
|
|
11
17
|
- [cutModelByYAxis](CAE.md#cutmodelbyyaxis)
|
|
12
18
|
- [cutModelByZAxis](CAE.md#cutmodelbyzaxis)
|
|
13
19
|
- [cutModelImageByPlane](CAE.md#cutmodelimagebyplane)
|
|
20
|
+
- [getElements](CAE.md#getelements)
|
|
14
21
|
- [insertPlaneCuttingResult](CAE.md#insertplanecuttingresult)
|
|
15
22
|
- [insertPlaneCuttingResultToSegment](CAE.md#insertplanecuttingresulttosegment)
|
|
16
23
|
- [setColor](CAE.md#setcolor)
|
|
17
24
|
- [test](CAE.md#test)
|
|
18
25
|
- [test1](CAE.md#test1)
|
|
26
|
+
- [test2](CAE.md#test2)
|
|
19
27
|
- [testColor](CAE.md#testcolor)
|
|
20
28
|
|
|
21
29
|
## Functions
|
|
22
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
|
+
|
|
23
147
|
### cutModelByPlane
|
|
24
148
|
|
|
25
149
|
▸ **cutModelByPlane**(`segObj`, `planeRoot`, `planeNormal`): `Promise`<[`List`](../classes/Longan.List.md)<`CaeElementPlaneCuttingResult`\>\>
|
|
@@ -118,6 +242,26 @@ ___
|
|
|
118
242
|
|
|
119
243
|
___
|
|
120
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
|
+
|
|
121
265
|
### insertPlaneCuttingResult
|
|
122
266
|
|
|
123
267
|
▸ **insertPlaneCuttingResult**(`viewer`, `result`, `planeRoot`, `planeNormal`): `void`
|
|
@@ -206,6 +350,22 @@ ___
|
|
|
206
350
|
|
|
207
351
|
___
|
|
208
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
|
+
|
|
209
369
|
### testColor
|
|
210
370
|
|
|
211
371
|
▸ **testColor**(`segObj`): `void`
|