Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Mocha exporting spline data

Community Beginner ,
Aug 06, 2022 Aug 06, 2022

Is there a way to export spline data using Mocha AE? To be clear, I know that 'planar surface' data are exported by 'Create Track Data,' but I'm trying to export the spline points as well (made using Rectangle Spline).

TOPICS
How to
884
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Aug 07, 2022 Aug 07, 2022

If you are using the latest Mocha AE plugin versions included in AE, you can do it. Instead of using tracking data you can access spline data and convert it into native AE masks using the Matte category in the Mocha AE plugin. Under the Visible Layers option you can select what spline created in Mocha will be used. Then click on the CREATE AE MASKS button.

Translate
LEGEND ,
Aug 06, 2022 Aug 06, 2022

Spline data can be exported using the Pro version and the respective plug-ins.

 

Mylenium

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Aug 07, 2022 Aug 07, 2022

Thanks Mylenium - can you please elaborate on the process? I don't yet have the Pro version but I'd gladly purchase it if I knew I could export the spline data. Cheers!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Aug 07, 2022 Aug 07, 2022

If you are using the latest Mocha AE plugin versions included in AE, you can do it. Instead of using tracking data you can access spline data and convert it into native AE masks using the Matte category in the Mocha AE plugin. Under the Visible Layers option you can select what spline created in Mocha will be used. Then click on the CREATE AE MASKS button.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Aug 07, 2022 Aug 07, 2022

Thanks so much Jose, that worked! Would it be possible to then extract the spline vertex locations from the mask information? FWIW, the spline consists of 4 points (tracking a picture on a wall).

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Aug 07, 2022 Aug 07, 2022
LATEST

I seemed to have found the solution - well, not so straightforward but definitely works. Thanks Jose for pointing me in the right direction.

For those that are needing the same solution:

After making the mask, I had to write a script - the key line is as follows:

var pathVerts = app.project.item(1).layer("Shape Layer 1").property("Contents").property("Path 1").property("Path").valueAtTime((i*thisComp.frameDuration), false).vertices;
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines