[Addon] Sculpt/Paint Workflow Suite


(Vrav) #1

Nov 16 2015: Added Brush Quickset functionality for Particle Edit mode
Nov 15 2015:
Fixed View Straighten for 2.76b, added gifs
Jan 27 2014:
Fixed Brush Quickset for 2.69, added Brush Select By Name

Here’s a collection of simple addons I’ve created to enhance sculpting + painting workflow in Blender. They are highly configurable in the hotkey editor, with many options for input style and appearance.


http://i.imgur.com/Fks7d8w.gifhttp://i.imgur.com/qrpQSnh.png

Brush Quickset
Works in any 3D view sculpt or paint mode.
Automatically assigned to RMB in sculpt mode.
https://dl.dropbox.com/u/398143/blender/brush_quickset.py[SUB]
brush_quickset.py
brush.modal_quickset for hotkeys
Brush QuickSet from search menu

Modify sculpt/paint brush radius and strength in a streamlined manner.
To use, assign a hotkey to brush.modal_quickset in a paint or sculpt mode.
Recommended RMB, but any key can be used in a hold-and-release manner.

What does it do? When you activate the modal operator, you can drag the
mouse along either axis to affect brush radius or strength. Which axis
affects which is configurable, amongst other things detailed below.

Operator Options:

  • Axis Order: Whether X or Y affects brush size, etc.
  • Key Action: Hotkey activity (press or release) can apply or cancel.
  • Numeric: Show strength value when adjusted; can pick size
  • Slider: Represent strength with a visual slider; can pick size
  • Pixel Deadzone: Distance before an axis starts affecting the brush.
  • Size Sensitivity: Multiplier for quicker or slower radius adjustment.
  • Graphic: Represent strength via transparent brush overlay
  • Lock Axis: Allow only one value to be altered at a time

Known limitations:

  • Not available for painting in the image editor.
  • Holding ctrl does not snap to values, probably should.[/SUB]

http://i.imgur.com/ABl8My3.gifhttp://i.imgur.com/0OdEfOy.png

View Straighten
Works in any 3D view.
No hardcoded hotkey; assign your own for full functionality.
https://dl.dropbox.com/u/398143/blender/space_view3d_viewstraighten.py
[SUB]space_view3d_viewstraighten.py
view3d.view_straighten for hotkeys
View Straighten from search menu

Activate operator and it eases into the nearest view in 90 degree increments.
Activating the operator a second time toggles perspective, optionally.
The length of the view transition is configurable, and can be instant.
Holding down the operator key allows mouse movement to smoothly
shift the view to adjancent sides. Configurable distance.

Known limitations:

  • Assigning to hotkeys LMB, MMB, Esc or RMB, the key-hold functionality will not work.[/SUB]

http://i.imgur.com/rArnOVB.png

Brush Select By Name
Cycle between brushes by name with custom hotkeys (example above).
This prevents new brushes added to blender from breaking old array-index-based hotkeys.
https://dl.dropboxusercontent.com/u/398143/blender/brush_selectbyname.py
[SUB]brush_selectbyname.py
brush.select_by_name for hotkeys

Assign brush.select_by_name to a hotkey in User Settings > Input.
Enter the names of the brushes for this key to cycle through.
Examples:

  • Clay,Clay Strips,Draw
  • Flatten/Contrast,Polish
  • Grab,Snake Hook

Known bugs:
Default string doesn’t work, but is kept for example purposes.
Blender doesn’t have default settings for operators, but uses
the last-called settings when hotkey options are unmodified.

[/SUB]


Please use and enjoy! Feedback and suggestions for new ideas are welcome.
Here are more ideas I want to do:
[SUB]- ‘Sculpt/Paint pan’ modal, special panning that positions target focus automatically, centered to volumes one is moving around

  • ‘Quick Pose’, create temporary bone and deform mesh; will have nice falloff, symmetry options, translate/rotate/scale. Basic concept is drawing a line that auto-generates a joint and weighting on the mesh, allowing quick armature-like deformations of a multires model

  • Sculpting quick-silhouette mode

  • Improved UI/UX for existing sculpting tools and options
    [/SUB]


