Skip to main content

All Questions

Tagged with
0 votes
0 answers
12 views

When i set obj parent as bone, it's just jumping away from last position

Before: After: Code: ...
CoCuCka's user avatar
3 votes
1 answer
175 views

How is a bone's roll defined?

Background I have a number of bones defined as positions + rotation quaternions. In blender I understand bones are defined as a head, a tail and a roll. With the head -> tail vector being the ...
Richard Tingle's user avatar
1 vote
0 answers
73 views

How to programmatically find a "Y" pose such that it is the inverse of another "X" pose in relation to the T-pose?

That is, if I "Apply" the armature modifier of the "Y" pose onto the mesh then if I now link that mesh to the armature of the "X" pose the mesh should look like the ...
aldu's user avatar
  • 11
0 votes
0 answers
33 views

Mesh do not properly copy movement of the armature

I have an armature with a hierarchy of bones animated in a specific manner. The animation is obtained with use of EasyMocap and Python. My goal is to import individual meshes that resemble bones (like ...
jpalachniak's user avatar
0 votes
1 answer
62 views

Coding: parenting 1 bone to another bone

I'm trying to make an addon for blender, but I'm having some difficulty with it I'm trying to use a script to select 2 specific bones with a certain name pattern and then parent the first bone to the ...
Daitou Ink's user avatar
0 votes
1 answer
95 views

Simple armature creation script results in a crash when attempting to set bone parenting

My full script is more complex than this, but the issue I'm having can be reproduced with these 9 lines of Python code that create an armature with a single bone: ...
hayden0729's user avatar
1 vote
1 answer
83 views

The results of python scripts and python console are different?

I'm running a script to create a bone and rotate it by setting rotation_euler of the PoseBone. But I got wrong results from the scripts. My scripts code: ...
Nutcracker's user avatar
1 vote
1 answer
679 views

How to move and resize a bone in Python such that the head and the tail are at a certain global position?

I want to move and resize a bone by setting the coordinates of the head of the bone and the tail of the bone explicitly. For example, let's say that these are my coordinates of my bone head: ...
Jack Gordon's user avatar
3 votes
2 answers
222 views

How can I search to see if there's more than one bone with a certain name?

I've already figured out the code for finding bones by their name. I just need to know if there's more than one bone that meets this criteria (for example the words: "hand", "ik", ...
Oni-K's user avatar
  • 31
0 votes
2 answers
164 views

How do I search for a bone's name, then rename it with a script?

What I need to do is search for a bone then rename that bone, for example I want to find the left hand. I search for that bone with the letters "hand", "ik", and "L" in ...
Oni-K's user avatar
  • 31
3 votes
3 answers
1k views

How to get global rotation of a bone with respect to global planes of axis via python?

I'm simply trying to find the global rotation of a bone in pose mode using python i.e. what angle a bone makes with the global axis? The closest I've come is: ...
cak3_lover's user avatar
0 votes
1 answer
122 views

How to apply one pose after another via scripting?

I have 3 poses: Default , Location , Rotate & I need to execute them in that order, like ...
cak3_lover's user avatar
1 vote
1 answer
304 views

Draw window and swap doesn' work

I'am writing python script that uses data from IMU sensor and changes armature structure position. To visualise movement I use ...
Lotrzyk's user avatar
  • 11
3 votes
2 answers
711 views

How to properly execute Poselib operators? (Pose Library)

I'm trying to change poses on my armature with Python and Pose Library, but I'm getting incorrect context errors and to be frank I don't even know what exactly am I ...
AlexM's user avatar
  • 356
0 votes
1 answer
226 views

How do I get the euler rotation of a bone in pose mode?

I'm coding a live feed of the bones rotation from a IK armature, but it keeps priting 0 for all values. This is the code: ...
VictorHLeme's user avatar

15 30 50 per page