Skip to main content

All Questions

Tagged with
0 votes
1 answer
72 views

How to recalculate pose bone rotations when armature bone rotation is changed?

I'm trying to import bones and animation data in to blender. The quaternions I have for each keyframe are correct if the armature's bones do not have any rotation. However I also need to import the ...
taptaptaptap's user avatar
0 votes
0 answers
16 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 ...
wolfg269's user avatar
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 ...
wolfg269's user avatar
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. ...
MisterLBlends's user avatar
0 votes
1 answer
15 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, ...
snipers500's user avatar
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: ...
Hellaweird's user avatar
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 ...
pilseong's user avatar
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, ...
Sonario648's user avatar
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 ...
Zophiekat's user avatar
  • 759
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 ...
Rinyas's user avatar
  • 1
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, ...
Anity Ex's user avatar
1 vote
0 answers
157 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()...
Master Xed's user avatar
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 ...
Richard Tingle's user avatar
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 ...
Reece Themen's user avatar
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 ...
tempdeltavalue's user avatar
0 votes
0 answers
97 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 ...
John Carlson's user avatar
2 votes
1 answer
59 views

Python: Rename Armature's "root"

TWO QUESTIONS: 1- How do I identify the "Sub Armature" shown in green in a Python Script? 2- How do I rename that same item? This isn't a bone, nor is it the Armature (that's "...
Josh G's user avatar
  • 76
0 votes
0 answers
20 views

How to delete a bone by script? [duplicate]

MY Code: ...
라덴더Lathander's user avatar
0 votes
0 answers
14 views

symmetrical weight painting can't let me paint center vertices of a mesh with mirror modifier and armature modifier

I know how to do symmetrical weight painting on a mesh with mirror modifier and armature modifier, but this setting prevents me from weight painting center vertices properly. my mesh is like 1st ...
Yokomizo's user avatar
  • 415
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 ...
aldu's user avatar
  • 11
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 ...
Juan Tadeo Mangione's user avatar
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)
darksun's user avatar
  • 111
1 vote
1 answer
22 views

With python, is there a more efficient way to duplicate a range of keyframes (all fcurves) than using keyframe_points.insert()

I have a combined animation (position of object, bone rotations...) with about 600 keyframes. Now I want to make a script that clones a selected range of these keyframes and pastes them after the ...
Joel Palmius's user avatar
0 votes
1 answer
118 views

blender python transfer pose bone position to an object (matrix issue)

I have an object inside a bone, matches the bone exactly (position, scale, rotation). The armature and the object have different origin points. I am trying to make the object follow the bone exactly ...
Revln9's user avatar
  • 207
1 vote
0 answers
113 views

How to change pose of armature of a gltf file when the mesh is deformed?

I load a gltf file by pygltf and deform the vertices of gltf mesh by using a nonrigid method. when I export the gltf file, the mesh is deformed but the armature position is not changed. I am looking ...
user166917's user avatar
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 ...
Daitou Ink's user avatar
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: ...
hayden0729's user avatar
0 votes
0 answers
233 views

Blender real-time animation based on the sensor data

How can i animate the model in the image below based on sensor data? I need to make it real-time(like when person moves his arm, model in the blender should move too.) I tried keyframe_insert method ...
Erush's user avatar
  • 1
0 votes
0 answers
105 views

What's the differences between posebone's vector and bone's vector?

I want to get a certain bone's head/tail coords in world space in pose mode. I've seen some answers about Bones.vector and PoseBone.vector. When I set different frame of the armature, the PoseBone....
Nutcracker's user avatar
1 vote
2 answers
551 views

When rigging a car It rescales and rotates

I use Rigacar plugin. MacOs Ventura, Blender 3.4.1 (Steam) At first I parent everything to the body of the car, origins to geometry and finally, apply all transformations. However when: Add > ...
Marek Bílý's user avatar

15 30 50 per page
1
2 3 4 5
8