Skip to content

Commit

Permalink
chore: update examples web-ifc URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
agviegas committed Jul 30, 2024
1 parent 9ca135e commit 121cc6c
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion examples/assets/ifcGeometryTiler.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion examples/assets/ifcJsonExporter.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion examples/assets/ifcPropertiesTiler.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/core/src/fragments/IfcGeometryTiler/example.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ world.scene.three.add(model);
const tiler = components.get(OBC.IfcGeometryTiler);

const wasm = {
path: "https://unpkg.com/[email protected].55/",
path: "https://unpkg.com/[email protected].56/",
absolute: true,
};

Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/fragments/IfcLoader/example.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ await fragmentIfcLoader.setup();
// If you want to the path to unpkg manually, then you can skip the line
// above and set them manually as below:
// fragmentIfcLoader.settings.wasm = {
// path: "https://unpkg.com/[email protected].55/",
// path: "https://unpkg.com/[email protected].56/",
// absolute: true,
// };

Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/fragments/IfcPropertiesTiler/example.ts
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ async function downloadFilesSequentially(
const propsStreamer = components.get(OBC.IfcPropertiesTiler);

propsStreamer.settings.wasm = {
path: "https://unpkg.com/[email protected].55/",
path: "https://unpkg.com/[email protected].56/",
absolute: true,
};

Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/ifc/IfcJsonExporter/example.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ To convert IFC to JSON we need 2 things: `web-ifc` an the JSON exporter. The for
const exporter = components.get(OBC.IfcJsonExporter);

const webIfc = new WEBIFC.IfcAPI();
webIfc.SetWasmPath("https://unpkg.com/[email protected].55/", true);
webIfc.SetWasmPath("https://unpkg.com/[email protected].56/", true);
await webIfc.Init();

/* MD
Expand Down

0 comments on commit 121cc6c

Please sign in to comment.