PathPrep

Convert multiple parametric shapes to Bezier paths, bake shape transforms, select all paths, and copy clean vectors

Learn about license types
  $24.99
  • Free Trial
Description


PathPrep for After Effects

PathPrep is a dockable After Effects ScriptUI panel that streamlines your shape layer workflow.
Convert parametric shapes to Bezier paths, bake transforms, select all paths, and copy clean vectors - all in just a few clicks.


Features

Convert multiple parametric shapes to editable Bezier paths
- Because “Convert To Bezier Path” shouldn’t mean clicking all day.

Select a shape layer, optionally choose which shapes to convert, and hit “Convert to Bezier Paths.” It’s a huge time-saver when you want to convert a lot of shapes, because After Effects’ regular menu command “Convert to Bezier Path” can only be used on one parametric shape at a time.


Apply Transforms
- Because transforms should help, not hinder.

Bake Anchor, Position, Scale and Rotation into Bezier Paths, with options to process all paths on the layer, or just user-selected ones, and options for Anchor point placement. Setting the anchor point to the shape’s bounding box center makes your transforms behave naturally - just like native AE behavior, ensuring post-bake editing stays intuitive.


Select all path properties at once
- Because finding all your paths shouldn’t feel like archaeology.

Quickly highlight every Bezier path in a shape layer and optionally add keyframes to them. Ideal for batch editing tasks. Saves heaps of time compared to tedious and time-consuming twirling / opening of multiple collapsed groups.


Copy Paths to Clipboard
- Because Illustrator wants your paths not your keyframes.

Copy raw vector data from After Effects shape paths, even if they’re animated, for pasting into Illustrator or other vector software.


Tutorial


How to Use


Open the panel via Window > PathPrep.jsxbin

The panel is resizable and dockable.

To get started, select a single shape layer. Only one shape layer can be processed at a time.

Note:
1. Even though the outward appearance of your shape layer will be unchanged, PathPrep's conversions and transformations can significantly modify your shape layer's underlying properties.
2. If you want to keep the original setup, duplicate your layer or composition.
3. Check for keyframes - the tool will skip problematic properties, but it's good to know what won't be processed.

The panel contains four collapsible sections:


1. Convert Parametric Shapes to Bezier Paths

Convert

Automatically converts the following parametric shapes to editable Bezier paths:

• Rectangles

• Ellipses

• Polystars (Stars and Polygons)

You can select which of these shape types get converted. You can also choose to convert all parametric paths on the layer, or just ones that you have selected yourself. When using the ‘Convert Selected’ option, be sure to select the parametric shapes directly — not the shape group or transform group.

Click "Convert to Bezier Paths" and the script will cleanly replace parametric shapes with Bezier equivalents. Each original parametric shape is removed after conversion, and its replacement is inserted at the same index in the shape group for consistency. An alert message will tell you the number of shapes that were converted. Converted shapes will no longer retain parametric properties (e.g., size sliders).

PathPrep uses its own fast transform math functions for converting all shapes. These functions produce identical results to After Effects' native conversion methods, except that PathPrep's conversion of Star Inner Roundness may show minor mathematical differences at extreme roundness settings


2. Apply Transforms

Transform

Bakes Anchor, Position, Scale and Rotation into Bezier Paths. You’ll need to convert parametric shapes to Bezier paths first if you want to apply transforms to them.

You can choose to apply transforms to all Bezier paths on the layer, or just ones that you have selected yourself. In "Apply to all" mode, PathPrep will work through all levels of groups and subgroups, applying each transform in the correct order - so even deeply nested paths get accurately transformed. When using the ‘Apply to Selected’ option, be sure to select the Path property directly - not the Path Group or Transform Group. In "Apply to selected" mode, the only transforms that will be applied are the ones directly associated with the selected paths.

You can also choose whether to set Anchors to the centers of each shape's bounding box (best for intuitive editing), or to origin (0,0) - the center of the comp.

Gradients are scaled proportionally with transforms, except in the case of the Highlight Angle of a radial gradient on a path which has non-uniform scale (different X-Scale and Y-Scale values).

Stroke width transformation is also applied. If a path has non-uniform scale (different X-Scale and Y-Scale values), then the transformed stroke weight will be the average of the X-Scale and the Y-Scale.

For dashed strokes, Dash and Gap lengths are scaled proportionally with transforms. Dash offsets are preserved at their original values, so you may see the dashes move along the path. For best results when applying transforms to dashed strokes, consider using an offset of 0.

Stroke Taper and Stroke Wave parameters are also scaled proportionally with transforms.

Stroke Miter Limit scales proportionally, however, small precision/rounding changes in the Bezier control points might slightly alter the angles at sharp corners, potentially pushing some miters just over the limit threshold.

The script skips certain paths and groups when applying transforms to ensure accuracy and avoid breaking animations:

- Parametric shapes can’t be baked because their points aren’t editable.

- Paths or transforms with keyframes are skipped to protect your animation.

