← back to roto on ba3a.dev

export

fun export(project: Project, name: String, description: String): ProjectPreset

The preset for project, called name and described by description. It holds the project's palette and ramps, and leaves out the id, the folder and afterPublish. The output paths must match a named OutputLayout; otherwise this throws PresetException. A palette or ramps file that fails to load propagates unchanged.