Add Lattic to Grease Pencil Drawing
Grease pencil Box deform
Blender addon - Modal that create temporary deforming rectangle around selected GP points.
Note : Since Blender 2.91, Box deform
is integrated in the official addon Grease Pencil Tools
bundled in Blender. You just have to activate it.
Download latest
Youtube Demo
Want to support me? Check this page
Description
I first created this as a prototype following my request post : Cage deform active tool for grease pencil
Turns out this works really well as it is, so I added some shortcuts for usability and voilĂ !
Developed for Grease pencil, (mesh might be supported in the future.)
Example with lattice subdiv and spline deformations.
How to use: (same tutorial in addon preferences)
Use the shortcut Ctrl + T
in available modes
The lattice box is generated facing your view so be sure to face canvas to avoid unintentional anamorphosis offset
Then use following shortcuts (also displayed in topbar):
Modes and deformation target:
- Object mode : The whole GP object is deformed
- GPencil Edit mode : Deform Selected points
- Gpencil Paint : Deform last Strokes
Shortcuts (also displayed in topbar):
-
Spacebar
/Enter
: Confirm -
Delete
/Backspace
/ctrl+T
/Tab
(twice) : Cancel -
M
: Toggle Linear and Spline mode at any moment (disable autoswap on first use) -
1-9 top row number
: Shortcut to subdivide box -
Ctrl + arrows-keys
: Subdivide the box incrementally in individual X/Y axis
Notes :
If you return in box deform after applying with a ctrl+Z, you need to hit ctrl+T again to revive the modal.
A cancel warning will be displayed the first time you hit Tab (to avoid mis-canceling)
Multiframe edit selection works but you will only see the current frame during the modal
Todo:
- Find a way to detect other modal to use
ESC
key for cancelling when only one running - target meshes
Changelog:
0.2.5 - 2020-06-23:
- fix: paint mode deforming strokes on another layer
- fix: force view overlay during modal to avoid losing sight of lattice
- feature: autoswap mode between Linear and Bspline
- UI: preference checkbox to disable new autoswap feature
- code: refactor, deleted useless property group
0.2.4 - 2020-06-20:
- fix : Disable 'ctrl+Z' shortcut during modal (avoid crash when undoing in)
0.2.3 - 2020-06-17:
- fix : Bug when a layer has no frames (prevent scanning frameless layers)
- UX : Silent cancel if not GPencil object or wrong mode is used
0.2.2 - 2020-06-09:
- fix : Paint mode, use bottom stroke when using 'draw on back' option
- fix : Paint mode, scan strokes from active layer only
0.2.1 - 2020-05-26:
- fix : correct multiframe edit bug
0.2.0 - 2020-05-26:
- Feature : Allow other modes, Object deform whole GP object, GP Paint get the last stroke
- Feature (fix) : possibility to relaunch the modal after returning in lattice edit with ctrl+Z
- UX : temporarily enable release confirm for more natural control
- UX : temporarily lower mouse/tablet drag threshold for more responsive control when moving points
- syntax : renamed ops
0.1.2 - 2020-05-25:
- fix : right depth, apply matrix_world to GP point coordinate
0.1.1 - 2020-05-23:
- first stable version
Add Lattic to Grease Pencil Drawing
Source: https://github.com/Pullusb/Box_deform
0 Response to "Add Lattic to Grease Pencil Drawing"
Post a Comment