Menu

Which approach is better for parsing the IFC file with less time.

Somesh
2021-07-20
2021-07-20
  • Somesh

    Somesh - 2021-07-20

    Hello all,
    I am working on a sample project where I want to parse the data from IFC file using IfcOpenShell-Python.
    For the parsing part I am referring 2 sample project on GitHub
    1.The first one traverse the IFC file by utilizing the IFC hierarchy (like Project->sit->building->building story)and also parse its properties.
    https://gist.github.com/stefkeB/86b6393a8d248579ac3a0fad8676d96e
    2.In second approach the IFC file is parsed line by line and the relations between the nodes are stored in edges.
    https://github.com/Nobuho/IFC-Neo4j-converter

    I have question on using IfcOpenShell-Python
    1. From above two approach, which approach is better to use for parsing the IFC file and creating nodes and edge data.
    2. While parsing IFC file of size 100 MB, above two approaches took 20 minutes to parse file, could you please suggest a way by which we can reduce the parsing time.

     

Log in to post a comment.