Smadge Cursor Tools
Ever noticed you use shape keys or an armature and you wanna snap the 3D Cursor to selected but it get's placed somewhere else?
I created this with the help of ChatGPT and Serpens for Blender to fix this issue for me, as I wasn't able to find an addon that does the same stuff. If there is, let me know, they probably did a better job than ChatGPT.
As I used ChatGPT again please insert a 0 as price and as tip as well, you don't need to have any bad feelings not giving anything as ChatGPT did the heavy lifting, rather give that money/tip to real developers. I mostly did the Ui part and Add Aligned Empty At 3D Cursor, which I used Serpens for and I still pray for no bugs.
I share it even though there might be bugs I haven't encountered yet. I added some Debug feature (fun fact, which was once buggy too) that might help me track them down. I only tested it on 4.2 yet.
Features:
- Snaps the 3D Cursor in the correct location and tries to align itself with the face or edge. For a single Vert it will take it's normal vector into account
- Quickly add an Empty that will be aligned to the 3D cursor location and rotation. (I really hope I got all the bugs out)
- Chose a collection the Empty shall be stored in.
- If in Armature Mode or Armature Edit Mode you are able to snap the 3D cursor to a bone head or tail. If you then click on Create Aligned Empty, the empty will be named after the active bone.
- Debug Mode, mainly for myself to find where I messed up. (Creates a text file as log inside the Blender file, but it will be removed when debug mode is turned off)
Purposes I created it for:
Quickly create an Empty at a bone tail, and use it as IK target (that way I can Pose Characters in Object mode too.)
Snap the 3D cursor to the real face and not rest pose with no shape keys enabled (Blenders default behavior) and being able to edit a face or edge easier and faster. (One can even use Cursor as Transform Orientation then, or as Transform Pivot Point)
Why Smadge as a name?
I ran into a lot of issues, it started as 3D Cursor Tools. In the end I sticked with Smadge Cursor Tools.
Known issues:
If 2 vertices that are connected are selected, even though the other ones you select aren't, then the script things it shall snap to an edge.
If you Edit/Pose Multiple Armatures at once (both are active and editable at the same time) there might be issues. As long it is one Armature it should hold up pretty good.
Hopefully a tools that can help you.