question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

`IFC` import fails with error `Unexpected placement type`

See original GitHub issue

Try importing an .ifc file (download from here) it fails.

Error

Reading took 0 ms
web-ifc-viewer.js:205252 Opening model took 16 ms
67web-ifc-viewer.js:938 unexpected placement type
web-ifc-viewer.js:203725 Uncaught TypeError: Cannot read properties of undefined (reading 'index')
    at Function.mergeBufferGeometries (web-ifc-viewer.js:203725)
    at IfcThree.LoadAllGeometry (web-ifc-viewer.js:204197)
    at LoadModel (web-ifc-viewer.js:205253)
    at FileReader.reader.onload (web-ifc-viewer.js:205236)

Error Image Capture

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:10 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
agviegascommented, May 15, 2022

This issue is now a bounty. Whoever solves this will get $100. More information here.

0reactions
hey24sheepcommented, Jun 17, 2022

@agviegas done 👍🏼 thank you

Read more comments on GitHub >

github_iconTop Results From Across the Web

IFC Import Placement Error - Revit Products - Autodesk Forums
Hello Guys!! I have faced an issue with IFC Imports. I use the Link IFC option to Import my IFC file. When it...
Read more >
IFC file doesnt load correctly · Issue #21 · IFCjs/web-ifc - GitHub
The bug was caused by a change between IFC2x3 and IFC4 for type property SelfIntersect in IfcCompositeCurve which used to be LOGICAL (...
Read more >
ifc.js - Unexpected style type message when loading model
It means that there's something that hasn't been implemented in web-ifc yet. You can create an issue in web-ifc to request for the ......
Read more >
ifc import error - FreeCAD Forum
1) Make sure the IFC file you export from FreeCAD contains all the objects you want. · 2) Make sure all the geometry...
Read more >
Import of IFC BIM models to IDA Indoor Climate and Energy 4
This process puts some special requirements on the contents of the IFC file. Here are some typical situations that can cause; (1) A...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found