[Addon] bAssetHound - (Scan directories for blend files and report on the contents)

https://github.com/dustractor/b-asset-hound






At this point, bAssetHound is able to:

save into files the texts & packed images
thumbnail the mesh objects from multiple angles
show the color of materials
show group members
show whether image paths are valid
sort meshes by number of verts/edges/faces & a few other things

At the github link, if you wish to have a zip suited for install via blender’s user prefs, choose the zip from among the files – if you download the whole github project as zip, you will have to manually relocate the bAssetHound folder into your addons folder.

Also, since this is still very beta, the _dbg = True line – it is left on and leads to an operator in very impolite location ( top left ) which shortcuts to using scan of blend files on desktop for a few predetermined categories.

to be continued…

not tested yet, but sounds very nice. :slight_smile:

Here is a small error report running it on a folder full of blends.

Traceback (most recent call last):
File “/Users/igor/Library/Application Support/Blender/2.67/scripts/addons/bAssetHound/init.py”, line 362, in execute
report(context,self.paths,self.categories,self.reportpath)
File “/Users/igor/Library/Application Support/Blender/2.67/scripts/addons/bAssetHound/init.py”, line 294, in report
info = cat_infofunc_dict.get(category)(scene,actual)
File “/Users/igor/Library/Application Support/Blender/2.67/scripts/addons/bAssetHound/init.py”, line 213, in objects
bpy.ops.view3d.camera_to_view_selected(override)
File “/Applications/blender-2.67-r56838-OSX-10.6-x86_64/blender.app/Contents/MacOS/2.67/scripts/modules/bpy/ops.py”, line 186, in call
ret = op_call(self.idname_py(), C_dict, kw, C_exec, C_undo)
RuntimeError: Operator bpy.ops.view3d.camera_to_view_selected.poll() Only valid for a perspective camera view

Ok I’ll have to check into that. The override is still a bit shaky, and the only way I made it work took a session with pdb.set_trace() just before the view_selected op. I wish I knew what context members it was looking for… Thanks for the heads up and sorry It doesn’t work for you yet. I updated the github today with a little bit more work but I doubt it pertains to your problem.