Pullusb / storytools

Blender addon - Set of tool for storyboarding in Blender
GNU General Public License v3.0
58 stars 3 forks source link

Tool Presets #36

Open Pullusb opened 1 month ago

Pullusb commented 1 month ago

1. Add Tool presets

Create standalone tool settings (for now exists only as shortcut)

properties of a tool setting items

name: Name of the tool preset used as identifier mode: Mode to swap to if specified layer: layer name to swap to if exists material: material to swap to if exists tool: identifier of the tool to use (this will probably change in 4.3) brush: name of the brush to use within tool (adjust in 4.3) icon: Icon to display (a blender icon for buttons and gizmos) show: Display the tool in UI (when not, can still be called using shortcut)

2. Create Tool Preset UI

Display Tool presets in viewport or as buttons in sidebar

will need to be adjusted for blender 4.3. UI may wait for the new brush implementation

In viewport Gizmos or openGL draw

Having an Open GL draw can add custom icons with bigger size and display anywhere on viewport.

Pullusb commented 1 week ago

Need to design how do the shortcut relate to the tool

2 operator can exists.
Or an all in one operator. When no name specified in ops/keymap properties and input is a number key (top row or numpad), use order in stack. If a name is specified, trigger the associated tool preset

Pullusb commented 1 week ago

Need to create default items in collection and make sure those are not tempered with when user has customized the list Also provide a "Reset to default"

Pullusb commented 6 days ago

Collection property in addon preferences removed

Using keymap item as list of item to display

Pullusb commented 6 days ago

Todo: Change tools presets so that default brushs opacity is set to 100% and have bigger radius