CLI reference › PixelLab utilities

anchors

Writes the anchors file of a held item, a layer asset with attach: the skeleton of every frame of the layer's of assets, which is where the item is pinned. PixelLab only. Each frame is one /estimate-skeleton call at 0.1 generation, a direct account call outside the plan, the lockfile and --budget, like estimate-skeleton.

pixelkiln anchors <asset> [--style <id>] [--force] [--dry-run]

The file is the one the asset's attach.anchors names. Frames whose entry already matches their bytes are skipped, so running it again after adding or regenerating a loop pays only for what changed, and entries other held items rely on are left alone. --force estimates every frame again. --dry-run counts the frames and their cost and calls nothing. A hand-made place on a frame is kept until that frame's own bytes change.

The sources must be downloaded first. A frame that is not one of the sizes the endpoint takes (square, 16, 32, 64, 128 or 256) is sent on the next size up and its joints scaled back; a frame over 256 pixels a side is refused.

See Paperdoll layers.