Page 1 of 1

Bake Control Bones SCRIPT

Posted: Thu Aug 21, 2025 4:58 am
by Shizukuishi
Version 1: https://mohoscripts.com/script/mp_BakeControlBones

Generates keyframes for the controlled bones in the same channels as the controller bones and then disconnect them.

Instructions:

- Select driven bones in viewport (Non controlled bones will be ignored if selected)
- Select global keyframes (T/R/S) on timeline.
- Run the script: bakes driven bones ONLY on the selected controller channels at those key times, then detaches bones.
- Respects per-channel Delay (Angle/Pos/Scale) on the driven bones.


* Bone dynamics will be ignored if active
** Optionally doesn't detach driven bones from controllers after bake if DETACH_AFTER_BAKE at line 20 is set to FALSE (default: TRUE).

Re: Bake Control Bones SCRIPT

Posted: Thu Aug 21, 2025 5:21 am
by lucasfranca
Forgiveness for the question, but what is the difference of this script to Eugene's? Are they the same proposal?

https://mohoscripts.com/script/mr_bake_ ... 14-edition

Re: Bake Control Bones SCRIPT

Posted: Thu Aug 21, 2025 6:01 am
by Shizukuishi
lucasfranca wrote: Thu Aug 21, 2025 5:21 am Forgiveness for the question, but what is the difference of this script to Eugene's? Are they the same proposal?

https://mohoscripts.com/script/mr_bake_ ... 14-edition
They are actually different. Eugene's script bakes bone dynamics and works differently, while this one focuses only on control bones (and ignores bone dynamics). Since the control bones function cannot be turned off or on in the timeline, this script helps you create keyframes so you can temporarily activate the controlled function to create actions and then deactivate it without losing the animation. It sounds complicated, but it's very simple.
For example, I need a single action that mirrors both arms, but then I want them to be independent. So I activate control bone, run the script that bake the desired keyframes (auto)disconnecting bones, thus obtaining the same movement but without any more dependence.
Additonal info: Works only on selected keyframes so you don' t have to worry about messing up all the things