← back to roto on ba3a.dev

ProfileFolder

class ProfileFolder(val path: Path)

The layout of one profile's folder in the library:

  • profile.json — the Profile;

  • sources/ — the original videos and photos, never modified;

  • cache/ — stage outputs, always regenerable from sources plus parameters, safe to delete;

  • handoff/ — one <action>_<facing>.ase per clip, the file the artist paints in;

  • exports/ — animated files exported to share, regenerable like cache/, safe to delete;

  • models/ — one <action>_<facing>/ folder per imported model clip.

Constructors

Link copied to clipboard
constructor(path: Path)

Properties

Link copied to clipboard

The folder holding stage outputs.

Link copied to clipboard

The folder holding the exported animations.

Link copied to clipboard

The folder holding one .ase per clip.

Link copied to clipboard

The folder holding one folder per imported model clip.

Link copied to clipboard
val path: Path

the profile's folder, <library>/<project id>/<profile id>

Link copied to clipboard

The profile's profile.json.

Link copied to clipboard

The folder holding the original videos and photos.

Functions

Link copied to clipboard
fun handoffFile(clip: Clip): Path

The .ase the artist paints clip in.

Link copied to clipboard

The folder of the model clip called key, <action>_<facing>.

Link copied to clipboard
fun sourceFile(clip: Clip): Path

The video or photo clip was cut from.

fun sourceFile(source: String): Path

The video or photo called source among the sources.