- Same goes for any of these if they are animated: Gradient Start and End Points, Stroke Width and some of the Dashes, Taper and Wave parameters.

- Skew transforms are skipped because they can produce extreme or unpredictable distortion when baked.

- And if a group contains any of these things, it’s skipped to keep things safe and consistent.

An alert message will tell you the number of paths that had transforms applied, and whether any paths were skipped. You may occasionally see a visual glitch where paths appear incorrectly transformed just before clicking OK. This is a temporary display issue in After Effects' rendering - the actual transforms are calculated correctly and will display properly once you click OK.


3. Select All Path Properties

Select

Recursively selects all Path properties in the selected shape layer with a single click.

When you click on the "Select All Path Properties" button, what gets selected are the keyframeable paths themselves, not their enclosing Path groups. If a path's points are animated then all keyframes will be selected.

This feature is useful for further batch actions, for example creating Nulls from all Path points. (This can be accessed from After Effects’ Layer > Create menu in AE 2025+, or Window > Create Nulls from Paths.jsx in older versions of After Effects.)

The "Add Keyframe" button can be used to add keyframes. (Press Cmd+U/Ctrl+U to reveal the keyframes that have been added.)

You can copy the selected paths with Cmd+C/Ctrl+C. Note that if any of the paths are animated then keyframe data will be copied. If you just want to copy paths see "Copy Paths to Clipboard" below:


4. Copy Paths to Clipboard

Copy

Copies paths as raw vectors without keyframe data for pasting into Illustrator or other software that accepts vector paths from the clipboard.

Best practice is to use Convert Parametric Shapes and Apply Transforms first.

When you click "Copy Paths to Clipboard", only path data will be copied, therefore it will be necessary to add strokes and fills manually in Illustrator. It will also be necessary to reverse the order of the pasted paths by highlighting them in Illustrator's Layers panel and choosing Reverse Order from the Layers panel menu.


UI


Notes

• Best practice: Prep your paths in the right order. Convert Shapes -> Apply Transforms -> Keyframe or copy the prepped paths.

• Expressions Aren't Supported:

If your shape layer uses expressions, we recommend avoiding using PathPrep. Here's why:
Expressions can create complex webs of dependencies where one property references another, which references another, and so on. Tracking all these relationships accurately would be extremely complex and error-prone. Since expressions are typically used for dynamic, procedural animation, they don't align well with the "baking" workflow that PathPrep is designed for.

For expression-heavy projects:
If you have expressions but still want to use PathPrep, consider:

Creating a duplicate composition.
Removing expressions and keyframes from the duplicate.
Using PathPrep on the cleaned-up version.


Reminder

1. Even though the outward appearance of your shape layer will be unchanged, PathPrep's conversions and transformations can significantly modify your shape layer's underlying properties.
2. If you want to keep the original setup, duplicate your layer or composition.
3. Check for keyframes - the tool will skip problematic properties, but it's good to know what won't be processed.

Discussions

Want to talk about it?

Head over to r/aescripts to chat with fellow users about this product.

Need Support?

Please open a support ticket to be connected directly with the author of this product

Version History

1.0 -

Jul 4, 2025

Initial Release

Compatibility

After Effects

2025, 2024, 2023, 2022, 2021

EULA

END USER LICENSE AGREEMENT

This software ("the Software Product") and accompanying documentation is licensed and not sold. This Software Product is protected by copyright laws and treaties, as well as laws and treaties related to other forms of intellectual property. The author owns intellectual property rights in the Software Product. The Licensee's ("you" or "your") license to download, use, copy, or change the Software Product is subject to these rights and to all the terms and conditions of this End User License Agreement ("Agreement").

Acceptance
YOU ACCEPT AND AGREE TO BE BOUND BY THE TERMS OF THIS AGREEMENT BY SELECTING THE "ACCEPT" OPTION AND DOWNLOADING THE SOFTWARE PRODUCT OR BY INSTALLING, USING, OR COPYING THE SOFTWARE PRODUCT. YOU MUST AGREE TO ALL OF THE TERMS OF THIS AGREEMENT BEFORE YOU WILL BE ALLOWED TO DOWNLOAD THE SOFTWARE PRODUCT. IF YOU DO NOT AGREE TO ALL OF THE TERMS OF THIS AGREEMENT, YOU MUST SELECT "DECLINE" AND YOU MUST NOT INSTALL, USE, OR COPY THE SOFTWARE PRODUCT.

License Grant
This Agreement entitles you to install and use one copy of the Software Product. In addition, you may make one archival copy of the Software Product. The archival copy must be on a storage medium other than a hard drive, and may only be used for the reinstallation of the Software Product. This Agreement does not permit the installation or use of multiple copies of the Software Product, or the installation of the Software Product on more than one computer at any given time, on a system that allows shared used of applications, on a multi-user network, or on any configuration or system of computers that allows multiple users. Multiple copy use or installation is only allowed if you obtain an appropriate licensing agreement for each user and each copy of the Software Product.

