Paths/curves (except Free or Aligned type bezier curves)
Objects (using their origins)
I also added very basic (read: BAD) support for aligning pose mode bones. It’s probably not very helpful at this point. Don’t expect any magic and use it at your own risk.
I had not thought of doing that. Added it now
The default hotkey is now Shift + Double-click Left Mouse.
Traceback (most recent call last):
File “C:[…]\Blender Foundation\Blender\2.70\scripts\addons\mesh_align_ to_gpencil_view.py”, line 92, in poll
if len(bpy.data.grease_pencil[-1].layers) is 0:
IndexError: bpy_prop_collection[-1]: out of range.
Yes, that should already be possible with the latest version. It is perhaps a bit hidden, though. Assign a hotkey to call ‘uv.align_verts_to_gpencil’ in the UV editor. (Same limitations as elsewhere. Horizontal/vertical only.)
Make sure that you select the object you’re working on before entering edit mode. I’ll fix this in a future update.
When I try it, in Blender 2.71 or the 2.72 release candidate, I get what I think is a bug: it fails unless there is at least one scene in the .blend file that has the name “Scene” … If I have no scene with that exact name, the addon throws up an error.
I’m getting unwanted results when trying to align UVs in the Image Editor (see image), i.e. verts are moved way too far from where the stroke is and they’re not aligned properly even at their new position (they always form straight lines ignoring the stroke curvature). Does anyone know how to fix this?
Hello,
Is the dropbox file yours ?
Because I DL from it and got a file with bl_info 1.08 and you have at least 1.07 release…
That file (i download) got an error indentation and run with the def poll class method doesn’t work.
I run this script time ago and it was ok… did you been hacked ?
Ah, sorry about that. My bad. Not hacked, but I had managed to overwrite the active Dropbox file with an unfinished version. It’s fixed now (reverted to 1.0.7).
This is the best thing since sliced bread. Thank you very much. Without doubt it should be integrated into official Blender as fast as humanly possible.
Edit: If it works. >.<
Just tried it in 2.76 and it is just spilling out errors no matter what i do. If you are interested i can post it, but i assume you already know about it.
It now works properly with both scene and object context strokes and should be generally stable. I removed a bunch of code that was either half-finished or plain not working, and optimized some code that was being called more often than it needed to.