Vector kit command

perspective.plane.move

Move Plane

Moves a perspective plane along its normal, optionally moving or copying the objects on it.

Kit
Vector 0.1.0 (.kvector)
Changes the document
yes

Parameters

Parameters of perspective.plane.move
NameTypeRequiredDescription
bynumbernopoints; one of several alternative parameters
objects"none" | "move" | "copy"nodefault none: the objects on the plane stay; move: they move with it, as Shift-dragging a plane widget does; copy: copies of them do, as Alt-dragging does
offsetnumberno
plane"left" | "right" | "ground"nodefault: the active plane

Call through vector_run

text
vector_run {
  "path": "<file>.kvector",
  "steps": [{ "command": "perspective.plane.move" }]
}

The required parameters, with placeholders for their types: not a tested example. Optional: by, objects, offset, plane. vector_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": {
    "by": {
      "description": "points; one of several alternative parameters",
      "type": "number"
    },
    "objects": {
      "description": "default none: the objects on the plane stay; move: they move with it, as Shift-dragging a plane widget does; copy: copies of them do, as Alt-dragging does",
      "enum": [
        "none",
        "move",
        "copy"
      ],
      "type": "string"
    },
    "offset": {
      "type": "number"
    },
    "plane": {
      "description": "default: the active plane",
      "enum": [
        "left",
        "right",
        "ground"
      ],
      "type": "string"
    }
  },
  "returns": "{plane, offset, ids}",
  "type": "object"
}

Generated from the command list of @kition/[email protected] and the kit itself (vector_commands through @kition/[email protected], built from KitionAI/kition-vector@7cf908f). As data: commands.jsonl.