Mailing List AE-List@media-motion.tv — Message #45064
From: Dan Ebberts <debberts@comcast.net>
Subject: Re: [AE] script for advancing to end of last paint stroke layer
Date: Thu, 26 Jul 2012 11:24:56 -0700
To: After Effects Mail List <AE-List@media-motion.tv>
Something like this should work:
 
{
    function main(){
        var myComp = app.project.activeItem;
        if (! myComp){
            alert("No comp active.");
            return;
        }
        if (! (myComp.selectedLayers.length > 0)){
            alert ("No layer selected.");
            return;
        }
        var myLayer = myComp.selectedLayers[0];
        try{
            var myStrokes = myLayer.property("Effects").property("Paint").property("Strokes");
        }catch(err){
            alert ("No paint strokes applied to selected layer.");
            return;
        }
        var myBrush = myStrokes.property(1);
        var myEnd = myBrush.property("Stroke Options").property("End");
        myComp.time = myEnd.keyTime(myEnd.numKeys);
    }
 
    main();
}
 
 
Dan
 
 
From: Evan Fotis
Sent: Thursday, July 26, 2012 7:22 AM
Subject: [AE] script for advancing to end of last paint stroke layer
 
Hello,
I'm trying to record a drawing session in AE using Paint in Write on mode.
However at the end of each stroke I have to stop drawing in layer window, go down to the TL, expand all paint stroke key-frames with UU and press K to advance to last key-frame. This slows down the process big time and does not work every-time, otherwise I would have already added this custom key sequence to my intuos, but ity doesn't work that way. Apart from that, the Paint fx Brush Stroke sub-layers cannot be sequenced like normal layers can.
At least old Vector Paint had the shift paint option...
It would be very useful if a script could do that in one shot reliably, binded to a hot key. This way "all one would need to do" is hit the hot-key after each stroke! to get the CTI to the end of the last stroke ad proceed with drawing along for a sequential stroke effect.
Or if sequencing paint-strokes was possible.

Any ideas to make drawing feasible within AE?
 
On 26-Jul-12 16:36, Kristaps Grīva wrote:

Thank You so much for the tip!

Found the script at http://www.redefinery.com/ae/view.php?item=rd_MasksToShapes

And it did the job :)

 

Kristaps

 

From: After Effects Mail List [mailto:AE-List@media-motion.tv] On Behalf Of scott.aelist
Sent: Thursday, July 26, 2012 3:41 PM
To: After Effects Mail List
Subject: Re: [AE] illustrator import / convert to shapes CS6 with no stroke

 

Someone wrote a script that converts masks to shape layers. Copy your paths in as masks and then run that on it.

On Thu, Jul 26, 2012 at 3:55 AM, Kristaps Grīva <kristaps.griva@lnt.lv> wrote:

Hi everyone!

 

I have to animate an artwork imported from illustrator. It consists of many paths. The plan is a simple write-on (using „trim paths” feature of shape layers) + a bit of wiggle paths and puppet tool distortions for secondary motion…

Thought the new „create shapes from vector layer” feature would come in useful to avoid tedious multiple path copypasting from illustrator.

But! It only allows to convert illustrator paths that HAVE a stroke applied. And if they do, converter expands the strokes to shapes, which is useless for „trim paths” method, in my case.

 

Isn’t there still a newer/quicker method to get multiple paths from Illustrator to AE shapes apart from countless path duplications/copypastes? :)

 

Huge thanks if any idea comes up :)

 

Kristaps Griva

broadcast graphics design

LNT / TV5 / K2

www.lnt.lv

 

 

 

 


/

 
Subscribe (FEED) Subscribe (DIGEST) Subscribe (INDEX) Unsubscribe Mail to ListMaster