All Questions
100
questions
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 ...
4
votes
1
answer
293
views
What does the use_local_location mean for bones
To test this, I run a test to show the difference of use local location or not.
C.object.data.bones['upperArm.R'].use_local_location = False
C.object.data.bones['upperArm.R']....
0
votes
0
answers
28
views
Scale issue when opening glb export in gltf-viewer
When I import my glb export to gltf-viewer it gets enormous, scale issue, I need to use such animated character from Mixamo for an AR project.
Would really appreciate some help, Link for 3D animated ...
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
...
2
votes
1
answer
1k
views
How do I set the bone length after setting a new bone matrix?
In version 2.77a; the docs show that the edit_bone.matrix is no longer read only, but a note warns "does not include bone length". Luckily, ...
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 ...
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:
...
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 ...
1
vote
2
answers
4k
views
List of bones to file, is it possible?
Good day, I'm new to Blender, and actually to the whole 3D world. I have come with a non regular issue and I hope you guys can give me hand.
I have list of rigged models, each one with their very own ...
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 ...
0
votes
0
answers
12
views
When i set obj parent as bone, it's just jumping away from last position
Before:
After:
Code:
...
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 ...
8
votes
1
answer
5k
views
Delete bones via script
I want to delete all bones in an armature which contain a specific word but I can't figure out how to. This is the script:
...
1
vote
1
answer
109
views
Script to add a driver to "hide" a bone
I'm tryng to write a script that adds a driver to some bones automatically. But I'm facing some problems with the property "hide".
I want to add the driver into the property "Hide" ...
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 ...