All Questions
229
questions
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 ...
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 "...
0
votes
0
answers
20
views
How to delete a bone by script? [duplicate]
MY Code:
...
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 ...
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)
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 ...
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 ...
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 ...
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:
...
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 ...
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....
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 > ...