Some cheeky script requests

Moho allows users to write new tools and plugins. Discuss scripting ideas and problems here.

Moderators: Víctor Paredes, Belgarath, slowtiger

Post Reply
User avatar
JoelMayer
Posts: 394
Joined: Sun Apr 05, 2009 8:29 pm

Some cheeky script requests

Post by JoelMayer »

Hello there! I originally wrote this on the Moho Discord but thought i'd post it here as well for future reference haha :D

I've installed quite some new scripts which i'm sure will help me on my quest to perfect my traditional/rig mix workflow that i demonstrated recently 😄

I gave it a lot of thought and i'm thinking there would be some cool little things that could make life for folks like me a bit easier. All of these things are more quality of life features than anything but here we go (from simplest to most advanced):

Select Bone Layer but for any parent layer

It would be awesome to have a lil' script that just selects the parent layer (i.e. a group, switch group, bone, whatever). Basically the select bone layer script but for any kind of parent layer.

Move up and down layer tree

Really simple, i wouldn't even need a button or anything for that. I stumbled upon the great "Select Bone Layer" Script that lets me easily jump back to a bone layer if i'm down a layer tree. So i bound this to key 1 and man, it's so nice to just being able to immediately be back to the root and continuing animating bones without having to scroll through layers. So one thing i'd really like is if there was just a script that basically has two shortcut keys bound to going a up a layer and down a layer. Even fancier would be if, upon arriving at a group layer, it would go INSIDE that layer and continue to scroll down there (only for down function). I'd bind them to keys 2 (up) and 3 (down) so then i could go through my layers almost without looking at the layer window much :lol:

Create Fill Layer

This one would basically just make a duplicate of the current vector layer, move the layer UNDER the currently selected one, remove all shapes (not points) and add "Fill" to the Layer name. This would be useful for people who like to have fills on a separate layer. They then could just easily create a new shape out of the points without having to do all the rest manually.

As a bonus maybe the fill layer could already be filled so to speak (if closed) with the selected fill color but without lines?

Trim Eraser

I don't know how feasible this is with a script but after seeing the Paint Bucket + Tool it might be? Anyways it would simply be an eraser that deletes a line up to the next intersections. Toon Boom and Clip Studio have this feature and it really saves a lot of time. Basically an Eraser+ 🙂 This video demonstrates it at a glance (starts at the right time)

https://youtu.be/mGd1dF011oQ?si=6V_YRM0jY40qxR3-&t=63

Anyhoo, just some ideas, thanks to all for your great work!
Daxel
Posts: 1084
Joined: Wed Mar 27, 2019 8:34 pm

Re: Some cheeky script requests

Post by Daxel »

To navigate between layers, I'm much faster using alt+right-click than any other method. We really need a similar way to access bone layers. There is alt+shift+right-click to select the layer's parent, but I rarely use it, 99% of the time I want to go to the bone layer and not the actual parent which is probably a group layer for a mask.

In my opinion, alt+shift+Rclick should be used to select the layer's bone layer and we could have ctrl+alt+Rclick (which is less comfortable than alt+shift) for selecting a layer's parent.

A workarround is to have a little bone drawing in a layer that is direct child of the bone layer, enable the "don't render this layer" option, and use alt+shift+Rclick on it to directly go to the bone layer. Sounds perfect but then you are zoomed into an iris or a hand and can't see the bone drawing on your screen. So at the end the script you mentioned is probably the best option so far. I also have it on the 1 key.
Post Reply