Skip to main content
Question

convert IFC to OBJ

  • June 21, 2018
  • 1 reply
  • 158 views

Forum|alt.badge.img

hello, I need to convert IFC to OBJ, but I had some trouble when converting. Firstly, IFC has many features, but the OBJ converted just has a feature(geometry?). In the process of transformation, merge all the geometries into one. I don't want to merge. Secondly, the transparency properties of the material in the MTL file are all 1(In other words, OBJ is transparent).It's really terrible. Finally,I want to export the attribute table from IFC.Is there any way to solve it?

Any advice would be appreciated!

Thanks!

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

1 reply

daveatsafe
Safer
Forum|alt.badge.img+20
  • Safer
  • June 21, 2018

Hi @zhengsy,

The IFC format has a complex structure for both geometry and attributes, and needs quite a bit of manipulation in order to convert to 3D formats other than 3D PDF.

FME's Revit reader will read IFC files as well, and has Data Views that simplify the IFC data for easier conversion to GIS or 3D formats.

I would recommend using the Revit reader with the 'Building Elements with Hierarchy' to read your IFC file. This will provide you with 3D features with the Property Sets as attributes.

The IFC features can be written out to separate OBJ files by creating more than output Feature Type, or using Feature Type Fanout.

You can write the attributes out to Excel or CSV to preserve them. In this case you will need to write each feature out to a separate OBJ file, and include that file name in the Excel data in order to link the attributes to the record.

When writing to OBJ, FME uses the dissolve token ('d') instead of transparency ('Tr'). For the dissolve token, 1 is opaque and 0 is fully transparent. You can find more detailed material specifications at http://paulbourke.net/dataformats/mtl/.