Set One Bone

Moho allows users to write new tools and plugins. Discuss scripting ideas and problems here.

Moderators: Víctor Paredes, Belgarath, slowtiger

Post Reply
User avatar
moe33
Posts: 8
Joined: Mon Sep 23, 2019 4:56 am
Location: Beijing

Set One Bone

Post by moe33 »

At first I made this script just because I always wanted my bones to be in exact positions. Although I don't know how to code it... I just cobbled together the code of some scripts as best I could, and it works perfectly for me.
Now a big thanks to Eugene Babich for helping me modify the code to make this script perfect!
Thanks again Eugene Babich!
Hope this script is useful for you too.


Function:
- Move the selected point/bone to the specified position
- Create bone at specified positions

Update:
V2.5 New (Edit from Eugene Babich):
- Now everything works in global coordinates.
- Reworked the skeleton search. If the skeleton is not found, the script will create a skeleton and place the vector layer in it.
- Reworked Undo.
- If you take coordinates from the bone with Alt pressed, it will take the coordinate of the tip of the bone, not the base.
- If multiple points are selected, coordinates will be taken from the center of the selection.

Image

Download: https://drive.google.com/file/d/1eHytMF ... sp=sharing
Post Reply