I just wanted to mention here that now synfig plugin integration has been expanded.
I documented the new stuff on the wiki: https://wiki.synfig.org/Doc:Plugins
Now there are 3 types of plugins:
These are the same as the old scripts, they show a menu entry in the plugins menu, and get executed when the user clicks them. That part hasn’t changed.
Now the plugin can define how standard output / standard error is handled, just add stout or stderr to , they support the following values:
- ignore - the output is discarded
- log - the output is shown in the synfig log
- message - if there is any output, it’s displayed in a dialog
The default is to ignore stdout and message for stderr
Plugin can now define exporters, which will be shown in the new Export dialog (under File).
Basically you define the filter to show in the dialog, and the script to run when the user selects a specific file type to export to.
The built in Lottie plugin now uses this system.
Similar to exporters but to load from various formats.
These will be shown in the Open dialog.
There aren’t any Importers by default on Synfig, but you can have a look at my plugin for this: https://gitlab.com/mattia.basaglia/python-lottie/-/blob/master/addons/synfig/tgs-exporter/plugin.xml