Vector kit command
object.pinWarp.pins
Warp Pins
Answers (and sets up) the warp pins on the selected art: where each started, where it is now and the turn it holds.
- 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 |
|---|---|---|---|
expand | number | no | points |
id | integer | no | object ID |
ids | integer[] | no | object IDs |
Call through vector_run
text
vector_run {
"path": "<file>.kvector",
"steps": [{ "command": "object.pinWarp.pins" }]
}The required parameters, with placeholders for their types: not a tested example. Optional: expand, id, ids. 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": {
"expand": {
"description": "points",
"type": "number"
},
"id": {
"description": "object ID",
"type": "integer",
"x-khp-types": [
"Node"
]
},
"ids": {
"description": "object IDs",
"items": {
"type": "integer"
},
"type": "array",
"x-khp-types": [
"Node"
]
}
},
"returns": "{ids, pins, moved, angles, expand, rest: true, auto} the warp pins on the art: pins = where each sits on the shape they started from, moved = where it is now, angles = the turn it holds (deg, null = free); auto: none placed yet (the tool's automatic pins: the centre and the end of each limb). Change moved/angles (or add/remove pins) and pass it back to object.pinWarp",
"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.