- Is “each overshoot day” a useful or reliable metric of humanities effect on the world?
- What are the key principles behind providing liquidity
- Draw the “Cool S”
- Regex game show of Guess It
- HTML form using
- Is this good way to routing by using UI-Router Angularjs
- Base64Encoder class wrapper
- Find a list of Windows Services by given criteria
- What kind of program is Persephone?
- Multiple Categories mapping in MySQL
- Replace a materialized view in Postgres
- Finding which DATE columns have no time data using TRUNC
- Postgresql: How to take incremental backup with Barman
- Can someone guide me how to compare tables with SSIS
- Roles and Schduled jobs
- Getting columns from more than two tables
- Mongo Db Grid Fs Backup And Restore
- How can I make this symbol in illustrator?
- Illustrator: how to apply graphic styles to multiple objects?
- What is a good approach to get equivelent base color of another base color with opacity.
How do you access and set a specific bone animation fcurve in python ? e.g. set pinky02_L z rotation = 8 degrees2018-06-22 15:05:33
I want to access the keyframes for a specific bone in animation_data.action, just so I can reset them to a default value.
My main problem is I dont know how to just access a specific bone.
The general purpose of this is to automatically reset the hand positions of bvh animation loaded onto a manuelbastionilab model. The bvh animation loads it in fine, but because there isnt really any hand data, it sets the animation to a default splayed out position. And because it assigns it to the wrong bones, it comes in with a crooked little finger. So I just want a simple python script to reset any animations I load in to a good default.
I think I should be able to get to the animation data for the keyframes with
myaction = bpy.context.active_object.animation_data.action
But I dont know what comes next, I dont know how to access the fcurves for a specific bone like a joint / bone in my little finger called pinky02_L
This seems incredibly basic but Ive spent ages googling it