gs-bim-air 1.6.1-beta.66 → 1.6.1-beta.68
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 +15 -0
- package/docs/classes/Longan.Segment.md +43 -0
- package/docs/modules/CAE.md +63 -0
- package/docs/modules/Longan.LonganCore.md +21 -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 +126 -12
- package/lib/BimAir.css +128 -51
- package/lib/BimAir.umd-report.html +2 -2
- package/lib/BimAir.umd.js +126 -12
- package/lib/BimAir.umd.min-report.html +2 -2
- package/lib/BimAir.umd.min.js +126 -12
- package/lib/fonts/iconfont.07e458e9.woff +0 -0
- package/lib/fonts/iconfont.4df69361.woff2 +0 -0
- package/lib/fonts/{iconfont.dde03252.ttf → iconfont.bb582667.ttf} +0 -0
- package/lib/undefined.gzundefined +0 -0
- package/package.json +1 -1
- package/public/js/longan/longan.js +6058 -6058
- package/public/js/longanWithoutShareArrayBuffer/longan.js +1 -1
- package/public/js/longanWithoutShareArrayBuffer/longan.wasm +0 -0
- package/lib/fonts/iconfont.c790d09a.woff2 +0 -0
- package/lib/fonts/iconfont.dd8781d3.woff +0 -0
package/README.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
## BIMAir 更新日志
|
|
2
2
|
|
|
3
|
+
### 1.6.1-beta.68
|
|
4
|
+
|
|
5
|
+
> 更新 public/js 里的内核文件,安装此版本需替换 js 文件夹
|
|
6
|
+
|
|
7
|
+
- feat: 优化 cae 模型轴剖切效率
|
|
8
|
+
- feat: 粒子系统修复完毕
|
|
9
|
+
- fix: 修复了再次进入第三人称漫游命令重新创建 shader 的问题
|
|
10
|
+
- fix: 修复添加视点影响 ro 渲染树导致加载 worker.gsz 出错的问题
|
|
11
|
+
|
|
12
|
+
### 1.6.1-beta.67
|
|
13
|
+
|
|
14
|
+
- feat: 优化计算 cae 分析模型剖切面图片接口效率
|
|
15
|
+
- feat: 添加粒子系统初版
|
|
16
|
+
- fix: 第三人称漫游人物模型不删除,而是隐藏;修复进入漫游前后视角不一致的问题;修复由于重力检测导致的人位置不动,但动画在持续播放的问题;
|
|
17
|
+
|
|
3
18
|
### 1.6.1-beta.66
|
|
4
19
|
|
|
5
20
|
- fix: 恢复第一人称漫游
|
|
@@ -57,6 +57,7 @@
|
|
|
57
57
|
- [computeVolume](Longan.Segment.md#computevolume)
|
|
58
58
|
- [copyTo](Longan.Segment.md#copyto)
|
|
59
59
|
- [delete](Longan.Segment.md#delete)
|
|
60
|
+
- [editEllipse](Longan.Segment.md#editellipse)
|
|
60
61
|
- [editLine](Longan.Segment.md#editline)
|
|
61
62
|
- [equals](Longan.Segment.md#equals)
|
|
62
63
|
- [extrudeByShell](Longan.Segment.md#extrudebyshell)
|
|
@@ -71,6 +72,7 @@
|
|
|
71
72
|
- [insertCuboid](Longan.Segment.md#insertcuboid)
|
|
72
73
|
- [insertCuttingPlanes](Longan.Segment.md#insertcuttingplanes)
|
|
73
74
|
- [insertCylinder](Longan.Segment.md#insertcylinder)
|
|
75
|
+
- [insertEllipse](Longan.Segment.md#insertellipse)
|
|
74
76
|
- [insertImage](Longan.Segment.md#insertimage)
|
|
75
77
|
- [insertLine](Longan.Segment.md#insertline)
|
|
76
78
|
- [insertLocalImage](Longan.Segment.md#insertlocalimage)
|
|
@@ -523,6 +525,27 @@ IKey.delete
|
|
|
523
525
|
|
|
524
526
|
___
|
|
525
527
|
|
|
528
|
+
### editEllipse
|
|
529
|
+
|
|
530
|
+
▸ **editEllipse**(`key`, `center`, `major`, `minor`): `Ellipse`
|
|
531
|
+
|
|
532
|
+
编辑椭圆
|
|
533
|
+
|
|
534
|
+
#### Parameters
|
|
535
|
+
|
|
536
|
+
| Name | Type | Description |
|
|
537
|
+
| :------ | :------ | :------ |
|
|
538
|
+
| `key` | `number` | 线的key |
|
|
539
|
+
| `center` | `ArrayLike`<`number`\> | 中心点 |
|
|
540
|
+
| `major` | `ArrayLike`<`number`\> | 焦点1 |
|
|
541
|
+
| `minor` | `ArrayLike`<`number`\> | 焦点2 |
|
|
542
|
+
|
|
543
|
+
#### Returns
|
|
544
|
+
|
|
545
|
+
`Ellipse`
|
|
546
|
+
|
|
547
|
+
___
|
|
548
|
+
|
|
526
549
|
### editLine
|
|
527
550
|
|
|
528
551
|
▸ **editLine**(`key`, `start`, `end?`): [`Line`](Longan.Line.md)
|
|
@@ -796,6 +819,26 @@ ___
|
|
|
796
819
|
|
|
797
820
|
___
|
|
798
821
|
|
|
822
|
+
### insertEllipse
|
|
823
|
+
|
|
824
|
+
▸ **insertEllipse**(`center`, `major`, `minor`): `Ellipse`
|
|
825
|
+
|
|
826
|
+
插入椭圆
|
|
827
|
+
|
|
828
|
+
#### Parameters
|
|
829
|
+
|
|
830
|
+
| Name | Type | Description |
|
|
831
|
+
| :------ | :------ | :------ |
|
|
832
|
+
| `center` | `ArrayLike`<`number`\> | 中心点 |
|
|
833
|
+
| `major` | `ArrayLike`<`number`\> | 焦点1 |
|
|
834
|
+
| `minor` | `ArrayLike`<`number`\> | 焦点2 |
|
|
835
|
+
|
|
836
|
+
#### Returns
|
|
837
|
+
|
|
838
|
+
`Ellipse`
|
|
839
|
+
|
|
840
|
+
___
|
|
841
|
+
|
|
799
842
|
### insertImage
|
|
800
843
|
|
|
801
844
|
▸ **insertImage**(`name`, `width`, `height`, `data`, `format?`, `compressionQuality?`): [`Image`](Longan.Image.md)
|
package/docs/modules/CAE.md
CHANGED
|
@@ -7,6 +7,9 @@
|
|
|
7
7
|
### Functions
|
|
8
8
|
|
|
9
9
|
- [cutModelByPlane](CAE.md#cutmodelbyplane)
|
|
10
|
+
- [cutModelByXAxis](CAE.md#cutmodelbyxaxis)
|
|
11
|
+
- [cutModelByYAxis](CAE.md#cutmodelbyyaxis)
|
|
12
|
+
- [cutModelByZAxis](CAE.md#cutmodelbyzaxis)
|
|
10
13
|
- [cutModelImageByPlane](CAE.md#cutmodelimagebyplane)
|
|
11
14
|
- [insertPlaneCuttingResult](CAE.md#insertplanecuttingresult)
|
|
12
15
|
- [insertPlaneCuttingResultToSegment](CAE.md#insertplanecuttingresulttosegment)
|
|
@@ -37,6 +40,66 @@
|
|
|
37
40
|
|
|
38
41
|
___
|
|
39
42
|
|
|
43
|
+
### cutModelByXAxis
|
|
44
|
+
|
|
45
|
+
▸ **cutModelByXAxis**(`segObj`, `coord`, `sign`): `Promise`<[`List`](../classes/Longan.List.md)<`CaeElementPlaneCuttingResult`\>\>
|
|
46
|
+
|
|
47
|
+
#### Parameters
|
|
48
|
+
|
|
49
|
+
| Name | Type | Description |
|
|
50
|
+
| :------ | :------ | :------ |
|
|
51
|
+
| `segObj` | [`SegmentObject`](../classes/SegmentObject.md) | 剖面切分cae分析模型 |
|
|
52
|
+
| `coord` | `number` | 坐标值 |
|
|
53
|
+
| `sign` | `boolean` | 方向 |
|
|
54
|
+
|
|
55
|
+
#### Returns
|
|
56
|
+
|
|
57
|
+
`Promise`<[`List`](../classes/Longan.List.md)<`CaeElementPlaneCuttingResult`\>\>
|
|
58
|
+
|
|
59
|
+
剖切结果
|
|
60
|
+
|
|
61
|
+
___
|
|
62
|
+
|
|
63
|
+
### cutModelByYAxis
|
|
64
|
+
|
|
65
|
+
▸ **cutModelByYAxis**(`segObj`, `coord`, `sign`): `Promise`<[`List`](../classes/Longan.List.md)<`CaeElementPlaneCuttingResult`\>\>
|
|
66
|
+
|
|
67
|
+
#### Parameters
|
|
68
|
+
|
|
69
|
+
| Name | Type | Description |
|
|
70
|
+
| :------ | :------ | :------ |
|
|
71
|
+
| `segObj` | [`SegmentObject`](../classes/SegmentObject.md) | 剖面切分cae分析模型 |
|
|
72
|
+
| `coord` | `number` | 坐标值 |
|
|
73
|
+
| `sign` | `boolean` | 方向 |
|
|
74
|
+
|
|
75
|
+
#### Returns
|
|
76
|
+
|
|
77
|
+
`Promise`<[`List`](../classes/Longan.List.md)<`CaeElementPlaneCuttingResult`\>\>
|
|
78
|
+
|
|
79
|
+
剖切结果
|
|
80
|
+
|
|
81
|
+
___
|
|
82
|
+
|
|
83
|
+
### cutModelByZAxis
|
|
84
|
+
|
|
85
|
+
▸ **cutModelByZAxis**(`segObj`, `coord`, `sign`): `Promise`<[`List`](../classes/Longan.List.md)<`CaeElementPlaneCuttingResult`\>\>
|
|
86
|
+
|
|
87
|
+
#### Parameters
|
|
88
|
+
|
|
89
|
+
| Name | Type | Description |
|
|
90
|
+
| :------ | :------ | :------ |
|
|
91
|
+
| `segObj` | [`SegmentObject`](../classes/SegmentObject.md) | 剖面切分cae分析模型 |
|
|
92
|
+
| `coord` | `number` | 坐标值 |
|
|
93
|
+
| `sign` | `boolean` | 方向 |
|
|
94
|
+
|
|
95
|
+
#### Returns
|
|
96
|
+
|
|
97
|
+
`Promise`<[`List`](../classes/Longan.List.md)<`CaeElementPlaneCuttingResult`\>\>
|
|
98
|
+
|
|
99
|
+
剖切结果
|
|
100
|
+
|
|
101
|
+
___
|
|
102
|
+
|
|
40
103
|
### cutModelImageByPlane
|
|
41
104
|
|
|
42
105
|
▸ **cutModelImageByPlane**(`segObj`, `planeRoot`, `planeNormal`): `Promise`<`string`\>
|
|
@@ -95,6 +95,7 @@
|
|
|
95
95
|
- [JS\_Dolly\_Camera](Longan.LonganCore.md#js_dolly_camera)
|
|
96
96
|
- [JS\_Edit\_Circle](Longan.LonganCore.md#js_edit_circle)
|
|
97
97
|
- [JS\_Edit\_Cutting\_Planes](Longan.LonganCore.md#js_edit_cutting_planes)
|
|
98
|
+
- [JS\_Edit\_Ellipse](Longan.LonganCore.md#js_edit_ellipse)
|
|
98
99
|
- [JS\_Edit\_Light](Longan.LonganCore.md#js_edit_light)
|
|
99
100
|
- [JS\_Edit\_Line](Longan.LonganCore.md#js_edit_line)
|
|
100
101
|
- [JS\_Edit\_Marker](Longan.LonganCore.md#js_edit_marker)
|
|
@@ -116,6 +117,7 @@
|
|
|
116
117
|
- [JS\_Insert\_Circle](Longan.LonganCore.md#js_insert_circle)
|
|
117
118
|
- [JS\_Insert\_Cutting\_Planes](Longan.LonganCore.md#js_insert_cutting_planes)
|
|
118
119
|
- [JS\_Insert\_Cylinder](Longan.LonganCore.md#js_insert_cylinder)
|
|
120
|
+
- [JS\_Insert\_Ellipse](Longan.LonganCore.md#js_insert_ellipse)
|
|
119
121
|
- [JS\_Insert\_Image](Longan.LonganCore.md#js_insert_image)
|
|
120
122
|
- [JS\_Insert\_Light](Longan.LonganCore.md#js_insert_light)
|
|
121
123
|
- [JS\_Insert\_Line](Longan.LonganCore.md#js_insert_line)
|
|
@@ -201,6 +203,7 @@
|
|
|
201
203
|
- [JS\_Show\_Cylinder](Longan.LonganCore.md#js_show_cylinder)
|
|
202
204
|
- [JS\_Show\_Database\_Info](Longan.LonganCore.md#js_show_database_info)
|
|
203
205
|
- [JS\_Show\_Driver\_Options](Longan.LonganCore.md#js_show_driver_options)
|
|
206
|
+
- [JS\_Show\_Ellipse](Longan.LonganCore.md#js_show_ellipse)
|
|
204
207
|
- [JS\_Show\_Geometry\_Color\_By\_Value](Longan.LonganCore.md#js_show_geometry_color_by_value)
|
|
205
208
|
- [JS\_Show\_Geometry\_Count](Longan.LonganCore.md#js_show_geometry_count)
|
|
206
209
|
- [JS\_Show\_Geometry\_Element\_Type](Longan.LonganCore.md#js_show_geometry_element_type)
|
|
@@ -717,6 +720,12 @@ ___
|
|
|
717
720
|
|
|
718
721
|
___
|
|
719
722
|
|
|
723
|
+
### JS\_Edit\_Ellipse
|
|
724
|
+
|
|
725
|
+
• **JS\_Edit\_Ellipse**: `any`
|
|
726
|
+
|
|
727
|
+
___
|
|
728
|
+
|
|
720
729
|
### JS\_Edit\_Light
|
|
721
730
|
|
|
722
731
|
• **JS\_Edit\_Light**: `any`
|
|
@@ -843,6 +852,12 @@ ___
|
|
|
843
852
|
|
|
844
853
|
___
|
|
845
854
|
|
|
855
|
+
### JS\_Insert\_Ellipse
|
|
856
|
+
|
|
857
|
+
• **JS\_Insert\_Ellipse**: `any`
|
|
858
|
+
|
|
859
|
+
___
|
|
860
|
+
|
|
846
861
|
### JS\_Insert\_Image
|
|
847
862
|
|
|
848
863
|
• **JS\_Insert\_Image**: `any`
|
|
@@ -1353,6 +1368,12 @@ ___
|
|
|
1353
1368
|
|
|
1354
1369
|
___
|
|
1355
1370
|
|
|
1371
|
+
### JS\_Show\_Ellipse
|
|
1372
|
+
|
|
1373
|
+
• **JS\_Show\_Ellipse**: `any`
|
|
1374
|
+
|
|
1375
|
+
___
|
|
1376
|
+
|
|
1356
1377
|
### JS\_Show\_Geometry\_Color\_By\_Value
|
|
1357
1378
|
|
|
1358
1379
|
• **JS\_Show\_Geometry\_Color\_By\_Value**: `any`
|
|
Binary file
|