Skip to main content

All Questions

Tagged with
1 vote
1 answer
75 views

How to select only deformation bones?

Is there a way to select all bones from the vertex group of the mesh? I have too many overlapping bones that are very tedious to work and some are non-deformer which I wanted to hide and only work ...
Wissam Seaifan's user avatar
0 votes
0 answers
39 views

How do I move a Pose Bone on its local axis?

All I want to do is move the active pose bone on its local z axis with a line of code. I tried many things, but no matter what I can only get it to move in world space or move the whole armature in ...
TiNKle's user avatar
  • 1
0 votes
1 answer
17 views

Moving an EditBone along a local axis in Python

I'm attempting to write a script that helps automate rig creation for a specific type of armature, and the current minor issue I'm having is that I would like to create a pole target with as minimal ...
N-cognito'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
1 vote
1 answer
88 views

Copy right side bone's constraint parameter as driver and paste it on counterpart of left side bone

There are lots of bones and right side bones and left side bones have same constraint. I always copy right side bones constraint parameter as driver and paste them on same parameter of left side bones ...
Yokomizo's user avatar
  • 415
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
0 votes
1 answer
102 views

How to change the scale of each bone?

I would like to change the bone scale for a material. I want to change the specified bone to scale -1 for XYZ as shown in the video below. I have drawn a script to try it out as shown below, but I can'...
mml's user avatar
  • 642
1 vote
1 answer
205 views

Rotation of an object around its local axis

I've been trying for a while now to rotate a rig around its local axis. Given 3 angles I would like to rotate the bone around its axis. I saw that in the UI method that is used ...
Matmid's user avatar
  • 11
1 vote
0 answers
147 views

How to get euler/quaternion rotation from matrix?

I have 2 bones and I want to copy the rotation of one bone to another using only rotation_quaternion or rotation_euler to assign ...
cak3_lover's user avatar

15 30 50 per page
1
2 3 4 5