Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Expression to Create Arcs in After Effects

  • Alex Printz

    March 22, 2019 at 2:43 pm

    There is no way to do this ‘correctly’ natively prior to AE2017 october update, but there is a cheat.

    My friend Paul Conigliaro did develop a technique and wrote a plugin to do this: what it does is duplicate the shapelayer and path onto a guide layer, add a micro trim path (e.g, Start: 99.9, End:100), and then add a round-end stroke of 1 pixel to essentially draw a dot at the end of the path.

    On a null layer, it then averages the SourceRecAtTime of the layer and does a world conversion, something like this (not tested, code might be formatted incorrectly):

    target = thisComp.layer("target guide layer");
    target.toComp([target.sourceRecAtTime(time).left+(target.sourceRecAtTime(time).width/2),target.sourceRecAtTime(time).top+(target.sourceRecAtTime(time).height/2)].

    This should be pretty much the position of the center of the end of the trimmed path.

    Alex Printz
    Mograph Designer

  • Alex Printz

    March 22, 2019 at 2:45 pm

    You know what, I just re-read your question and I first response is entirely backwards to what you were asking, pushing data into paths.

    No, there is no way to force paths to specific coordinates prior to AE Oct.2017 update. Sorry for getting your hopes up.

    Alex Printz
    Mograph Designer

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy