Grease pencil draw transform
Blender add-on to tweak grease pencil strokes directly in draw mode.
Use case demo by Daniel Martinez Lara on this link : https://www.youtube.com/watch?v=ino4Njemtds
Important note: For blender 4.2 and below, use addon version below 2.0
Update 2.0 compatible with the new grease pencil v3
Add compatibility for Blender 4.3 and above.
Update 1.2 added draw Thickness
Pressing Alt + S + click drag adjust the thickness of pointed stroke (lines using stroke-disabled materials are ignored)
Update 1.0 added draw Smooth
Press Shift + S to Resample and Smooth closest stroke from cursor (continuously for auto-repeat). Useful for extending/resculpting stroke.
Resample and Smooth actions can be toggled and customized under the shortcut in addon preferences.
It's possible to add another shortcut with different settings directly in the keymap.
Under category Grease Pencil Stroke Paint Mode with operator name gp.draw_smooth)
Update 0.9 added draw Slide
Pressing W + click drag to change the length of the stroke.
Update 0.8 added stroke delete
Directly pressing X delete the closest stroke from cursor, useful for quick cleaning:
Use letter-keys like modifiers combined with left-click on a stroke to trigger transform:
G : Grab R : Rotate
S : Scale E : Pinch
Note: the 3D pencil and letters display have nothing to do with the add-on, there are only in the video/gifs to better show where the cursor is.
Usage
Once the transformation has started you can release the modifier key, transform keep going while click/pen is pressed
Pressing Esc during the transformations will cancel back to original position.
Those keybinding can be customized or disabled in add-on preferences.
At the end of the transform, stroke reproject itself on the canvas.
Check that you have wanted canvas draw-settings.
Pinch Tool:
While active, you can press 1 and 2 number keys to reduce/augment influence radius size.
Radius default value, influence display, presets and behavior can be tweaked in addon preferences.
Influence propagate along the line, so only the part you pinch is affected:
Pinch influence falloff is different when triggered in inner part of the line or close to line tip for easier stroke placement:
4 transforms:
Limitation
Does not work on multiple drawing depth in the same object, as it uses drawing plane position and orientation to determine which stroke to pick and where to reproject.
#Blender, #3D, #addon, #Gpencil, #stroke-edit, #transform
Shortcuts to transform a grease pencil stroke without switching to edit mode