Vector kit command
perspective.grid.preset
Perspective Grid Preset
Resets the perspective grid to a 1-, 2- or 3-point preset fitted to the first artboard and shows it.
- Kit
- Vector 0.1.0 (.kvector)
- Changes the document
- yes
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
kind | 1 | 2 | 3 | no | |
name | string | no | read by the command beside its listed parameters |
on | boolean | no | read by the command beside its listed parameters |
Call through vector_run
text
vector_run {
"path": "<file>.kvector",
"steps": [{ "command": "perspective.grid.preset" }]
}The required parameters, with placeholders for their types: not a tested example. Optional: kind, name, on. 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": {
"kind": {
"enum": [
1,
2,
3
],
"type": "integer"
},
"name": {
"description": "read by the command beside its listed parameters",
"type": "string"
},
"on": {
"description": "read by the command beside its listed parameters",
"type": "boolean"
}
},
"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.