Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Get Deformed Shape Path Data

  • Get Deformed Shape Path Data

    Posted by Nils Hammers on August 29, 2023 at 2:47 pm

    Hi there,

    Is it possible to get resulting data from Shape layer path, that has operators applied, such as Merge and WigglePaths, to be fed into another ShapePath/MaskPath property. Call it “code level precompose”.
    Alternatively, are there code snippets that would emulate those vector filters?

    What I am after is to use Scribble effect on a MaskPath, that has those deformations, or whatever scribbly result that would work on shape directly.


    Nils Hammers replied 9 months, 3 weeks ago 2 Members · 2 Replies
  • 2 Replies
  • Filip Vandueren

    September 1, 2023 at 11:09 am

    Hi Nils,

    There’s no way to do that directly.

    Some effects can be mimicked with expressions, for example by simulating our own Wiggle Paths/Wiggle Transforms via a createPath() expression.

    But merging Paths is not do-able I think. For one, it’s very hard to program that logic into an expression, and apart from that: 1 Path property must always just contain one “string” of vertices, not a compound path such as can be created with a merge/subtract operation…

  • Nils Hammers

    September 1, 2023 at 1:27 pm

    Hi Filip,

    Thank you for your answer, yet the news You’ve brought were kind of sad. 🙂

    Having an intermediate knowledge of AFX expressions, I was inspired by CreateNullsFromPaths script and and was hoping there is something esoteric, like

    …(“ADBE Root Vectors Group”)(1)(“ADBE Vectors Group”)(1)(“ADBE Vector Shape”)…
    with some magic of
    …(ADBE Vector Filter – Roughen)…

    that would output the data that is being rendered.

    I suspected some wiggly things could be done with createPath(), and then, from what you say, I conclude I should work with masks directly, as Scribble supports mask modes, and I would be able to simulate boolean behavior.

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