Vector kit command

perspective.widget.options

Perspective Grid Options

Shows or hides the Plane Switching Widget and sets its corner; with no params answers the settings.

Kit
Vector 0.1.0 (.kvector)
Changes the document
no

Parameters

Parameters of perspective.widget.options
NameTypeRequiredDescription
onbooleannoread by the command beside its listed parameters
position"topLeft" | "topRight" | "bottomLeft" | "bottomRight"no
showbooleanno

Call through vector_run

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

The required parameters, with placeholders for their types: not a tested example. Optional: on, position, show. vector_run answers the step’s result in completed[i].result.

Result

Result of perspective.widget.options
NameTypeRequiredDescription
positionstringno
showbooleanno
Result JSON Schema
json
{
  "additionalProperties": true,
  "properties": {
    "position": {
      "type": "string"
    },
    "show": {
      "type": "boolean"
    }
  },
  "type": "object"
}

Parameter schema

json
{
  "additionalProperties": false,
  "properties": {
    "on": {
      "description": "read by the command beside its listed parameters",
      "type": "boolean"
    },
    "position": {
      "enum": [
        "topLeft",
        "topRight",
        "bottomLeft",
        "bottomRight"
      ],
      "type": "string"
    },
    "show": {
      "type": "boolean"
    }
  },
  "returns": "{show, position}",
  "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.