Vector kit command
object.blend.make
Make
Blends the selected objects with a number of steps or a distance (or smooth colour) along the page or a path.
- Kit
- Vector 0.1.0 (.kvector)
- Changes the document
- yes
- Acts on
ids(a list of ids), which a run step’sonfills
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
distance | number | no | points; one of several alternative parameters |
ids | integer[] | no | object IDs |
orientation | "page" | "path" | no | |
smooth | boolean | no | one of several alternative parameters |
spacing | number | no | read by the command beside its listed parameters |
starts | any[] | no | [anchor index | null, …] (per object of `ids`, else of the selection in paint order: the anchor of its first subpath the blend starts from; an open path's last anchor runs it the other way); per object of `ids`, else of the selection in paint order: the anchor of its first subpath the blend starts from; an open path's last anchor runs it the other way |
steps | integer | no |
Call through vector_run
text
vector_run {
"path": "<file>.kvector",
"steps": [{ "command": "object.blend.make" }]
}The required parameters, with placeholders for their types: not a tested example. Optional: distance, ids, orientation, smooth, spacing, starts, steps. 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": {
"distance": {
"description": "points; one of several alternative parameters",
"type": "number"
},
"ids": {
"description": "object IDs",
"items": {
"type": "integer"
},
"type": "array",
"x-khp-types": [
"Node"
]
},
"orientation": {
"enum": [
"page",
"path"
],
"type": "string"
},
"smooth": {
"description": "one of several alternative parameters",
"type": "boolean"
},
"spacing": {
"description": "read by the command beside its listed parameters",
"type": "number"
},
"starts": {
"description": "[anchor index | null, …] (per object of `ids`, else of the selection in paint order: the anchor of its first subpath the blend starts from; an open path's last anchor runs it the other way); per object of `ids`, else of the selection in paint order: the anchor of its first subpath the blend starts from; an open path's last anchor runs it the other way",
"type": "array"
},
"steps": {
"type": "integer"
}
},
"returns": "{id}",
"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.