Design kit command
vector.edit.select
Select points
Selects points, segments, handles or regions in vector edit mode.
- Kit
- Design 0.1.0 (.kdesign)
- Changes the document
- no
- Acts on
id(one id), which a run step’sonfills
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
add | boolean | no | |
handles | number[][] | no | |
id | integer | string | no | an id; an edited layer, made active |
regions | number[] | no | [i]; filled regions, with their points |
segments | number[] | no | [i] |
vertices | number[] | no | [i] |
Call through design_run
text
design_run {
"path": "<file>.kdesign",
"steps": [{ "command": "vector.edit.select" }]
}The required parameters, with placeholders for their types: not a tested example. Optional: add, handles, id, regions, segments, vertices. design_run answers the step’s result in completed[i].result.
Result
Result JSON Schema
json
{}Parameter schema
json
{
"additionalProperties": false,
"properties": {
"add": {
"type": "boolean"
},
"handles": {
"items": {
"description": "[segment, start]",
"items": {
"type": "number"
},
"type": "array"
},
"type": "array"
},
"id": {
"description": "an id; an edited layer, made active",
"oneOf": [
{
"type": "integer"
},
{
"type": "string"
}
],
"x-khp-types": [
"Node"
]
},
"regions": {
"description": "[i]; filled regions, with their points",
"items": {
"type": "number"
},
"type": "array"
},
"segments": {
"description": "[i]",
"items": {
"type": "number"
},
"type": "array"
},
"vertices": {
"description": "[i]",
"items": {
"type": "number"
},
"type": "array"
}
},
"type": "object"
}Generated from the command list of @kition/[email protected] and the kit itself (design_commands through @kition/[email protected], built from KitionAI/kition-design@abc7e16). As data: commands.jsonl.