Import multiple OBJ files for Blender 2.8, 2.9-3.x
links:
2.9 - 3.x Download
2.8 io_import_multiple_objs.py (7.3 KB)
Import multiple OBJ files for Blender 2.8, 2.9-3.x
links:
2.9 - 3.x Download
2.8 io_import_multiple_objs.py (7.3 KB)
Works like a charm! Thank you for sharing))
PS: this one definitely must be added to blender by default:)))
thanks!
perfect.
Wow, brilliant. How is this not a default Blender option by now? Thanks - it works like a charm.
How can we run this py file?
Install the .py like addon, then enable it, then you can see Import Multiple OBJ option from File. Very cool IO.
It saved me a lot of time! Thank you so much!
Dude your code just saved me lol I imported 500 obj together lol XD took 10 mins but perfect
Well done. It was missing cruelly:)
Thanks a lot. I took me a while to find this answer + your addon⌠really great. As said above this should be by default
Thank you so much for this awesome tool! Saved me a ton of time.
Hey @Mephist0 , thanks for the addon, quite useful!
I just wanted to ask is it possible to implement importing multiple obj files that are in seperate folders?
Iâve a case that all the obj files are in their individual folders and sharing a global textures folder (Seems like itâs currently not possible to import multiple objs in such case).
Amazing, thanks.
Is it possible to make this addon works with Blender 2.9x? Thanks!
Hi guys!
just to let you know, I updated the original add-on for the latest blender versions (Blender 2.8+ and 2.92+) a while ago in my post here:
@Mephist0 The version you built on top of, has been updated as well. Please feel free to contribute here: https://gist.github.com/p2or/af5bc4fae39b16f8d505 If youâd prefer a repository to contribute, just let me know.
Cheers,
Christian
I attempted to use the add-on with Blender 2.92 and received an error message.
Based on the error message I did a little Googling and learned that there was a Blender Load a Wavefront OBJ File API change at some point.
To get this add-on to work change line 198 from:
global_clight_size = self.clamp_size_setting)
to:
global_clamp_size = self.clamp_size_setting)
I do not code, script or really understand how to use GitHub so was not going to begin to tinker with the add-on there. Hopefully someone with more skills can update the add-on there for everyone else who might be using it with Blender 2.92.
Thank you!!
Hi @dcbCreative,
thanks! Seems not to be documented, updated the add-on for Blender 2.92.
Cheers,
Christian
@poor many thanks for update!
Please note that there is a small mistake in the script respect to version 2.8x:
filter_glob = StringProperty(default="*.obj", options={âHIDDENâ}, )
should be:
filter_glob: StringProperty(default="*.obj", options={âHIDDENâ}, )
(replace the symbol " = " with " : ")
In this way, the browser will show only the *.obj file and NOT the *.mtl ones.
Finally, it would be be very useful to get a link to download this add-on.
Thanks again!
Hi @Cispica,
thanks. Not a âmistakeâ at all, since the default obj importer lists the mtl files well. However, we can discuss about that of course⌠but I personally donât think this is the right place to talk about technical details like that. Created a gist for the 2.8 version: https://gist.github.com/p2or/a18df7e77d518d0a1a0a411c985a51bc Feel free to contribute, makes it easy to download as well.
If youâre interessted: the â= symbolâ is called assignment operator and as far as I can remember: annotations (the other symbol) were not fully implemented for derived classes at that time of 2.80 so I guess your change wouldnât work for versions pre Blender 2.82.
Cheers,
Christian