- How can you stop your phone from saving contacts to your sim?
- Mounting remote folder from my linux machine to my android device?
- Cannot download Life 360 to my ZTE Maven
- How do I install the OWASP ZAP certificate as a trusted system CA on Bluestacks?
- Help with samsung S8 g950f frp
- current modulator for laser driver, analog audio signal modulation
- Trying to create something new
- Relationship between Vds and Vgs- MOSFET
- Charging a 18650 battery using a 5V charger
- Finding the energy over the capacitor in DC
- How do I determine the purpose of this op-amp circuit?
- MOSFET-switching between two power supplys: how to avoid transverse current?
- How much electric does it use if a battery for solar panels is dead and needs charged
- Finding voltage across capacitor in series and parallel
- How can a Live-Neutral transformer fault cause 2000 Ampere to flow?
- Tesla coil - my primary circuit doesn't work
- Python - Proper way to call a function within a class based on a certain argument passed on
- Can a Spell Glyph of a wall spell appear around the triggering creature, but not on it?
- Parallels 14 with macOS Mojave has extra volume mounted named “Install macOS Mojave”
- localhost redirecting to https after Mojave upgrade
How do you access and set a specific bone animation fcurve in python ? e.g. set pinky02_L z rotation = 8 degrees
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