OSArch Community

Hi everyone!a PhD student in construction management

  1. S

    I am a PhD student in construction management. I am currently learning IfcOpenShell-Python. There are not many practical examples of this software at present, I hope I can learn a lot from everyone.

  2. M

    Welcome @shanmama !

    All of the code written for IfcOpenShell is open-source, so there are a lot of examples of it in use in the repository. In particular, look at:

    src/ifcbimtester/features/steps/steps.py

    src/ifccobie/cobie.py

    src/ifcblenderexport/ifc2ca.py

    src/ifcblenderexport/blenderbim/export_ifc.py and import_ifc.py

    If you want a particular example of something, let us know and we can write an example for you :)

  3. S

    Wow!it is essential to our freshmen.

    And I found these examples are most of C++ files. Has it some python files? And the functions in IfcOpenShell are the same between C++ and Python?

    Thx !

  4. S

    Like these examples

    image.png

  5. S

    AFAIK, these C++ examples don't compile anymore in recent IfcOpenShell versions (v0.6.0+).

    In the past, I pasted them in a new C++ project and could run most of them.

  6. M

Login or Register to reply.