UE4_Assimp icon indicating copy to clipboard operation
UE4_Assimp copied to clipboard

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

Open fpibbs opened this issue 10 months ago • 4 comments

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 avatar Jan 30 '25 13:01 fpibbs

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

902D9 avatar Feb 02 '25 14:02 902D9

It seems the ifc4 schema is in the codes files but never implemented completely. It's a pity for engineering part but we can export to the more known ifc3x2 schema with Revit or similar bim authoring tools, which is readen by unreal also. Do you think also bim metadata can be rendered by your plugin? (As dataSmith, but on the fly)....

Il dom 2 feb 2025, 15:10 daizengtao @.***> ha scritto:

Is it an error message like this? Looks like an issue with the assimp https://github.com/assimp/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.ifcLog 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 entriesLog LogAssimp IFC: got units used for lengthsLog LogAssimp IFC: got units used for anglesError LogAssimp IFC: skipping unknown IfcUnit entry - expected entityError LogAssimp IFC: skipping unknown IfcUnit entry - expected entityError LogAssimp IFC: skipping unknown IfcUnit entry - expected entityError LogAssimp IFC: skipping unknown IfcUnit entry - expected entityError LogAssimp IFC: skipping unknown IfcUnit entry - expected entityLog LogAssimp IFC: got world coordinate systemWarning LogAssimp too many aggregate elementsWarning LogAssimp too many aggregate elementsWarning LogAssimp IFC: looking at spatial structure Default which is of type Warning LogAssimp IFC: selecting this spatial structure as root structureWarning 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 624Warning LogAssimp IFC: skipping unknown IfcGeometricRepresentationItem entity, type is IfcPolyline id is 1459Warning 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 1804Warning LogAssimp IFC: removing duplicate verticesWarning LogAssimp IFC: generate mesh procedurally by extrusion (IfcExtrudedAreaSolid)Warning LogAssimp IFC: removing duplicate verticesWarning LogAssimp IFC: generate mesh procedurally by extrusion (IfcExtrudedAreaSolid)Warning LogAssimp IFC: removing duplicate verticesWarning LogAssimp IFC: generate mesh procedurally by extrusion (IfcExtrudedAreaSolid)Warning LogAssimp IFC: removing duplicate verticesWarning LogAssimp IFC: generate mesh procedurally by extrusion (IfcExtrudedAreaSolid)Warning LogAssimp IFC: removing duplicate verticesWarning LogAssimp IFC: generate mesh procedurally by extrusion (IfcExtrudedAreaSolid)Warning LogAssimp IFC: removing duplicate verticesWarning 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 verticesWarning LogAssimp IFC: generate mesh procedurally by extrusion (IfcExtrudedAreaSolid)Warning LogAssimp IFC: removing duplicate verticesWarning 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 4663Warning LogAssimp IFC: Face 0 is not parallel with face 0 - opening on entity 4672Warning LogAssimp IFC: Face 1 is not parallel with face 0 - opening on entity 4672Warning LogAssimp IFC: Face 2 is not parallel with face 0 - opening on entity 4672Warning LogAssimp IFC: Face 3 is not parallel with face 0 - opening on entity 4672Warning LogAssimp IFC: Face 4 is not parallel with face 0 - opening on entity 4672Warning LogAssimp IFC: Face 5 is not parallel with face 0 - opening on entity 4672Warning LogAssimp IFC: Face 0 is not parallel with face 0 - opening on entity 4672Warning LogAssimp IFC: Face 1 is not parallel with face 0 - opening on entity 4672Warning LogAssimp IFC: Face 2 is not parallel with face 0 - opening on entity 4672Warning LogAssimp IFC: Face 3 is not parallel with face 0 - opening on entity 4672Warning LogAssimp IFC: Face 4 is not parallel with face 0 - opening on entity 4672Warning LogAssimp IFC: Face 5 is not parallel with face 0 - opening on entity 4672Error LogAssimp IFC: failed to generate all window caps on ID 4672Error LogAssimp IFC: failed to generate all window caps on ID 4672Warning 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 4844Warning 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 verticesWarning 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

— Reply to this email directly, view it on GitHub https://github.com/irajsb/UE4_Assimp/issues/42#issuecomment-2629412158, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGGF4CLWO2RYVBE3HAMVSM32NYROBAVCNFSM6AAAAABWFG2YICVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMMRZGQYTEMJVHA . You are receiving this because you authored the thread.Message ID: @.***>

fpibbs avatar Feb 02 '25 17:02 fpibbs

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.

902D9 avatar Feb 03 '25 14:02 902D9

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

fpibbs avatar Feb 03 '25 14:02 fpibbs