Vector kit command
path.setHandle
Move Direction Handle
Moves the in or out direction handle of one anchor of path id to x, y, optionally breaking the handles' symmetry.
- Kit
- Vector 0.1.0 (.kvector)
- Changes the document
- yes
- Acts on
id(one id), which a run step’sonfills
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
anchor | integer | no | |
id | integer | no | object ID |
independent | boolean | no | |
subpath | integer | no | |
which | "in" | "out" | no | |
x | number | no | |
y | number | no |
Call through vector_run
text
vector_run {
"path": "<file>.kvector",
"steps": [{ "command": "path.setHandle" }]
}The required parameters, with placeholders for their types: not a tested example. Optional: anchor, id, independent, subpath, which, x, y. 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": {
"anchor": {
"type": "integer"
},
"id": {
"description": "object ID",
"type": "integer",
"x-khp-types": [
"Node"
]
},
"independent": {
"type": "boolean"
},
"subpath": {
"type": "integer"
},
"which": {
"enum": [
"in",
"out"
],
"type": "string"
},
"x": {
"type": "number"
},
"y": {
"type": "number"
}
},
"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.