← back to roto on ba3a.dev

Project

class Project(root: Path, val config: ProjectConfig)

A consuming project: its config and the root folder holding roto.json. Turns the config's relative paths and templates into files under root; every path stays inside it.

Constructors

Link copied to clipboard
constructor(root: Path, config: ProjectConfig)

Types

Link copied to clipboard
object Companion

Opening a project from disk.

Properties

Link copied to clipboard

the project's roto.json

Link copied to clipboard

The project's palette file.

Link copied to clipboard

The project's named-ramp file.

Link copied to clipboard
val root: Path

the project root, absolute and normalised

Functions

Link copied to clipboard

The afterPublish command for profile, arguments expanded; empty when none is configured.

Link copied to clipboard
fun formatFile(format: OutputFormat, profile: String, action: String, facing: String, extension: String): Path

The extension file of format that holds profile's action clip facing facing. The extension is letters and digits, without a dot.

Link copied to clipboard
fun frameFile(profile: String, action: String, facing: String, frame: Int): Path

Where frame frame of profile's action clip facing facing is published.

Link copied to clipboard
fun manifestFile(profile: String, action: String, facing: String): Path

Where the manifest of profile's action clip facing facing is published.