Skip to main content

All Questions

Tagged with
83 questions with no upvoted or accepted answers
3 votes
1 answer
181 views

Reverse armature deformation on vertex in python

I have a mesh with armature modifier (active+posed) and wish to do some modifications with vert coords (after armature deformations) saved in shape key on that mesh. But currently it seems not ...
IPv6's user avatar
  • 323
3 votes
0 answers
701 views

Open export file window using my operator

I want to know how I can call and open the bvh export menu from my python operator (button)? I've looked into it and I found that the ...
Tak's user avatar
  • 6,323
3 votes
0 answers
1k views

poseBone location and rotation from poseBone matrix

i have a skeleton and computed global(armature space) matrix of each bone for posing. to get relative rotation and location(for keyframes) i am doing this: ...
befzz's user avatar
  • 151
2 votes
0 answers
59 views

Trying to get the right orientation matrix

So i'm using a importer that uses a matrix and changes the transform and when i try and import with my keyframe data the arms and legs are like backwards? Crossed not sure how to explain it. So i'm ...
Jason11040's user avatar
2 votes
0 answers
275 views

Using Python, how do I list all the armatures in the scene and make the selected armature active?

I'll start by saying I'm fairly new to coding. I'm trying to code an add-on that has a drop-down list that'll list all the armatures in a scene and then make it so you can select an armature from that ...
CursiveArt's user avatar
2 votes
0 answers
164 views

Python API – Access Grease Pencil stroke point weights

I need to read Grease Pencil bone weights from the Python API so I can add that data to an export script I'm using. I can't find where the per-point weight groups are stored. So far, I'm able to ...
Ash's user avatar
  • 176
2 votes
0 answers
393 views

How to import bone locations form a text file?

I've used a script to extract my bones location to a text file and I was wondering if I could use this text file to import the locations to a new project in blender using another script. Keep in mind ...
Mani Tabibzadeh's user avatar
2 votes
0 answers
503 views

Copy animation data from one armature to another with Python

I've been trying to write a script to copy animation data from an armature to another one, unfortunatly without success so far. My situation is that i have : A mesh with it's armature that doesn't ...
Manu's user avatar
  • 121
2 votes
0 answers
1k views

Detecting mesh self intersection

How can I detect self intersections in a mesh given a pose deformation? I've managed to visualize them, but how can I access them? Is there another way to detect these self intersections?
Roey Ron's user avatar
2 votes
1 answer
1k views

How do I Set Parent to Armature?

So I actually had this working, and without changing anything (or so I thought) it stopped working, and the error I get is just a "this won't work" without even pointing me to a line or anything. ...
Mike Kelley's user avatar
2 votes
0 answers
61 views

What are bone matrices?

I tried looking everywhere but everything I've found so far seems to assume that I already know what it is. Thanks!
Zac's user avatar
  • 434
2 votes
0 answers
551 views

Blender script works differently in/out of for loop

My goal is to automatically load a MakeHuman model and apply a CMU mocap file on it. This works perfectly fine in Python (using interactive window), but when I try to do it as a batch script, I get a ...
user1238826'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
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

15 30 50 per page
1
2 3 4 5 6