There are two scripts, one for TVPaint, and the other for Harmony:
TVPAINT
EXPORT SCRIPT - When your work in TVP is done, simply click the export button on the panel. The TVP export script will export the TVP project as single folder containing a set of PNG's. The result will look like a JSON folder with each layer having a separate folder within the main folder.
HARMONY
IMPORT SCRIPT - This is a modified version of the Import script written by Jacob Kafka, the author of the Rough Animator software. There are instructions on how to install and run the script here: http://roughanimator.com/toharmony/. The steps there will work for the modified script.
In Harmony, run the TVP IMPORT Script and it will rebuild the project (layers and timing intact) and vectorize the lines.
**Depending on your needs, you may want additional control over how Harmony vectorizes your line work. This will add a few more steps to the process which I will try to explain.
First, you will want to use Harmony's standard import dialog menu to test the vectorization options until you get your desired results. You can then save these vectorization options and Harmony will create a text file containing the vectorization codes. Copy these codes and then Paste them into the TVP IMPORT script. So now when you run the TVP Import script, it will use the vectorization options that you tested earlier. It's a few extra steps but it's mostly just Copy & Paste.
Changing vectorization codes in the Import script :
The IMPORT script that runs from Harmony could be improved but I have limited experience with Qt Script, the scripting language used by Harmony. It would be more convenient if the Import script would automatically open the Vectorization Dialog Window so that the user didn't have to open it up separately and then copy & paste the vectorization codes back into the script.
I'll update this post later with pictures to that the everything will be easier to follow
EXPORT Script
See attached file
IMPORT Script
https://drive.google.com/file/d/1SS9BVD ... sp=sharing