Restrictions on Transfer
Without first obtaining the express written consent of the author, you may not assign your rights and obligations under this Agreement, or redistribute, encumber, sell, rent, lease, sublicense, or otherwise transfer your rights to the Software Product.

Restrictions on Use
You may not use, copy, or install the Software Product on any system with more than one computer, or permit the use, copying, or installation of the Software Product by more than one user or on more than one computer. If you hold multiple, validly licensed copies, you may not use, copy, or install the Software Product on any system with more than the number of computers permitted by license, or permit the use, copying, or installation by more users, or on more computers than the number permitted by license.

You may not decompile, "reverse-engineer", disassemble, or otherwise attempt to derive the source code for the Software Product.

Restrictions on Alteration
You may not modify the Software Product or create any derivative work of the Software Product or its accompanying documentation. Derivative works include but are not limited to translations. You may not alter any files or libraries in any portion of the Software Product.

Restrictions on Copying
You may not copy any part of the Software Product except to the extent that licensed use inherently demands the creation of a temporary copy stored in computer memory and not permanently affixed on storage medium. You may make one archival copy which must be stored on a medium other than a computer hard drive.

Disclaimer of Warranties and Limitation of Liability
UNLESS OTHERWISE EXPLICITLY AGREED TO IN WRITING BY THE AUTHOR, THE AUTHOR MAKES NO OTHER WARRANTIES, EXPRESS OR IMPLIED, IN FACT OR IN LAW, INCLUDING, BUT NOT LIMITED TO, ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE OTHER THAN AS SET FORTH IN THIS AGREEMENT OR IN THE LIMITED WARRANTY DOCUMENTS PROVIDED WITH THE SOFTWARE PRODUCT.

The author makes no warranty that the Software Product will meet your requirements or operate under your specific conditions of use. The author makes no warranty that operation of the Software Product will be secure, error free, or free from interruption. YOU MUST DETERMINE WHETHER THE SOFTWARE PRODUCT SUFFICIENTLY MEETS YOUR REQUIREMENTS FOR SECURITY AND UNINTERRUPTABILITY. YOU BEAR SOLE RESPONSIBILITY AND ALL LIABILITY FOR ANY LOSS INCURRED DUE TO FAILURE OF THE SOFTWARE PRODUCT TO MEET YOUR REQUIREMENTS. THE AUTHOR WILL NOT, UNDER ANY CIRCUMSTANCES, BE RESPONSIBLE OR LIABLE FOR THE LOSS OF DATA ON ANY COMPUTER OR INFORMATION STORAGE DEVICE.

UNDER NO CIRCUMSTANCES SHALL THE AUTHOR, ITS DIRECTORS, OFFICERS, EMPLOYEES OR AGENTS BE LIABLE TO YOU OR ANY OTHER PARTY FOR INDIRECT, CONSEQUENTIAL, SPECIAL, INCIDENTAL, PUNITIVE, OR EXEMPLARY DAMAGES OF ANY KIND INCLUDING LOST REVENUES OR PROFITS OR LOSS OF BUSINESS) RESULTING FROM THIS AGREEMENT, OR FROM THE FURNISHING, PERFORMANCE, INSTALLATION, OR USE OF THE SOFTWARE PRODUCT, WHETHER DUE TO A BREACH OF CONTRACT, BREACH OF WARRANTY, OR THE NEGLIGENCE OF THE AUTHOR OR ANY OTHER PARTY, EVEN IF THE AUTHOR IS ADVISED BEFOREHAND OF THE POSSIBILITY OF SUCH DAMAGES. TO THE EXTENT THAT THE APPLICABLE JURISDICTION LIMITS THE AUTHOR'S ABILITY TO DISCLAIM ANY IMPLIED WARRANTIES, THIS DISCLAIMER SHALL BE EFFECTIVE TO THE MAXIMUM EXTENT PERMITTED.

Limitation of Remedies and Damages
Any claim must be made within the applicable warranty period. All warranties cover only defects arising under normal use and do not include malfunctions or failure resulting from misuse, abuse, neglect, alteration, problems with electrical power, acts of nature, unusual temperatures or humidity, improper installation, or damage determined by the author to have been caused by you. All limited warranties on the Software Product are granted only to you and are non-transferable. You agree to indemnify and hold the author harmless from all claims, judgments, liabilities, expenses, or costs arising from your breach of this Agreement and/or acts or omissions.

Governing Law, Jurisdiction and Costs
This Agreement is governed by the laws of New York, without regard to New York's conflict or choice of law provisions.

Severability
If any provision of this Agreement shall be held to be invalid or unenforceable, the remainder of this Agreement shall remain in full force and effect. To the extent any express or implied restrictions are not permitted by applicable laws, these express or implied restrictions shall remain in force and effect to the maximum extent permitted by such applicable laws.

Updated: Oct 21, 2025 1:35 AM