All Questions
228
questions
0
votes
0
answers
15
views
Obtaining joint-local rotations of armature with python
I have written scripts that take as input the joint-local rotations (in quaternions) of an armature. All works as expected when extracting these rotations directly from a .bvh file and converting them ...
1
vote
0
answers
22
views
Unable to reproduce armature bone rotations from .bvh import
I am trying to format the bone rotations of an armature in the way they are formatted inside of a .bvh mocap file. I thought I would be able to obtain the 3D Euler rotations as they seem to be written ...
3
votes
2
answers
161
views
Why is my Stretch-To update button looking for Grease Pencil in Blender 4?
I've been trying to make a button to reset all the stretch-tos in my custom armature as per this question, but my previous menu work has all been in a new menu section in the sidebar of the 3D view.
...
0
votes
1
answer
14
views
Selection of bones to selection of tails of bones
I have an armature with a bunch of bones with zero length, and I can select one and do Select > Similar > Length to get all of the bones with no length, ...
0
votes
0
answers
30
views
Blender's bone.matrix_basis.to_euler() output data is flipped on some bone
I'm currently writing a blender addon to export animations to a json format which i can use for my projects.
My current way of exporting is this:
I grab the matrix of the armature bone: ...
0
votes
0
answers
56
views
how do i create animation whit pose data and with python
I'm making animations based on smpl armature through several pose data. Divide people through person id and put pose data in the armature. However, person id 2 data is contained in all armatures and ...
0
votes
1
answer
20
views
What is the correct way to add settings from the Bone Properties tab to a Sidebar Panel?
I once again stumped with the add-on that I'm working on that puts the settings from the Properties Editor into a panel in the 3D Viewport sidebar. I completed the Armature Data Properties section, ...
0
votes
0
answers
34
views
How can I enable individual bone xray instead of full armature xray?
is it possible to somehow make bones have individual x-ray / in front properties? I understand that this property is being held in it's parent data block for the Armature object but why can't it also ...
0
votes
0
answers
16
views
I am trying to make an addon that enables the user to animate the influence of the armature modifier
I am wondering wether it is possible since the armature modifier struct doesn't have an influence float input. Neither do any of the other modifiers. It is my goal to have an influence slider just ...
1
vote
0
answers
140
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, ...
1
vote
0
answers
152
views
How to efficiently get an armature's object data?
I'm trying to programmatically create an armature and I've run into an issue. While creating a new armature is straight-forward enough (bpy.ops.object.armature_add()...
3
votes
1
answer
174
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
34
views
Is there a way to keyframe the action of applying/adding modifiers (or constraints for bones)
I'm new to scripting in Blender but I've made a tool for an easy IK/FK switch for myself. I've been testing the tool without keyframing and it functionally works great but what I didn't take into ...
0
votes
0
answers
107
views
How to animate armature in blender/python?
I tried to animate simple bones with python, keyframes are inserted in timeline but nothing happens,
Partially this question is copy-paste of that one (sorry) but I didn't find answer there
...
0
votes
0
answers
96
views
Creating a good armature for a rig/skeleton/bones
I am creating a rig/skeleton/bones in Blender python, using bpy, here: https://github.com/coderextreme/X3DJSONLD/blob/master/blend/blenderskeleton.py
I was looking at the code and in Blender and I ...