Trying to put an element from a .blend file into an IFC (+ modeling issues)

edited December 2024 in General

Hello!

Long time lurker here. I have little knowledge of IFC, but I am trying to use Bonsai on a real project anyway.

This is a IFC model of a building structure. The highlighted ramp came from a .blend file (I modelled it as mesh in blender). I copied and pasted it into the IFC of the building, and then positioned it into place with my rudimentary blender skills.

How can I save the IFC with this ramp? I have tried to save the IFC Project. But then when I open it, the ramp is not there. So what are the additional steps to turn the 3D ramp element into an IFC thing and save it correctly? So far I am only interested in the 3D geometry to share with other people.

Sorry if the question is crude, but I am trying to learn more about IFC in the process and this could be helpful later for someone with similar needs.

Update: i assigned an IFC class of ramp to it and saved, and it worked. But for some reason the geometry got messed up. Here is an image from it viewed in ODA Open IFC Viewer:

Comments

  • Hi @ArnoldEstruturas,
    Basically you have to assign an ifc class to the object, assign it a "spatial container" (Object Information section) and save the ifc project (save ifc).
    With these steps the object should be included in the project's ifc file.

    ArnoldEstruturas
  • edited December 2024

    Update 3: Now my problems are more on the modeling side:
    I cleaned up the mesh with "Merge by Distance" and then re-oriented the normals. Now it looks like a solid in Open IFC Viewer. The only weird thing are those little triangles that appeared. Maybe it a shading setting? Is this related to some IFC property?

    In blender:

  • @ArnoldEstruturas basically it isn't possible to model a spiral from 4 sided polygons, you have to use triangles.

    Blender doesn't care, but IFC won't let you do it as these four-sided faces are not planar.

    ArnoldEstruturastheoryshawduarteframosMassimo
  • @brunopostle said:
    @ArnoldEstruturas basically it isn't possible to model a spiral from 4 sided polygons, you have to use triangles.

    Blender doesn't care, but IFC won't let you do it as these four-sided faces are not planar.

    Thanks, I did some research now and read about this. Now I am trying to triangulate it preserving the curvature better. I think I will need to have it use more triangles in places with more curvature.

Sign In or Register to comment.