Skip to main content

All Questions

Tagged with
0 votes
2 answers
517 views

Edit bones transformations with no context use

How to edit bones transformations while staying in blender "data" approach. (no use of context) getting this error : AttributeError: bpy_struct: attribute "matrix_local" from "...
barakooda's user avatar
  • 183
1 vote
1 answer
2k views

bpy.types.Bone.matrix vs matrix_local

According to the doc: matrix 3x3 bone matrix matrix_local 4x4 bone matrix relative to armature I guess matrix_local is the full transform matrix that describes ...
Lai Yu-Hsuan's user avatar
  • 2,022
0 votes
1 answer
147 views

Scripting: Is vertex weight a proper way to store extra information on vertices?

I'm making an addon and I need to store some extra information on vertices. The natural way to do this seems to be generating a group and set weights of vertices in it. But I read this from the ...
Lai Yu-Hsuan's user avatar
  • 2,022
1 vote
0 answers
201 views

CGMatter Facial motion capture tutorial - script error

I am working on the facial animation following the cgmatters tutorial: https://youtu.be/uNK8S19OSmA Everything works fine except script from the end of the video. I have more than 200 trackers so im ...
Jeremayah's user avatar
0 votes
1 answer
689 views

How to match FK bone to IK bone via script?

I'm trying to make an IK to FK script, so I would like to have the FK bones align with the IK bones. What would be a good way to go about it? I tried doing something like this: ...
Wilson's user avatar
  • 1
0 votes
2 answers
731 views

Renaming Animation Channels with a Script for dummies

Say I have a channel called: pose.bones["mixamorig:LeftShoulder"].rotation_quaternion But I need it to be: ...
Luka's user avatar
  • 1
2 votes
0 answers
393 views

How to import bone locations form a text file?

I've used a script to extract my bones location to a text file and I was wondering if I could use this text file to import the locations to a new project in blender using another script. Keep in mind ...
Mani Tabibzadeh's user avatar
1 vote
0 answers
140 views

Bone matrices manipulating problem

So I'm trying to convert additive animations to a weird format that Source engine uses: instead of offsetting the bone relative to its local space, it uses whole armature's origin point for that. All ...
Manndarinchik's user avatar
0 votes
2 answers
2k views

Rotate bone using python

I'm struggling with a rather straight forward operation - rotating a bone. There are tons of examples but can't seem to get it working. I need to rotate the bone in edit mode (if it's mode specific ...
Thabang's user avatar
0 votes
1 answer
1k views

toggle Object Mode <-> Pose Mode by script code

I want to toggle Object Mode to Pose Mode by script code, because I usually run blender in Object Mode but sometimes I need to add some keyframes while I run blender. that is why I want to toggle ...
DeerWorld's user avatar
0 votes
1 answer
2k views

'Bone' object has no attribute 'constraints'

I'm trying to code a script that will copy the rotations of the bones from one rig to another on all the bones ...
Reynard Droste's user avatar
0 votes
1 answer
867 views

Make bone roll match a face/vertex normal?

I am working on a script that generates bones down an edge or face loop. I have figured out how to create a bone and move its head and tail into position at the top and bottom of a face, or onto a ...
Ascalon's user avatar
  • 6,647
0 votes
1 answer
1k views

Select tail of a bone with Python

I am new to python and need to select the tail of a bone in edit mode with python. I was used this script but it doesn’t select the tail of a bone: ...
Kask909's user avatar
  • 31
2 votes
1 answer
705 views

Setup bones on cloth sim so that you can transfer it to Unity via FBX export

So, I would like to have this happen with a script for each vertice of an object: I just couldn't to make it work :/ Except only some parts of it (scripts found from everywhere). Building blocks: Add ...
Manu Järvinen's user avatar
1 vote
0 answers
741 views

How to script an animation based on 3d joint data?

I have looked at the other questions that have been posted here and I am very sorry that this is such a similar question AGAIN but none of the issues solved it for my issue. I am working on an ...
rmoeller's user avatar

15 30 50 per page
1 2
3
4 5
7