gs-bim-air 1.6.1-beta.59 → 1.6.1-beta.60

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 CHANGED
@@ -1,5 +1,21 @@
1
1
  ## BIMAir 更新日志
2
2
 
3
+ ### 1.6.1-beta.60
4
+
5
+ - feat: 添加 CAE 后处理模型修改颜色的接口,用法如下
6
+
7
+ ```js
8
+ BimAir.CAE.setColor(
9
+ segmentObject,
10
+ [
11
+ 255, 0, 0, 1, 255, 0, 0, 1, 255, 0, 0, 1, 255, 0, 0, 1, 255, 0, 0, 1, 255,
12
+ 0, 0, 1, 255, 0, 0, 1, 255, 0, 0, 1, 255, 0, 0, 1,
13
+ ]
14
+ ).then(() => {
15
+ viewer.updateDisplay();
16
+ });
17
+ ```
18
+
3
19
  ### 1.6.1-beta.59
4
20
 
5
21
  - feat: 导出专业爆炸命令,用法如下
@@ -7,6 +7,7 @@ gs-bim-air
7
7
  ### Namespaces
8
8
 
9
9
  - [Animation](modules/Animation.md)
10
+ - [CAE](modules/CAE.md)
10
11
  - [Command](modules/Command.md)
11
12
  - [Geometry](modules/Geometry.md)
12
13
  - [Longan](modules/Longan.md)
@@ -0,0 +1,28 @@
1
+ [gs-bim-air](../gs-bim-air.md) / CAE
2
+
3
+ # Namespace: CAE
4
+
5
+ ## Table of contents
6
+
7
+ ### Functions
8
+
9
+ - [setColor](CAE.md#setcolor)
10
+
11
+ ## Functions
12
+
13
+ ### setColor
14
+
15
+ ▸ **setColor**(`segObj`, `color`): `Promise`<`unknown`\>
16
+
17
+ CAE后处理模型修改颜色
18
+
19
+ #### Parameters
20
+
21
+ | Name | Type | Description |
22
+ | :------ | :------ | :------ |
23
+ | `segObj` | [`SegmentObject`](../classes/SegmentObject.md) | 构件对象 |
24
+ | `color` | `ArrayLike`<`number`\> | 顶点颜色数组 |
25
+
26
+ #### Returns
27
+
28
+ `Promise`<`unknown`\>