Blender 2.8 OBJ file format not work in import mode #60387

Closed
opened 2019-01-10 11:13:43 +01:00 by Pierre Tufenkjian · 18 comments

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

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

Added subscriber: @PiettroJewelry

Added subscriber: @PiettroJewelry
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

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...

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

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
Bastien Montagne was assigned by Philipp Oeser 2019-01-10 11:37:25 +01:00
Member

Added subscriber: @mont29

Added subscriber: @mont29
Member

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, @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...]

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, @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 .

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 #60381, checking…

Probably same as 'first part' of #60381, 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 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, 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 .

Ok Bastien Great work from you , thank you .

This issue was referenced by 46a9160c6f

This issue was referenced by 46a9160c6f67d60610fdcc1dadbe3946a7010625

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'

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

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

Added subscriber: @brecht

Added subscriber: @brecht

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

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.

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 .

Hi Brecht , Its done now work importing OBJ from Rhino to Blender , Great work , Thank you .
Sign in to join this conversation.
No Milestone
No project
No Assignees
5 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender-addons#60387
No description provided.