[Addon] SceneXtra - View, search, edit & analyze scene resources.


(Eric Klein) #1

SceneXtra: View, search, edit, and analyze scene images, materials and objects by image or material. It has three separate views of the scene one for images, materials and objects. The addon will show under the 3D-View.

Download addon attachment: sceneXtra.py.zip (9.23 KB)

This is my first plugin. Suggestion and comments welcome.

Common features across all the modes:

  • Filter list drop-down and filtering options: Allowing filter types, text and sorting.
  • List refresh: When outside changes happen a “Refresh List” may be needed.
  • Multi selection toggle: For multi-selecting scene resources.
  • Fake User: Toggles the fake user for the selected resource.
  • Remove (Images/Materials/Objects): Removes the currently selected resources.
  • Replace Selected/All: Replace the resource from the drop-down list with the selected resource from the main list for the selected/all objects from the bottom list.
  • Automatic Editor Update: Selecting an item will update the 3D view, node or image editor.
  • Keyboard Navigation on List: Use the up/down arrow.


  • File Path: View the image file path.


  • Create New Detached Material: Creates a new material that is not attach to an object. This material would not be save with the scene unless there are assign to an object or set to fake user.
  • Remove Material from Object List: Remove the selected material from the selected objects from the object list.
  • Rename Material: Double-click on a material from the material list.
  • Add Material Slot [Object Mode]: Add material slot from the selected material to the objects selected on the scene.
  • Add Material Slot [Edit Mode]: Add material slot from the selected material to the selected faces on the selected object from the scene. Note: To re-edit the object face selection after material selection from the list, but before the “Add Material Slot” a “Refresh List” is require to go back to the selected object “edit mode”.
  • Create New Material: Create a new material from the selected material to the “Selected Object”.
  • Selected Object: Pick an object to be the currently selected object. It will also update with selections done on the 3D viewport

[ATTACH=CONFIG]493021[/ATTACH]


Blender 2.8 development thread
Blender 2.8 development thread
(Eric Klein) #2

Continue:


  • Replace Selected Object: Replace the object from the drop-down list with the selected objects from the object list or the 3D viewport. Note: When selecting on the 3D viewport use “Filter Objects” selected filter to check the current selected objects.
  • Use Rotation: Uses the rotation of the selected objects being replace.

#3

Thank you very much, it looks very interesting!

For a long time I have been feeling the need of some sort of manager for textures and materials in blender, unfortunately I mostly use external rendering engines though I think your addon can be very handy anyway!

ASAP i’ll give it a try, first the job.

paolo


(wuren) #4

Big thanks~


(urkokul) #5

Thanks for great job


#6

HUGE addition. I was wondering if the tool could have another tab for node groups and being able to remove all those unused node groups with ease.

Edit:

I just found out your addon shows a couple of items in unused which I guess should not be there?

  • HDRI used as environment texture
  • Viewer Node
  • Render Result

(Eric Klein) #7

Node groups maybe could also be added at the end of materials. Selecting a node group would list the attach materials. A node group would become unused when it is not connected to a material. Let’s see if their are any other users who would like this feature.

Unused in this case meant that they do not have any object attach to them. I think it does make sense that if their are being used in the scene, they should not be unused. That I can fix this easily.

Thanks for your feedback


#8

So yeah I think removing all materials gets rid of all the node groups. I probably didn’t understand it 100% and node groups that contain other nodes are available too so that’s why I thought I had extra nodes.


(Eric Klein) #9

Yes, removing a material will remove the associated nodes.


#10

:slight_smile: Indeed. Thanks, mate.