Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Cannot load IFC (IFC4) Files - showing Nothing / Crash #42

Open
fpibbs opened this issue Jan 30, 2025 · 4 comments
Open

Cannot load IFC (IFC4) Files - showing Nothing / Crash #42

fpibbs opened this issue Jan 30, 2025 · 4 comments

Comments

@fpibbs
Copy link

fpibbs commented Jan 30, 2025

Compiled latest version of plugin it lacks the possibilty to run the IFC4 (IFC3 seems working) files...it generates some type of errors / loading nothing.

Can you please help?

IFC Tests.zip

@fpibbs fpibbs changed the title Cannot load IFC Files - showing Nothing / Crash Cannot load IFC (IFC4) Files - showing Nothing / Crash Jan 30, 2025
@902D9
Copy link
Contributor

902D9 commented Feb 2, 2025

Is it an error message like this? Looks like an issue with the assimp library, which I don't know much about. Try asking them for help?

Log          LogAssimp                 Load D:\Downloads\IFC.Tests\IFC Tests\Ifc4_SampleHouse.ifc
Log          LogAssimp                 Assimp 5.2.0 amd64 msvc shared singlethreadedsingle : 
Log          LogAssimp                 Found a matching importer for this file format: Industry Foundation Classes (IFC) Importer.
Log          LogAssimp                 Import root directory is 'D:\Downloads\IFC.Tests\IFC Tests\'
Log          LogAssimp                 IFC: File schema is 'IFC4'
Log          LogAssimp                 STEP: got 47291 object records with 3862 inverse index entries
Log          LogAssimp                 IFC: got units used for lengths
Log          LogAssimp                 IFC: got units used for angles
Error        LogAssimp                 IFC: skipping unknown IfcUnit entry - expected entity
Error        LogAssimp                 IFC: skipping unknown IfcUnit entry - expected entity
Error        LogAssimp                 IFC: skipping unknown IfcUnit entry - expected entity
Error        LogAssimp                 IFC: skipping unknown IfcUnit entry - expected entity
Error        LogAssimp                 IFC: skipping unknown IfcUnit entry - expected entity
Log          LogAssimp                 IFC: got world coordinate system
Warning      LogAssimp                 too many aggregate elements
Warning      LogAssimp                 too many aggregate elements
Warning      LogAssimp                 IFC: looking at spatial structure `Default` which is of type 
Warning      LogAssimp                 IFC: selecting this spatial structure as root structure
Warning      LogAssimp                 IFC: generate mesh procedurally by extrusion (IfcExtrudedAreaSolid)
Warning      LogAssimp                 IFC: generate mesh procedurally by extrusion (IfcExtrudedAreaSolid)
Warning      LogAssimp                 IFC: generate mesh procedurally by extrusion (IfcExtrudedAreaSolid)
Warning      LogAssimp                 IFC: skipping unknown IfcGeometricRepresentationItem entity, type is IfcPolyline id is 624
Warning      LogAssimp                 IFC: skipping unknown IfcGeometricRepresentationItem entity, type is IfcPolyline id is 1459
Warning      LogAssimp                 IFC: generate mesh procedurally by extrusion (IfcExtrudedAreaSolid)
Warning      LogAssimp                 IFC: generate mesh procedurally by extrusion (IfcExtrudedAreaSolid)
Warning      LogAssimp                 IFC: skipping unknown IfcGeometricRepresentationItem entity, type is IfcPolyline id is 1804
Warning      LogAssimp                 IFC: removing duplicate vertices
Warning      LogAssimp                 IFC: generate mesh procedurally by extrusion (IfcExtrudedAreaSolid)
Warning      LogAssimp                 IFC: removing duplicate vertices
Warning      LogAssimp                 IFC: generate mesh procedurally by extrusion (IfcExtrudedAreaSolid)
Warning      LogAssimp                 IFC: removing duplicate vertices
Warning      LogAssimp                 IFC: generate mesh procedurally by extrusion (IfcExtrudedAreaSolid)
Warning      LogAssimp                 IFC: removing duplicate vertices
Warning      LogAssimp                 IFC: generate mesh procedurally by extrusion (IfcExtrudedAreaSolid)
Warning      LogAssimp                 IFC: removing duplicate vertices
Warning      LogAssimp                 IFC: generate mesh procedurally by extrusion (IfcExtrudedAreaSolid)
Warning      LogAssimp                 IFC: removing duplicate vertices
Warning      LogAssimp                 IFC: generate mesh procedurally by extrusion (IfcExtrudedAreaSolid)
Warning      LogAssimp                 IFC: generate mesh procedurally by extrusion (IfcExtrudedAreaSolid)
Warning      LogAssimp                 IFC: generate mesh procedurally by extrusion (IfcExtrudedAreaSolid)
Warning      LogAssimp                 IFC: generate mesh procedurally by extrusion (IfcExtrudedAreaSolid)
Warning      LogAssimp                 IFC: generate mesh procedurally by extrusion (IfcExtrudedAreaSolid)
Warning      LogAssimp                 IFC: generating CSG geometry by plane clipping (IfcBooleanClippingResult)
Warning      LogAssimp                 IFC: generate mesh procedurally by extrusion (IfcExtrudedAreaSolid)
Warning      LogAssimp                 IFC: generating CSG geometry by plane clipping (IfcBooleanClippingResult)
Warning      LogAssimp                 IFC: removing duplicate vertices
Warning      LogAssimp                 IFC: generate mesh procedurally by extrusion (IfcExtrudedAreaSolid)
Warning      LogAssimp                 IFC: removing duplicate vertices
Warning      LogAssimp                 IFC: generate mesh procedurally by extrusion (IfcExtrudedAreaSolid)
Warning      LogAssimp                 IFC: generate mesh procedurally by extrusion (IfcExtrudedAreaSolid)
Warning      LogAssimp                 IFC: generate mesh procedurally by extrusion (IfcExtrudedAreaSolid)
Warning      LogAssimp                 IFC: generate mesh procedurally by extrusion (IfcExtrudedAreaSolid)
Warning      LogAssimp                 IFC: generate mesh procedurally by extrusion (IfcExtrudedAreaSolid)
Warning      LogAssimp                 IFC: generate mesh procedurally by extrusion (IfcExtrudedAreaSolid)
Warning      LogAssimp                 IFC: generate mesh procedurally by extrusion (IfcExtrudedAreaSolid)
Warning      LogAssimp                 IFC: generate mesh procedurally by extrusion (IfcExtrudedAreaSolid)
Warning      LogAssimp                 IFC: generate mesh procedurally by extrusion (IfcExtrudedAreaSolid)
Warning      LogAssimp                 IFC: generate mesh procedurally by extrusion (IfcExtrudedAreaSolid)
Warning      LogAssimp                 IFC: generate mesh procedurally by extrusion (IfcExtrudedAreaSolid)
Warning      LogAssimp                 IFC: generate mesh procedurally by extrusion (IfcExtrudedAreaSolid)
Warning      LogAssimp                 IFC: generate mesh procedurally by extrusion (IfcExtrudedAreaSolid)
Warning      LogAssimp                 IFC: generate mesh procedurally by extrusion (IfcExtrudedAreaSolid)
Warning      LogAssimp                 IFC: skipping unknown IfcGeometricRepresentationItem entity, type is IfcPolyline id is 4663
Warning      LogAssimp                 IFC: Face 0 is not parallel with face 0 - opening on entity 4672
Warning      LogAssimp                 IFC: Face 1 is not parallel with face 0 - opening on entity 4672
Warning      LogAssimp                 IFC: Face 2 is not parallel with face 0 - opening on entity 4672
Warning      LogAssimp                 IFC: Face 3 is not parallel with face 0 - opening on entity 4672
Warning      LogAssimp                 IFC: Face 4 is not parallel with face 0 - opening on entity 4672
Warning      LogAssimp                 IFC: Face 5 is not parallel with face 0 - opening on entity 4672
Warning      LogAssimp                 IFC: Face 0 is not parallel with face 0 - opening on entity 4672
Warning      LogAssimp                 IFC: Face 1 is not parallel with face 0 - opening on entity 4672
Warning      LogAssimp                 IFC: Face 2 is not parallel with face 0 - opening on entity 4672
Warning      LogAssimp                 IFC: Face 3 is not parallel with face 0 - opening on entity 4672
Warning      LogAssimp                 IFC: Face 4 is not parallel with face 0 - opening on entity 4672
Warning      LogAssimp                 IFC: Face 5 is not parallel with face 0 - opening on entity 4672
Error        LogAssimp                 IFC: failed to generate all window caps on ID 4672
Error        LogAssimp                 IFC: failed to generate all window caps on ID 4672
Warning      LogAssimp                 IFC: generate mesh procedurally by extrusion (IfcExtrudedAreaSolid)
Warning      LogAssimp                 IFC: generating CSG geometry by plane clipping with polygonal bounding (IfcBooleanClippingResult)
Warning      LogAssimp                 IFC: skipping unknown IfcGeometricRepresentationItem entity, type is IfcPolyline id is 4844
Warning      LogAssimp                 IFC: generate mesh procedurally by extrusion (IfcExtrudedAreaSolid)
Warning      LogAssimp                 IFC: generating CSG geometry by plane clipping with polygonal bounding (IfcBooleanClippingResult)
Warning      LogAssimp                 IFC: removing duplicate vertices
Warning      LogAssimp                 IFC: generate mesh procedurally by extrusion (IfcExtrudedAreaSolid)
Warning      LogAssimp                 IFC: generate mesh procedurally by extrusion (IfcExtrudedAreaSolid)
Warning      LogAssimp                 IFC: generate mesh procedurally by extrusion (IfcExtrudedAreaSolid)
Warning      LogAssimp                 IFC: generate mesh procedurally by extrusion (IfcExtrudedAreaSolid)
Warning      LogAssimp                 IFC: skipping IfcSpace entity due to importer settings

@fpibbs
Copy link
Author

fpibbs commented Feb 2, 2025 via email

@902D9
Copy link
Contributor

902D9 commented Feb 3, 2025

Do you mean to import Datasmith at runtime and read the bim metadata? You can try this: Using Datasmith at Runtime
Than Accessing Metadata After Import

Hope that helps.

@fpibbs
Copy link
Author

fpibbs commented Feb 3, 2025

Basically, datasmith must be prepared on Revit, other than IFC can be used directly, so would be important using directly native formats.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants