Add new feature Asset Browser
There is no doubt this addon is amazing but I think this could be better if you upgrade with new features of Blender as asset browser and geometry nodes. For example in posing section you have a button to bring the pose library from daz to blender but this goes to the pose library and is a little complicated send these to asset browser, so I think you could create a new button to importe these poses directly to the asset browser with their name and thumbnails.
Comments (8)
-
-
It’s easy to change the “Import Library” feature to the Asset Library, though.
I commented out bpy.ops.poselib.pose_add(frame=frame) and the next two lines in animation.py / addToPoseLib() and replaced it with
bpy.ops.poselib.create_pose_asset(pose_name=name, activate_new_action=True) name = bpy.context.object.animation_data.action.name bpy.data.actions[name].asset_generate_preview()
Works for me, make sure your camera settings are correct if you want to have usable Thumbnails.
-
By the way, don’t convert old poselibs. This feature is broken, the converted poses can scale arms and legs and can change the root position.
-
repo owner Pose assets can now be created, but the created previews don’t show anything for me. And I haven’t figured out how to deal with catalogs. But it is a first step.
-
You have to make sure that your camera view is right. Previews are done with the current camera, not your viewport.
I have a special scene with a green colored G8F and a dark background, just for importing DAZ libraries. With this setup, I get good previews.
I haven’t touched the catalogs with python yet, but I will have a look into that.
-
A lot of stuff can be found here:
https://github.com/Gorgious56/asset_browser_utilities
Loading a custom preview images is described here:
Tags, author and descriptions are simple, as is assigning to an exiting catalog.
bpy.data.actions['01a - Blue'].id_data.asset_data.tags.new("First_Tag")
bpy.data.actions['01a - Blue'].id_data.asset_data.tags.new("Second_Tag")
bpy.data.actions['01a - Blue'].id_data.asset_data.author='DAZ AUTHOR'
bpy.data.actions['01a - Blue'].id_data.asset_data.description='Some Text'
bpy.data.actions['01a - Blue'].id_data.asset_data.catalog_id='00000000-0000-0000-0000-000000000000'The utilities in the first link can handle catalogs,
-
Issue
#868was marked as a duplicate of this issue. -
- changed status to resolved
This is implemented, as "import pose libraries" now supports the asset browser.
- Log in to comment
imho
The addon is supposed to be compatible with blender 2.9 I guess that’s why the asset browser is not used. Furthermore the asset browser is new and in heavy development so it may not be wise to base features on it yet.