Blender addon - Bunch of functions for Grease Pencil post-drawing strokes adjustment
Panel in sidebar : 3D view > sidebar 'N' > Gpencil > Strokes refine (need to be in a GP mode to appear)
The addon offer various tools to affect strokes.
Use F9 key to use the redo options when available.
The important things. Almost all the tools respect the filter you define at the top of the panel:
This is based on three level : Layer > Frame > Stroke. Be careful with the targets.
Use selection
: Restrict target scope to selected strokes only
Target last in paint mode
: In draw mode, restrict target scope to last stroke.
Select backward/forward
Select strokes from the start or end of the stack in active frame
Select by length
Select stroke in active frame that are shorter than given length.
Hint: you can discard single points (considered 0 length strokes) in the redo panel
Select by angle
F9 to access angle tolerance tweaking via redo panel
Select hatching
Select lines with specific angle. Reference angle can be set with a selected stroke
Select attribute threshold
Select strokes or points if attribute (pressure, opacity) is below or above a given threshold
All the tweaking and options are available in the F9 redo panel
Strokes Delete
Delete strokes from the start or end of the stack in active frame
Trim start/end (only work on last stroke)
each call erase starting/ending point. usefull to adjust when stroke has gone too far
straighten
Two buttons
One keep only first and last point so in-between point information like thickness are lost
The other straighten the point and you can affect influence.
Shift + Click
to reset infuence to 100%
Ctrl + Click
for homogen pressure
to Circle
Tranform into average circle
Shift + Click
to reset infuence to 100%
Ctrl + Click
for homogen pressure
polygonize
Like the straighten above but by splitting on angles between point, user can manage angle tolerance.
Modify the following strokes attributes:
Modify following points attributes:
0.0
to 1.0
, can go beyond when changed with radius tool (Alt+S
)0.0
to 1.0
0.0
show only material, 1.0
show only painted vertex color.On all those attributes you can either add/substract, set or multiply a value
There is also a solution to equalize stroke thickness / pressure
Equalize stroke thickness
Equalize point pressure
Those are juste shortcuts to native Blender operators (on selection only)
The resampling operator can be called with some pre-defined value.
Allow for quick adjustement of stroke's definition.
Print stroke/points infos: Display informations in console (according to filter)
You can enable experimental features in addon preferences Those are not stable and can easily return errors
Refine stroke by progressively fade pressure from middle to tip.
/!\ Works sometimes, percentage is not accurate, can raise errors.
Auto join (only on last stroke)
/!\ experimental
Merge the start of last stroke with the nearest stroke tail found
head cutter tolerance : number (as points) from stroke boundary that are evaluated for the lines merge
Detection radius : Proximity tolerance to detect surrounding strokes boundaries, relative to screen space, increase if no result
Filter management can be tricky at first.
Examples:
Layer: Active, Frame: Active, stroke: Selected -> You can select strokes that are on different layer, but here your restricted to 'active layer'.
Layer: All, Frame: Active, stroke: Last -> Here last stroke is not necessarily the one on the active layer (since All layer are targeted)
Keep that in mind when defining your targets
Alt + X
Bind Strokes Delete
(see upper) to shortcut Alt + X
Allow to delete quickly the last bunch of strokes in active layer > frame
Like an infinite Ctrl + Z
!
Consult changelog here