Page MenuHome

Blender 2.8 OBJ file format not work in import mode
Closed, ResolvedPublic

Description

Hello ,
I am using Rhino 3d with Blender , long time i am trying to import OBJ file from Rhino 3d to Blender it doesnt work in Blender 2.8 when i import it gave false not access , only in Blender 2.79 work imported OBJ file , please fix it this thing its important for us . For can work in Blender 2.8 .
Thank you.
Regards.
Pierre

Related Objects

Event Timeline

Philipp Oeser (lichtwerk) triaged this task as Needs Information from User priority.

Could you please share the corresponding OBJ here [also the MTL if there is one]
Otherwise we cannot reproduce this issue...

Marking as incomplete until we have that...

Yes sure , all of any 3d OBJ object not importing in Blender 2.8 i can send you a lot of 3d all , only importing in Blender 2.79 , even if it is one object or many multi object same thing happen , i sent a sample OBJ file .
Thank you.
Regards.
Pierre
https://od.lk/d/NV8xMzAzNDk2MjZf/OBJ.obj

Philipp Oeser (lichtwerk) raised the priority of this task from Needs Information from User to Confirmed, Medium.

getting the following:

(  0.0001 sec |   0.0001 sec) Importing OBJ '/home/philippo/Downloads/Blender Bugtracker/T60387/OBJ.obj'...
  (  0.0005 sec |   0.0000 sec) Parsing OBJ file...
   (  3.5129 sec |   3.5121 sec) Done, loading materials and images...
      3.5140 sec |   3.5132 sec) Done, building geometries (verts:254941 faces:274719 materials: 1 smoothgroups:0) ...
Error: Array length mismatch (expected 11097, got 11094)
Traceback (most recent call last):
  File "/bin/2.80/scripts/addons/io_scene_obj/__init__.py", line 145, in execute
    return import_obj.load(context, **keywords)
  File "/bin/2.80/scripts/addons/io_scene_obj/import_obj.py", line 1201, in load
    dataname,
  File "/bin/2.80/scripts/addons/io_scene_obj/import_obj.py", line 642, in create_mesh
    me.vertices.foreach_set("co", unpack_list(verts_loc))
RuntimeError: internal error setting the array

Can confirm the vert mismatch. Can also confirm this is coming in without errors in 2.79...
Will confirm for now, @Bastien Montagne (mont29) might know right away? (feel free to throw back at me and I will investigate more...)
[This might not be a bug but a broken OBJ though...]

But for all kind objects in OBJ file format be like this cant acces in Blender 2.8 , i am working during many months on Blender 2.8 only the way i import OBJ in Blender 2.8 by first i import to Blender 2.79 and than make Copy to Clipboard and Paste in Blender 2.8 or i export from Blender 2.79 OBJ for can import in Blender 2.8 or i import from Netfabb or Maya Obj to blender 2.8 for can work in .
Only from Rhino 3d Cant access import to Blender 2.8 , by the way i am using Rhino V5 , i dont know if its should use Rhino V6 for OBJ can import to Blender 2.8 .

Probably same as 'first part' of T60381, checking…

Ok Bastien , i can send you many Obj file if you want check it more all in Blender 2.79 work imported only in Blender 2.8 not imported from Rhino V5 to Blender 2.8 as OBJ file , giving error .

OK, so not related in the end, this is a parsing issue, still trying to understand what happens exactly here.

Ok Bastien Great work from you , thank you .

Hi Bastien ,
Still not working importing in OBJ format please can check screenshot images, thank you.
https://photos.app.goo.gl/nAZ9SuHF3NZjo2ySA
https://photos.app.goo.gl/DNxt4cdxwVnEidoF6

Tomorrow's build will have the fix, the current one does not have it yet.

Ok Brecht Van , Great , ... Cz a lot of Rhino 3d users also using Blender 3d too ... i know will coming soon plugins for Rhino to Blender or Blender to Rhino ... Addons ... Thank you.

Hi Brecht , Its done now work importing OBJ from Rhino to Blender , Great work , Thank you .