Vector kit command
object.blend.info
Blend Info
Answers the options of the first selected blend (spacing, steps, distance, orientation, keys, spine), else the defaults new blends get.
- Kit
- Vector 0.1.0 (.kvector)
- Changes the document
- no
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
starts | any[] | no | read by the command beside its listed parameters |
target | string | no | "object" (default) or "contents": the objects themselves, or what their groups and layers hold |
Call through vector_run
text
vector_run {
"path": "<file>.kvector",
"steps": [{ "command": "object.blend.info" }]
}The required parameters, with placeholders for their types: not a tested example. Optional: starts, target. vector_run answers the step’s result in completed[i].result.
Result
| Name | Type | Required | Description |
|---|---|---|---|
distance | number | no | |
id | any | no | |
keys | any[] | no | |
orientation | string | no | |
spacing | string | no | |
spine | object | no | |
starts | any[] | no | |
steps | number | no | |
target | string | no |
Result JSON Schema
json
{
"additionalProperties": true,
"properties": {
"distance": {
"type": "number"
},
"id": {},
"keys": {
"type": "array"
},
"orientation": {
"type": "string"
},
"spacing": {
"type": "string"
},
"spine": {
"additionalProperties": true,
"type": "object"
},
"starts": {
"type": "array"
},
"steps": {
"type": "number"
},
"target": {
"type": "string"
}
},
"type": "object"
}Parameter schema
json
{
"additionalProperties": false,
"properties": {
"starts": {
"description": "read by the command beside its listed parameters",
"type": "array"
},
"target": {
"description": "\"object\" (default) or \"contents\": the objects themselves, or what their groups and layers hold",
"type": "string"
}
},
"returns": "{target: blend|defaults, id?, spacing: smooth|steps|distance, steps, distance, orientation: page|path, keys?: [ids], starts?: [anchor|null], spine?: {anchors: [{x, y, in: [x, y], out: [x, y]}], closed, keyAnchors: [anchor each key sits on] | null (keys spread evenly: a spine from Replace Spine), explicit: false for the straight lines between the key centres}}",
"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.