All Questions
72
questions
1
vote
0
answers
143
views
How can I ensure that my 'rig_ui.py' file is loaded when the armature is linked and overridden in Blender 3.6?
I managed to delete rig_ui.py the script of my rigify armature after renaming things somehow (at least i think that is the problem), and i don't know what to do to restore its original functionality, ...
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 ...
0
votes
0
answers
20
views
How to delete a bone by script? [duplicate]
MY Code:
...
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 ...
0
votes
0
answers
28
views
How to control existing Custom Properties that are assigned to armatures via operator?
I'm creating an addon that sets the Blender settings based on what type of render we need. However, I'm unable to change the attributes that control aspects of the rigs. I can't access them. The thing ...
1
vote
0
answers
24
views
Python command to get the bone an object is parented to
Assuming an object is parented to an armature and one of its bones. (Type 'bone')
How to get the name of this bone using Python script?
Thanks in advance!
(Blender 3.3 User)
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 ...
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:
...
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:
...
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
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 ...
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 ...
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
...