Copy Paste Vector Script

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

Moderators: Víctor Paredes, Belgarath, slowtiger

Post Reply
amanandink
Posts: 252
Joined: Wed Feb 13, 2008 10:28 pm
Location: Kilkenny, Ireland
Contact:

Copy Paste Vector Script

Post by amanandink »

Hi, we have a process when building our mouths to do the mouth as multiple separate layers, such as
- lips
- upr teeth
- lwr teeth
- tongue
- inside mouth

and then once it is built we flatten it down to one layer. by selecting the vector on tongue and coping and pasting it on to inside mouth, then doing lwr teeth, then upr teeth and lips. It is a little time consuming with 20 or so different mouths.

Does anyone know of a script that can do this kind of thing automatically?

thanks
Jeremy
User avatar
Lukas
Posts: 1297
Joined: Fri Apr 09, 2010 9:00 am
Location: Netherlands
Contact:

Re: Copy Paste Vector Script

Post by Lukas »

Ramón López made a script for me a while ago.

https://www.dropbox.com/s/lqv2248hey1lv ... _1930b.zip

Just select multiple layers and run the script.
Last edited by Lukas on Wed Feb 19, 2014 11:50 am, edited 1 time in total.
amanandink
Posts: 252
Joined: Wed Feb 13, 2008 10:28 pm
Location: Kilkenny, Ireland
Contact:

Re: Copy Paste Vector Script

Post by amanandink »

Thanks Lukas, but the zip file is not working when I try to unzip it

could you try re-sending it?
thanks
J
User avatar
Maestral
Posts: 531
Joined: Tue Jan 27, 2009 5:44 pm
Location: Belgrade, Serbia

Re: Copy Paste Vector Script

Post by Maestral »

@ amanandink

check it again, on your side - file is o.k. and functional
amanandink
Posts: 252
Joined: Wed Feb 13, 2008 10:28 pm
Location: Kilkenny, Ireland
Contact:

Re: Copy Paste Vector Script

Post by amanandink »

ahh Great thank Lukas, got it working

J
User avatar
Lukas
Posts: 1297
Joined: Fri Apr 09, 2010 9:00 am
Location: Netherlands
Contact:

Re: Copy Paste Vector Script

Post by Lukas »

Don't thank me, thank Ramon ;)
User avatar
Víctor Paredes
Site Admin
Posts: 5664
Joined: Wed Jan 26, 2005 12:18 am
Location: Barcelona/Chile
Contact:

Re: Copy Paste Vector Script

Post by Víctor Paredes »

Lukas wrote:Don't thank me, thank Ramon ;)
Thanks, Ramón :)
Image Image Image Image
Moho Product Manager

www.mohoanimation.com
Rigged animation supervisor in My father's dragon - Lead Moho artist in Wolfwalkers - Cartoon Saloon - My personal Youtube Channel
amanandink
Posts: 252
Joined: Wed Feb 13, 2008 10:28 pm
Location: Kilkenny, Ireland
Contact:

Re: Copy Paste Vector Script

Post by amanandink »

Thanks, Ramón

j
User avatar
Rai López
Posts: 2244
Joined: Sun Aug 08, 2004 1:41 pm
Location: Spain
Contact:

Re: Copy Paste Vector Script

Post by Rai López »

Hmmm, so it still works... good to know :), and well you (all) are welcomed!
...
User avatar
mgo
Posts: 57
Joined: Thu Dec 05, 2019 3:19 pm
Location: Earth, Solar System, Milky Way, Laniakea

Re: Copy Paste Vector Script

Post by mgo »

Many years later: I was just wondering if there is the equivalent of "merge layers" for Moho. Turns out, this is it. And it is still working :) (Moho 13.5).

Thanks for sharing!
🚀
User avatar
Rai López
Posts: 2244
Joined: Sun Aug 08, 2004 1:41 pm
Location: Spain
Contact:

Re: Copy Paste Vector Script

Post by Rai López »

And here I am again surprised it still work... Well one more time, good to know!
...
Post Reply