(LiquidApe) #2

These are some great usability addons. Great job!


(kakachiex2) #3

@Vrav
Great work on those thanks…!


(Jason van Gumster) #4

Re-opened at OP’s request


(Vrav) #5

Thanks Fweeb. Added a video to the first post describing the three small addons so far.

Sorry again for the terrible mic quality.


(sick) #6

These scripts look very useful. Thanks!


(MmAaXx) #7

great scripts!

thanks!


(Darcvizer) #8

hi guys, I have a problem with the snap view layout on maya


(Vrav) #9

Hi Darcvizer, this is a python script for Blender only. I have not done any scripting for Maya recently.


(Darcvizer) #10

I apologize for my English, I use a blender to maya preset hotkey http://joxi.ru/gNVyUxjKTJCmRhR-7A0
and I do not work View Straighten


(Vrav) #11

@Darcvizer, sorry for the delay on answering this: the View Straighten operator is simply not assigned a hotkey by default, so you must create one as you like in your own preferences.


(0rAngE) #12

Wow, I can’t believe I hadn’t seen this before!

Modify sculpt/paint brush radius and strength in a streamlined manner.

I was excited when I saw the post, and wanted to reply and say thanks : )
This is something I was hoping for all the time!

Off to install it. Much appreciated, Thanks!

EDIT:
Works like a charm! Super smooth.
Thanks again! This is one of those ‘cosmetic’ things that makes a world of difference in actual use.


(Darcvizer) #13

@Vrav hi. I already figured out. I helped my friend Alexander Neovitin. He also perfected, added auto transition in orto. & persp. modes. https://yadi.sk/d/1BtbWr5kUair6
thank you for your work, I often use the addon and very happy


(Darcvizer) #14

My English is not possible to describe my question, so I will send a screenshot which will have to explain everything



(0rAngE) #15

Bump.

Just wanted to bump this addon. Something that greatly improves my sculpting experience in Blender, and wanted to temporarily resurrect it from the depths of this section of the forum :slight_smile:

Vrav, thanks again on this great gem!


(Vrav) #16

Thanks 0rAngE! I’m glad to hear that. Haven’t been sculpting much myself these days, so it’s good to know at least someone is using them. :] Maybe it’s time to get back into this… any script ideas come to mind for recent versions of Blender?


(Michael Knubben) #17

Hey Vrav, I’m glad this thread was bumped, I must’ve missed this the first time around!

I tried to install View Straighten in 2.76b, but get this error:

Traceback (most recent call last):
File “C:\Program Files\Blender Foundation\Blender\2.76\scripts\modules\addon_utils.py”, line 343, in enable
mod.register()
File “C:\Users********\AppData\Roaming\Blender Foundation\Blender\2.76\scripts\addons\space_view3d_viewstraighten.py”, line 424, in register
bpy.utils.register_class(StraightenView)
ValueError: validating class:: ‘GRAB_POINTER’ not found in (‘REGISTER’, ‘UNDO’, ‘BLOCKING’, ‘MACRO’, ‘GRAB_CURSOR’, ‘PRESET’, ‘INTERNAL’)


(0rAngE) #18

Scripts I could recommend?
Or script ideas for development?

Either way, I’d have a couple :slight_smile:


(JWise) #19

I have ten employees using Blender in my company, many that might benefit from this but I can’t see the video to see what it does. I don’t care about poor audio quality. Unfortunately I cannot spend a lot of time working with the scripts myself nor can I assign it to one of my employees when I need productivity from them, not research.

I am happy that this has gotten bumped recently to bring it back to Blender users attention. Hope Vrav will give it some attention.


(Vrav) #20

Hey Pea! Fixed that now

Orange – ideas for new scripts

JWise, I added gifs