Page 1 of 4

Smart Bone Helpers by Ramón López

Posted: Fri Sep 14, 2012 7:17 am
by funksmaname
Hey all,
I'm excited to share these time saving scripts with you. With Ramón's permission, I've made a video showing how to use them, and you will find the files below (once I've uploaded them to ASS)



The scripts let you quickly create and then access the two smart actions associated with any selected bone by use of a button or keypress.
Copy all files in the zip file into your Resources/Support/Scripts/Tools (PC) or custom content Tools folder and add these lines to the bottom of your _tool_list.txt

group MOHO.Localize("/Tools/Group/SmartBones=SmartBones")
button rl_smart_bones_add M
button rl_smart_bones_n1 ,
button rl_smart_bones_n2 .
button rl_smart_bones_remove /

Now whenever a bone is selected, M creates a new action (max 2) and once created , and . go in and out of action 1 and 2 respectively. While in either action pressing / will delete that action (with confirmation step)

Hope you enjoy this huge time saver! The link will be added below as soon as it's uploaded and ready for download.
As always, thanks Ramón!!

Until they get approved at ASS, I've uploaded the zip file to mediafire for you: http://www.mediafire.com/?i8fwad8a2e68fkv

Re: Smart Bone Helpers by Ramón López

Posted: Fri Sep 14, 2012 7:38 am
by ulrik
:D Really handy scripts!! Thanks a lot for the tutorial and thank you Ramon for the scripts!!

Re: Smart Bone Helpers by Ramón López

Posted: Fri Sep 14, 2012 10:50 am
by ulrik
I just changes the shortcut for rl_smart_bones_add M to - instead since M is assigned to LM's Transform Layer Tool

Re: Smart Bone Helpers by Ramón López

Posted: Fri Sep 14, 2012 11:11 am
by funksmaname
Usually that is on 1... Did u change it sometime?

Re: Smart Bone Helpers by Ramón López

Posted: Fri Sep 14, 2012 11:33 am
by freecartman™
Sry for this stupid question, i've been far from the forum and Anime Studio for a long time.
Is this script for Anime Studio 9?

Re: Smart Bone Helpers by Ramón López

Posted: Fri Sep 14, 2012 12:01 pm
by ulrik
funksmaname wrote:Usually that is on 1... Did u change it sometime?
No, not that I remember any way, and you're right, it used to be 1...strange

Re: Smart Bone Helpers by Ramón López

Posted: Fri Sep 14, 2012 12:02 pm
by ulrik
freecartman™ wrote:Sry for this stupid question, i've been far from the forum and Anime Studio for a long time.
Is this script for Anime Studio 9?
Yes it's for v.9

Re: Smart Bone Helpers by Ramón López

Posted: Fri Sep 14, 2012 7:12 pm
by heyvern
Phew!

Thanks for this. What a relief. Saves me the effort of trying to script it myself! :) Awesome job. Very effective and elegant solution. I was bouncing some ideas around in my head on how to best do this and I don't think I could have come close to this solution.

My only suggestion would be to add another button (or modify the existing "plus" button) to allow for multiple "smart boning" of a group selection of bones in one go. I am redoing a bunch of older files and already have my bones ready to "get smart" and it would be cool to just select all of them in one shot, push a button and BANG have a whole pile of bones ready to go back to school to earn their degree. :)

I may do this on my own as a menu script to create smart bone actions for bones with a text prefix. You could use a prefix to identify smart bones in the rig, type that into a script and create ALL of the smart bone actions ready to use with these new tools.

---

p.s. Had an idea about converting "fan bones" to smart bones by copying the point motion of the fan bones INTO the smart bone actions and then deleting the fan bones. This would allow me to quickly convert v8 files to v9 with smart bones.

-vern

Re: Smart Bone Helpers by Ramón López

Posted: Fri Sep 14, 2012 9:20 pm
by Rai López
This is really cool! I mean, the video tutorial and all... thank you very much funksmaname! :D Plus you were quick man...

