Post #309: a_

šŸ“‹ Metadata

šŸ·ļø Tags

popup-dialog pie-menu scripting intermediate solved

  • Pie Menu Editor
  • Popup Dialog Editor
  • Custom Python Scripting
  • Custom Icons

šŸ’¬ Content

a_guy73:

Hi Roaoao,
I’m having difficulty in making a fully expanded dropdown list of sculpt brushes (incl custom brushes).
I have found a number of brush list commands that are almost there but not quite there like bpy.context.tool_settings.sculpt.brush but its in a small window- problem with that is I cant scroll with a tablet pen easily.

Imagineers ā€œAdvanced UI Menuā€ does it- but his setup is too complicated for me to replicate.

Do you know of any commands that will fully display an expanded dropdown brushes list?

PS. your doing a great job of supporting your tool!

Hi, try this code in Custom tab (Pie Menu or Popup Dialog). It will display a button with brush preview:

http://i.stack.imgur.com/gkez4.png

L.box().template_ID_preview(C.tool_settings.sculpt, "brush", rows=3, cols=8)

šŸ”— View on Blender Artists