Hello,
I'm a new user and every time I try to open an obj file I get an error message that says "malformed file" and that the file cant be opened. Any thoughts as to why this is happening?
Cant Open OBJ file
Cant Open OBJ file
Last edited by YAAYEET on Fri Apr 12, 2019 4:40 am, edited 1 time in total.
Re: Can Open OBJ file
Maybe because the file IS malformed? :p
Can you share it with us? (admin [at] cloudcompare.org)
Can you share it with us? (admin [at] cloudcompare.org)
Daniel, CloudCompare admin
Re: Cant Open OBJ file
Sure, but I dont think its malformed, I can open it just fine in other programs like cinema4d and rhino 6.
https://www.dropbox.com/s/6d10x2i1pfxsn ... b.obj?dl=0
https://www.dropbox.com/s/6d10x2i1pfxsn ... b.obj?dl=0
Re: Cant Open OBJ file
Oh, CC is actually pretty clear about the error ;)
The 'Tf' characteristic in the material file is unknown to CC.
This actually corresponds to 'Transmission filter'. I'll change CC so that it 'ignores' this... but we won't be able to handle it.
Code: Select all
[10:38:16] [OBJ::Load::MTL parser] Unknown command 'Tf' at line 6
This actually corresponds to 'Transmission filter'. I'll change CC so that it 'ignores' this... but we won't be able to handle it.
Daniel, CloudCompare admin
Re: Cant Open OBJ file
Oh no wait, this file has other 'particularities'! Like instead of using one line per face, you have escape characters at the end?! That's insane... Developers doing that really don't want others to load their files :|
Daniel, CloudCompare admin
Re: Cant Open OBJ file
Okay I fixed that as well. You can download the latest 2.11 version.
However, for your file, you'll have to disable the material (shortcut 'm' when the mesh is selected) and maybe re-compute the normals as the ones in the file are also weird!
However, for your file, you'll have to disable the material (shortcut 'm' when the mesh is selected) and maybe re-compute the normals as the ones in the file are also weird!
Daniel, CloudCompare admin