Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[fixed] import obj is error!
05-26-2017, 03:41 PM (This post was last modified: 05-31-2017 12:40 AM by micheus.)
Post: #1
[fixed] import obj is error!
I am very like wings3d,but,when I import obj files,it gives error.

the obj file is export from software Creo Parametric,can you help me??

the obj file import 3ds max 、maya、blender is no question。

and I am a chinese user,I want help you in translation .


the error file is in:
05-26-2017, 05:07 PM
Post: #2
RE: import obj is error!
the related file

Attached File(s)
.zip (Size: 180.22 KB / Downloads: 1)
05-27-2017, 06:17 AM
Post: #3
RE: import obj is error!
medid2001, thanks for the files.
That seems to be a problem with the .obj file exported by Creo that Wings3D isn't ready to deal with.

I upload your object file into Assinp Viewer and then I re-exported it as an .obj file and then Wings3D could load it correctly. Here is the file for your download:

I guess it's related to the use of a non manifold structure (notice the backside of the petals - there are no faces):

I need to try reduce the .obj to a couple of faces (probably one petal causes the error) otherwise it's a insane work try to debug all these information.

My Wings3D Collection at G+
05-27-2017, 11:38 AM (This post was last modified: 05-27-2017 12:14 PM by medid2001.)
Post: #4
RE: import obj is error!
I want to use wings3d as 《Creo》 an extension , because there some lack of《Creo》 in the polygon modeling function, 《Creo》 used to exchange the polygon file format is the obj format, if Creo file simply, wings3d is no problem, but if the Creo file is more complex, Wings3d will bring problem. Creo has no Problem with other software (3DMAX, Maya).

I find that error come from here:

If there are multiple independent geometries in Creo,the error will come。

and if there only one geometry in creo,the error will disappear。

Attached File(s)
.zip (Size: 1.58 KB / Downloads: 0)
05-28-2017, 03:24 AM
Post: #5
RE: import obj is error!
I found the problem. The file you exported from Creo is unicode and we are not ready to read this kind of file.

I did a workaround that fix the problem by now, but any name (material, object) you have used unicode character will look wrong.

Here is the file you need to replace: e3d_obj.beam
It must replace the file you find in a place like this: C:\Program Files\wings3d_2.1.5\lib\wings-2.1.5\ebin

*Please, do a backup of the original file before. Wink

My Wings3D Collection at G+
05-28-2017, 12:58 PM (This post was last modified: 05-28-2017 01:26 PM by medid2001.)
Post: #6
RE: import obj is error!
thanks very much!I'll give it a try .

it is so good,thanks very much

Forum Jump:

User(s) browsing this thread: 1 Guest(s)