cscsyjk 7.7.7 → 8.8.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. package/package.json +1 -1
  2. package/read.md +24 -0
  3. package/yjkgltf12.js +64729 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cscsyjk",
3
- "version": "7.7.7",
3
+ "version": "8.8.8",
4
4
  "main": "yjkgltf12.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"
package/read.md ADDED
@@ -0,0 +1,24 @@
1
+ 组件Gltf
2
+ 传参
3
+ detail = {
4
+ id: 142,
5
+ requireScreenshot: 0,//是否截图
6
+ modelList: [
7
+ {
8
+ sourceurl: "",
9
+ gltfurl: "http://192.168.1.103/storage/gltf/20211215/5dd9af20-5d95-11ec-8072-330548b5f5f3/lightmodel.gltf",
10
+ jsonurl: "http://192.168.1.103/storage/gltf/20211215/5dd9af20-5d95-11ec-8072-330548b5f5f3/lightmodel.json",
11
+ type: "ifc",
12
+ fileId: "",
13
+ token: "",
14
+ id: 479,
15
+ name: "存储"
16
+ }
17
+ ],
18
+ dwgList: []
19
+ }
20
+
21
+ viewSwitch(type) //type=1视图开关,type=2属性开关
22
+
23
+ // 根据UUID查询并高亮显示该构件
24
+ hight_ele(elelist, ele_color)