Compatible with 2.80
2.80 note: Currently only works through hotkey. Toolbar buttons are TODO!
Note: Assigns the hotkey Alt + Right Mouse (double-click). This can be disabled.
Note: The proportional edit mode breaks when used with a big radius.
What does it do?
This script will allow you to align the selection to the current grease pencil stroke.
(Works with vertices, objects, paths, bezier curves (except Aligned and Free type curves), edit mode bones.)
All of this happens in screen space (2D), which means works just like moving vertices around using the “G” hotkey.
It has now been updated
If you have suggestions, find a bug or otherwise have trouble using it, let me know and I will do my best to accommodate!
Here’s a little video of it in action:
Note: In the video it looks pretty automatic, but you have to press a button or hotkey to actually align the vertices after painting a stroke.
1.2.3: Thanks to @pullup: Fixes to keymap registration order, more tweakable options for hotkey.
1.2.2: Changed default hotkey to Alt+Double-Click Right Mouse and made it possible to disable auto setting of the hotkey.
1.2.1: Fixes for 2.80. Moved to github.
1.2.0: Updated for 2.80 API changes. Separated code so individual hotkeys can be assigned for vertices, edit mode bones, curves, uvs, etc.
1.0.8: Removed buggy pose mode support. Fixed support for “Scene” type grease pencil strokes. Some optimizations.
1.0.7: Added hotkey, fixed bugs in poll function
1.0.6: Basic support for UVs
1.0.5: Better proportional editing (but still buggy), pose bones, curves
1.0.2: Code cleanup, basic support for bones, objects and proportional editing
1.0.1: Fixed error caused by not importing view3d_utils
1.0.0: Addon released. Can align vertices to gpencil stroke.
- Add buttons (compatible with 2.80)