iflow-engine-base-3d 3.12.17 → 3.12.19
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 -1
- package/dist/bim-engine-sdk.es.js +3 -3
- package/dist/bim-engine-sdk.umd.js +83 -83
- package/dist/chunks/{engine-3d-BQ3j3IyB.js → engine-3d-CvtTt8DD.js} +682 -601
- package/dist/chunks/{sdk-assets-8pIGrzeP.js → sdk-assets-DAIj-7Ou.js} +1 -1
- package/dist/chunks/{sdk-runtime-CVZ-H4BF.js → sdk-runtime-BI05CCEt.js} +2 -2
- package/dist/chunks/{three-vendor-CD0MJoK-.js → three-vendor-ClQTDDlA.js} +3 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -118,9 +118,13 @@ const engine = await createEngine({
|
|
|
118
118
|
}
|
|
119
119
|
});
|
|
120
120
|
|
|
121
|
-
await engine.loadModelByViewToken('vt_xxx'
|
|
121
|
+
await engine.loadModelByViewToken('vt_xxx', {
|
|
122
|
+
loadEdge: false
|
|
123
|
+
});
|
|
122
124
|
```
|
|
123
125
|
|
|
126
|
+
3D token 加载的第二个参数与 `loaderModule.loadModels` 一致;`loadEdge` 默认为 `true`,传 `false` 时不会请求或创建模型边线。
|
|
127
|
+
|
|
124
128
|
目前支持的方法:
|
|
125
129
|
|
|
126
130
|
- `createEngine(...).loadModelByViewToken(viewToken, options?)`
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { E as a } from "./chunks/engine-3d-
|
|
2
|
-
import { M as d } from "./chunks/engine-3d-
|
|
3
|
-
import { s, a as t, b as l } from "./chunks/sdk-assets-
|
|
1
|
+
import { E as a } from "./chunks/engine-3d-CvtTt8DD.js";
|
|
2
|
+
import { M as d } from "./chunks/engine-3d-CvtTt8DD.js";
|
|
3
|
+
import { s, a as t, b as l } from "./chunks/sdk-assets-DAIj-7Ou.js";
|
|
4
4
|
async function r(e) {
|
|
5
5
|
e?.assetFiles ? await s(e.assetFiles) : e?.assetFile ? await t(e.assetFile) : e?.assetBaseUrl && await s(null), e?.assetBaseUrl && l(e.assetBaseUrl);
|
|
6
6
|
}
|