Skip to main content
Solved

Why does the material file creation fail when converting IFC to OBJ through FMW?

  • October 20, 2023
  • 1 reply
  • 26 views

bskim
Participant
Forum|alt.badge.img

HI.

 

When parsing Clinic_Electrical.ifc using the attached ifc2obj.fmw, it fails because the material file is not created.

I am inquiring as the cause is unknown.

 

please answer about my question.

 

Regards,

Bongsup Kim​

Best answer by daveatsafe

Hi @bskim​,

The OBJ file always writes out the materials to the same materials.mtl file, even when using feature type fanout, so will overwrite each other as each OBJ file is written. If the last OBJ written has no material, there will be no .mtl file. Please use Dataset fanout instead, to put each OBJ file in its own folder.

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
  • Best Answer
  • October 23, 2023

Hi @bskim​,

The OBJ file always writes out the materials to the same materials.mtl file, even when using feature type fanout, so will overwrite each other as each OBJ file is written. If the last OBJ written has no material, there will be no .mtl file. Please use Dataset fanout instead, to put each OBJ file in its own folder.