xeokit / xeokit-convert

Convert various AEC model formats for efficient viewing in the browser with xeokit.
https://xeokit.github.io/xeokit-convert/docs/
Other
49 stars 52 forks source link

unexpected mesh type errors in Revit IFC files #122

Open seb-esser opened 8 months ago

seb-esser commented 8 months ago

Hi, the students of our ITBE Fusion Lab course at TUM are using the xeokit package to visualize IFC models of their bridge designs. Unfortunately, we have seen a lot of issues with IFC models recently exported from Revit. We are trying to follow the pipeline documented here, but we haven't been lucky to have a successful XKT conversion so far.

Are there any tricks or hints available that we could share with our students?

Thanks in advance!

xeolabs commented 8 months ago

Hi,

as you probably have found, Revit has (at least in the past, for some models) been a bit notorious for creating problematic IFC files.

We currently get best results with this pipeline, but note that it uses a proprietary IFC->glTF tool available from Creoox: https://xeokit.notion.site/Converting-IFC-to-XKT-using-ifc2gltfcxconverter-a2e0005d00dc4f22b648f1237bc3245d

That converter is a bit more advanced that IfcConvert. Contact details for Creoox are in that tutorial, in case it looks suitable for you. We also have a proprietary Revit -> xeokit exporter plugin, which may also give better results.

We find it best to work from concrete IFC examples - could you possibly share IFCs that you're having trouble with? If they're public, then we can also add them to our converter's public test suite, and at least work towards resolving an issues in them in future releases of our tools.

Thanks