Hi @san,
The OBJ file in question has a mesh with parts that have bad geometries, which is what is preventing it from writing to glTF.
I am attaching a workspace that uses a GeometryCoercer to convert the OBJ mesh to a composite surface, then uses a GeometryValidator to fix the surfaces. The glTF writer will convert the fixed surface back to a mesh when it writes.
Fix_OBJ.fmw
Hi @san,
The OBJ file in question has a mesh with parts that have bad geometries, which is what is preventing it from writing to glTF.
I am attaching a workspace that uses a GeometryCoercer to convert the OBJ mesh to a composite surface, then uses a GeometryValidator to fix the surfaces. The glTF writer will convert the fixed surface back to a mesh when it writes.
Fix_OBJ.fmw
Thank you so much for the reply dave. But I'm trying to create a automated environment to convert multiple obj files.So i tried creating one workspace and using it for all conversions.But sometimes its failing how to tackle this kind of issues.How can i create a workspace that can convert any obj file to glTF. I even tried using your workspace for conversions but it didnt worked.
But in previous fme version 2018.1.0.3 the conversion of the obj file was successful without any errors.It is failing in 2019 version.What could be the reason.
How can i create one single workspace that can convert any obj file to glTF without any Errors.
Thank you so much for the reply dave. But I'm trying to create a automated environment to convert multiple obj files.So i tried creating one workspace and using it for all conversions.But sometimes its failing how to tackle this kind of issues.How can i create a workspace that can convert any obj file to glTF. I even tried using your workspace for conversions but it didnt worked.
But in previous fme version 2018.1.0.3 the conversion of the obj file was successful without any errors.It is failing in 2019 version.What could be the reason.
How can i create one single workspace that can convert any obj file to glTF without any Errors.
Hi @san,
I get the same error from that file when I do the conversion in FME 2018.1 as well. Would you mind sending me the log file form the successful conversion, so that I can try to find the reason it succeeded?
Hi @san,
I get the same error from that file when I do the conversion in FME 2018.1 as well. Would you mind sending me the log file form the successful conversion, so that I can try to find the reason it succeeded?
battleship.zipobj2gltffmesupport.zip
Actually i meant conversion of the other file i didn't attached.Please find in the attachments.I also kept the log files of both versions of fme. Old version the conversion is successful and in the new version it failed.
battleship.zipobj2gltffmesupport.zip
Actually i meant conversion of the other file i didn't attached.Please find in the attachments.I also kept the log files of both versions of fme. Old version the conversion is successful and in the new version it failed.
Hi @san,
I see what you mean now. I have passed the problem file to our dev team. In the meantime, I am attaching an updated workspace that will fix this file as well.