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
| Name | Type | Required | Description |
|---|---|---|---|
by | number | no | points; one of several alternative parameters |
objects | "none" | "move" | "copy" | no | 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 |
offset | number | no | |
plane | "left" | "right" | "ground" | no | default: 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.