Oh, yeah, I changed the shotcuts at some point due to the new "Transform Layer" tool took the "M" one for it, here is my new choice (more separated but with a little more sense OTOH) just in case someone be interested:
  • Code: Select all

    group MOHO.Localize("/Tools/Group/SmartBones=SmartBones")
    button   rl_smart_bones_add   +
    button   rl_smart_bones_n1   1
    button   rl_smart_bones_n2   2
    button   rl_smart_bones_remove   -
    

Interesting point about the several selected bones assistance Vern! Really, it's curious to see how there's always room to improve even the most simple things :). I see too how a little rename assistant or something so could be really useful, and... well I think you have good experience on that camp ;)

Well, I'm happy to can contribute in someway in the use & enjoy (hmmm, couldn't that be like a good slogan for SB?) of the most interesting and promising Anime Studio addition ever! So thanks again for your time and interest, and greetings :)

Re: Smart Bone Helpers by Ramón López

Posted: Sat Sep 15, 2012 10:13 am
by DK
Thanks Ramon.
This is absolutely brilliantly time saving!

Cheers
D.K

Re: Smart Bone Helpers by Ramón López

Posted: Sat Sep 15, 2012 12:21 pm
by Lukas
Yay!

I didn't understand why smart bones were implemented the way they are (naming actions the same as a bone), clicking into the smart bone to edit the vectors makes so much more sense.

These will help out a lot, thank you!

Re: Smart Bone Helpers by Ramón López

Posted: Mon Sep 17, 2012 6:10 am
by gr33ndaybd
thanks for this script

Re: Smart Bone Helpers by Ramón López

Posted: Tue Sep 18, 2012 10:28 pm
by Squeakydave
Thanks Ramon:
I seem to get tangled up with smartbones so this is a really handy script. It makes everything easier to find.

Re: Smart Bone Helper Buttons by Ramón López (ASP9.0_2012092

Posted: Fri Sep 21, 2012 4:08 am
by Rai López
Well thanks again for the comments :), and... as I liked the multi-bone heyvern suggestion, I've been implementing it (it's still hot!) and here it is, meantime animestudioscripts.com (BTW, what a super-convenient place! :D) approves:
But... as I said it's very recent! And although everything seems to work as expected to me, just take it into account if you are immersed into something really serious, or simply pay some extra attention to any possible issue or "improvable" behavior, cause although (in general) I think almost all has some kind of sense taking into account the limitations (the only four buttons' and their limited functionality in this case), I'm all hears :)

Anyway... here are some quick tips about the new possibilities;
  • With ONLY one bone selected, I think nothing really relevant to deserve a mention has changed.

    If you select SEVERAL bones OTOH, pressing the Add Smart Bone button ensures ALL the selected bones has a Smart Bone #1, and pressing it again adds a Smart Bone #2 on every bone (if they still had a Smart Bone #1 as it'll be the case if you have just pressed it before). Well, really is more or less the same logic than previously, but maybe be better to try it by yourself and see it in action!

    The Remove Smart Bone Action/s button has been updated too, so now you can quickly manage multi Smart Bones deletion if necessary. Simply select several bones in Viewport and you'll be prompted with the options (yeah, I'd kill for another button there to "cancel", but that's simply not possible :().

And I think that's basically all... Well, hope it helps and greetings!
Ramón López.


PS: And BTW! I failed to mention it, but all the thanks must be to selgin too, as long as (if I remember well) he was the very first one suggesting some kind of buttons or helpers in order to improve the Smart Bones thing management: :idea:

EDIT: New version uploaded (ASP9.0_20120922) and linked above, just to solve a minor issue regarding "Remove Smart Bone Action/s" button status, nothing serious! But it should manage better all the situations now.

Re: Smart Bone Helpers by Ramón López

Posted: Tue Sep 25, 2012 8:17 pm
by neeters_guy
Thank you for sharing your intelligent scripting mind, Ramon! :)