Motion kit command

footage.rippleInsertEdit

Ripple Insert Edit

Inserts footage `item`'s In–Out range (or `in`/`out` seconds) into `comp` at `at` (default now) and splits and pushes every later layer later by its length. Use footage.overlayEdit to overlap instead.

Kit
Motion 0.1.0 (.kmotion)
Changes the document
yes

Parameters

Parameters of footage.rippleInsertEdit
NameTypeRequiredDescription
atnumbernocomp s; default the current time
compinteger | stringno
innumberno(s)
itemintegerno
layerinteger | stringnoread by the command beside its listed parameters
outnumberno(s)
trackerinteger | stringnoread by the command beside its listed parameters

Call through motion_run

text
motion_run {
  "path": "<file>.kmotion",
  "steps": [{ "command": "footage.rippleInsertEdit" }]
}

The required parameters, with placeholders for their types: not a tested example. Optional: at, comp, in, item, layer, out, tracker. motion_run answers the step’s result in completed[i].result.

Result

The kit gives no result schema for this command.

Parameter schema

json
{
  "additionalProperties": false,
  "properties": {
    "at": {
      "description": "comp s; default the current time",
      "type": "number"
    },
    "comp": {
      "oneOf": [
        {
          "description": "comp's item id as motion_inspect lists it",
          "type": "integer"
        },
        {
          "description": "the item id as receipts print it (\"1\"), or the comp's name",
          "type": "string"
        }
      ],
      "x-khp-name": "name",
      "x-khp-types": [
        "Item"
      ]
    },
    "in": {
      "description": "(s)",
      "type": "number"
    },
    "item": {
      "type": "integer",
      "x-khp-name": "name",
      "x-khp-types": [
        "Item"
      ]
    },
    "layer": {
      "description": "read by the command beside its listed parameters",
      "oneOf": [
        {
          "description": "layer id as motion_inspect lists it (when no layer has that id, its 1-based stack position)",
          "type": "integer"
        },
        {
          "description": "layer id as receipts print it (\"51\"), a layer name, or #n for the n-th from the top",
          "type": "string"
        }
      ],
      "x-khp-name": "name",
      "x-khp-types": [
        "Layer"
      ]
    },
    "out": {
      "description": "(s)",
      "type": "number"
    },
    "tracker": {
      "description": "read by the command beside its listed parameters",
      "oneOf": [
        {
          "type": "integer"
        },
        {
          "type": "string"
        }
      ]
    }
  },
  "type": "object"
}

Generated from the command list of @kition/[email protected] and the kit itself (motion_commands through @kition/[email protected], built from KitionAI/kition-motion@4719aa7). As data: commands.jsonl.