This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import win32clipboard #pip install pywin32 | |
| #This was intended as a one-off to simplify the process of copying a single basic pen stroke from Figma into an After Effects path. | |
| #Hacked together by Zanzlanz | |
| #Notes: | |
| #- It gets the first path ONLY | |
| #- It assumes ONE pen stroke (meaning, one 'm'ove command followed by only 'c'urve commands) | |
| #- Results will be upside-down in AE, just flip it | |
| #- Transforms are not considered, etc. etc.. It's just the raw numbers, I tell you |