All Questions
229
questions
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:
...
2
votes
1
answer
121
views
snap bone locations using python
I'm trying to snap bone locations which are of a certain proximity to a vertexes of a mesh, to the difference of position based an the corresponding vertex of another mesh with the same topology.
...
1
vote
3
answers
61
views
Server json Blender crashes
Can someone help me understand why this code:
...
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:
...
0
votes
1
answer
788
views
Error when retargeting Animation to Human mesh
I'm using Rokoko plugin. Does anyone have a solution to this error?
...
1
vote
0
answers
37
views
Rotating individual bones in Python not working
At the end of a script, I need to disconnect all the bones in my armature and rotate them 90 degrees to match what Unreal expects for the joints. I can't seem to get this to work in Python, though.
...
0
votes
1
answer
65
views
How can I get / set the name of an extruded bone in Python?
I'm auto generating my armature, and after extruding a bone, I'd like set its name. This will help me reference it later, so I can parent other bones to it.
Right now I'm extruding the bone with this:
...
0
votes
1
answer
519
views
How to access pose bones via python in this condition?
I'm making an add-on to boost my workflow. I want to add custom shapes to the bones of the armature selected in the PointerProperty from the panel. But according to ...
0
votes
0
answers
89
views
Calculating join angle of an armature
For a school project I need to calculate joint angle of an armature. I found some code that works with 2 bones, but I need to calculate the angle of every 2 adjacent bones (knees, elbows, back, etc). ...
0
votes
3
answers
1k
views
Hide Unhide armature in viewport hotkey
I'm making the switch from Maya to Blender, but one thing that I couldn't find is to assign a hotkey to hide and unhide an armature in the viewport. I don't like the visual clutter and as an animator ...
1
vote
1
answer
243
views
Can I delete all duplicated drivers of armature?
I separated some bones from a armature which has lots of bone drivers, and when I separated some bones, it made a new armature with old armature's drivers. After editing I joined old armature to new ...
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", ...
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 ...
0
votes
1
answer
305
views
Get the actual position of bone (head and tail) even when armature is rotated
I would like to know if it is possible to get the real coordinates of a bone's head and tail when the armature is rotated.
I already got something working with translations of armature but can't ...
1
vote
1
answer
182
views
Quickly & continuously generate images without rendering?
I know the title is a little ambiguous but bear with me for a minute
On one hand I have blender with a 3D model and a server script
...