Skip to content

Custom Visual for Power BI to visualize 3D models and connect them to your data

License

Notifications You must be signed in to change notification settings

slcwang/PowerBI3D-ifc

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Power BI 3D

#this is still a work in progress, feel free to fork and contribute
This is a fork of the PowerBI3D repository that uses the threejs ifcloader to visualize *.ifc models in Power BI. This version only supports IFC files. image

Acknowledgement

This custom visual was initially developed for 3DM by Diego Apellániz.

Features

✅ Filtering: slicer -> model
✅ Filtering: model -> other visuals
✅ Conditional coloring based on db values
✅ Allowing user to upload files in the format tab to avoid issues with COR
✅ there seems to be an issue with fetching web-ifc.wasm
🟦 to migrate from web-ifc-three to web-ifc-viewer to gain more prebuilt functions
🟦 add another layer on top of base ifc to render simple geometries.
to indicate locations of defects on top of the ifc model
the geometries should be defined in power query, then rendered directly in three.js

        updated 2023-05-10
        -> turned out to be an issue with IFCLoader.js
        -> i botched by changing line 3345 in web-ifc-three@0.0.122/IFCLoader.js
        -> from this.state.api.SetWasmPath(path);
        -> to this.state.api.SetWasmPath(path, true);
        -> this should also solve the issue described here
        -> https://community.powerbi.com/t5/Developer/Adding-threejs-to-a-custom-visual/m-p/2181493/highlight/true#M32829
        updated 2023-05-11
        -> found a way to make it work the right way.         -> just have to alter the parameters of web-ifc-api from ifc loader.
        -> ifcLoader.ifcManager.state.api['isWasmPathAbsolute'] = true;
        -> ifcLoader.ifcManager.state.api['wasmPath'] = "https://unpkg.com/web-ifc@0.0.36/";
        updated 2023-05-15
        -> users are now able to uplaod a ifc file to the visual and the file will persist even after the PBi is closed.
        -> not sure what is the file size limit, it works for <50MB ifc files.
        -> works on PowerBI web app (you will need a pbi pro or premium license to share)

About

Custom Visual for Power BI to visualize 3D models and connect them to your data

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 85.7%
  • TypeScript 13.6%
  • Other 0.7%