DKWROOT Scripts ( Lots of Improvements )

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

Moderators: Fahim, Distinct Sun, Víctor Paredes, erey, Belgarath, slowtiger

dkwroot
Posts: 661
Joined: Thu May 02, 2013 6:56 am
Location: USA
Contact:

DKWROOT Scripts ( Lots of Improvements )

Post by dkwroot » Tue Feb 23, 2016 7:02 am



SCRIPTS INFO:
- Set Origin of Multiple Layers in reference to their contents.
- Rotate/Skew Multiple Layers at once
- Toggle stroke/fill of multiple layers at once
- Manipulate Bones based on color
- Mirror Selected Points
- Swap Sides of selected Points
- Line up points on X/Y Axis

DOWNLOAD:
https://drive.google.com/file/d/0Bwzk-f ... sp=sharing
ulrik
Posts: 1075
Joined: Thu Aug 11, 2005 10:32 pm
Location: Stockholm Sweden
Contact:

Re: DKWROOT Scripts ( Lots of Improvements )

Post by ulrik » Tue Feb 23, 2016 8:40 pm

That is just great, thank you for sharing this beautiful tools, it's much appreciated!!
rboechat
Posts: 12
Joined: Wed Aug 21, 2013 9:13 pm

Re: DKWROOT Scripts ( Lots of Improvements )

Post by rboechat » Wed Feb 24, 2016 2:43 pm

WOW!!!!
Thank you for this!
Awesome job! Will make things a lot easier :)
User avatar
pihms
Posts: 110
Joined: Sat Apr 18, 2009 9:52 pm

Re: DKWROOT Scripts ( Lots of Improvements )

Post by pihms » Fri Apr 22, 2016 5:37 pm

Simply AWESOME! I had been hoping that all of these tools would be eventually added, and you did it! A great time saver and VERY practical. Thank you! :D
User avatar
XZS
Posts: 40
Joined: Mon Feb 23, 2015 11:15 am
Location: France
Contact:

Re: DKWROOT Scripts ( Lots of Improvements )

Post by XZS » Wed Jul 06, 2016 9:39 am

Excuse me being stupid but, how do you install those scripts?

When I drag and drop the IMAGES & TOOL folders into the Resources\Support\scripts folder and then launch ASP (11.2),
I get error message : "Missing resource image! ScriptResources/mirror_points , swap_points , ..."

Do I need to edit "_tool_list.txt" file too?


UPDATE: nevermind, I've found it!
I copied elements from the TOOL folder into \Resources\Support\scripts\tool
and copied elements from the IMAGE folder into \Resources\ScriptResources
Image
Keitou
Posts: 3
Joined: Mon Jan 04, 2016 7:59 pm
Location: Argentina

Re: DKWROOT Scripts ( Lots of Improvements )

Post by Keitou » Thu Sep 22, 2016 4:05 pm

one question about these scripts.

are they usable on moho12?

thanks :)
Galoz
Posts: 3
Joined: Thu Oct 06, 2016 7:41 am

Re: DKWROOT Scripts ( Lots of Improvements )

Post by Galoz » Fri Oct 07, 2016 5:09 pm

i try them and they work well on Moho Pro 12. very handy scripts.

i wish in the next update the Mirror function could take the bezier handles of the points as well, for now it only take the position of the points.

many thanks to dkwroot for the great work !!
User avatar
chucky
Posts: 3937
Joined: Sun Jan 28, 2007 4:24 am
Location: Van Diemen's Land
Contact:

Re: DKWROOT Scripts ( Lots of Improvements )

Post by chucky » Mon Oct 10, 2016 1:01 pm

Great scripts Dkwroot, very useful.
Love the centre origin button, look, they're all so useful.
Thanks!
Sequential offender.
my latest animations
User avatar
chucky
Posts: 3937
Joined: Sun Jan 28, 2007 4:24 am
Location: Van Diemen's Land
Contact:

Re: DKWROOT Scripts ( Lots of Improvements )

Post by chucky » Fri Nov 18, 2016 1:48 pm

Hey,
I've been using the origin point for some time now, but I can't get the mirror points to work properly.
Some features ( like line up) half work but mirror doesn't at all.

Is it the version I am on ( DKWROOT I am probably on the same V12+ beta version as you) or have I installed incorrectly?
Sequential offender.
my latest animations
dkwroot
Posts: 661
Joined: Thu May 02, 2013 6:56 am
Location: USA
Contact:

Re: DKWROOT Scripts ( Lots of Improvements )

Post by dkwroot » Mon Nov 21, 2016 8:36 am

chucky wrote:Is it the version I am on ( DKWROOT I am probably on the same V12+ beta version as you) or have I installed incorrectly?
Actually, I haven't tried this script with AS 12. The scripting probably changed in AS 12 which is causing some conflict, but I haven't looked at it. I'm really busy at the moment, so I'm not sure when I'll have to time to update this.
User avatar
Greenlaw
Posts: 4680
Joined: Mon Jun 19, 2006 5:45 pm
Location: Los Angeles
Contact:

Re: DKWROOT Scripts ( Lots of Improvements )

Post by Greenlaw » Tue Dec 13, 2016 7:27 pm

chucky wrote:Hey,
I've been using the origin point for some time now, but I can't get the mirror points to work properly.
Some features ( like line up) half work but mirror doesn't at all.
Oh no! I was hoping I could use this for my next assignment. I guess it's good I still have 11 installed but not looking forward to jumping between the two versions to work on the shapes.

I think Mirror and Swap Points really should be native tools anyway. It seems they would be kind of essential for creating smooth turnarounds. Without it, I'm flipping renders or screen caps and manually setting the reverse shapes, which is not nearly as efficient.
Last edited by Greenlaw on Tue Dec 13, 2016 9:09 pm, edited 3 times in total.
D.R. Greenlaw
Artist/Partner - Little Green Dog | Little Green Dog Channel on Vimeo | Greenlaw's Demo Reel 2019 Edtion
Lead Digital Animator, Dreamworks Animation

Image
User avatar
Greenlaw
Posts: 4680
Joined: Mon Jun 19, 2006 5:45 pm
Location: Los Angeles
Contact:

Re: DKWROOT Scripts ( Lots of Improvements )

Post by Greenlaw » Tue Dec 13, 2016 8:34 pm

Trying the tools out in 12.2. (Note: Be sure to back up your original resources directory before adding the tools. The scripts overwrite existing Moho 12 scripts which may or may not affect normal Moho 12 behavior. TBD.)

Mirror and Swap so far appears to be working here. I'm using it to symmetrize a head shape and to create right to left targets. It's working with a fairly simple shape anyway.

Question about X and Y align. These seem to work but is there a way to determine where the points align? At first I thought it was using the position of the first selected point but after playing with it for a bit, that doesn't appear to be the case. It seems to be choosing a random point to align to. Not a huge deal, just wondering.

I'll write again if I run into a problem or need to pull these tools out for some reason.
D.R. Greenlaw
Artist/Partner - Little Green Dog | Little Green Dog Channel on Vimeo | Greenlaw's Demo Reel 2019 Edtion
Lead Digital Animator, Dreamworks Animation

Image
User avatar
Greenlaw
Posts: 4680
Joined: Mon Jun 19, 2006 5:45 pm
Location: Los Angeles
Contact:

Re: DKWROOT Scripts ( Lots of Improvements )

Post by Greenlaw » Tue Dec 13, 2016 9:04 pm

Oh, yeah, I see what Galoz means: it works fine until you break the bezier handles on a point. The points position gets mirrored or swapped but not the bezier handle positions--you'll need to adjust that manually. (That or stick with 'legacy style' points I guess.)

I can still work with this but, yeah, it would be nice to see the tool updated for bezier handles.

Pretty please? :)
D.R. Greenlaw
Artist/Partner - Little Green Dog | Little Green Dog Channel on Vimeo | Greenlaw's Demo Reel 2019 Edtion
Lead Digital Animator, Dreamworks Animation

Image
User avatar
Greenlaw
Posts: 4680
Joined: Mon Jun 19, 2006 5:45 pm
Location: Los Angeles
Contact:

Re: DKWROOT Scripts ( Lots of Improvements )

Post by Greenlaw » Tue Dec 13, 2016 9:20 pm

Oh, nooooo! The tools apparently break the ability to create Pin Bones by clicking.

I was afraid the script overwrites might do something like that. I'm not sure what else gets broken in 12 but I think I'm going to play it safe and switch back to 'vanilla' Moho for now.

Hope these tools get updated in the future for Moho 12. They're too useful to leave behind. :)
D.R. Greenlaw
Artist/Partner - Little Green Dog | Little Green Dog Channel on Vimeo | Greenlaw's Demo Reel 2019 Edtion
Lead Digital Animator, Dreamworks Animation

Image
dkwroot
Posts: 661
Joined: Thu May 02, 2013 6:56 am
Location: USA
Contact:

Re: DKWROOT Scripts ( Lots of Improvements )

Post by dkwroot » Sun Jan 15, 2017 10:56 am

Greenlaw wrote:
chucky wrote:Hey,
I've been using the origin point for some time now, but I can't get the mirror points to work properly.
Some features ( like line up) half work but mirror doesn't at all.
Oh no! I was hoping I could use this for my next assignment. I guess it's good I still have 11 installed but not looking forward to jumping between the two versions to work on the shapes.

I think Mirror and Swap Points really should be native tools anyway. It seems they would be kind of essential for creating smooth turnarounds. Without it, I'm flipping renders or screen caps and manually setting the reverse shapes, which is not nearly as efficient.
I updated the mirror and swap points scripts. They're menu scripts now and they can handle both bezier handles and strokes.

DOWNLOAD: https://drive.google.com/open?id=0Bwzk- ... mNCX1pvME0
Post Reply