Design kit command
vector.edit.cut
Cut path
Cuts paths at a segment point or vertex, or along a line between two page points.
- Kit
- Design 0.1.0 (.kdesign)
- Changes the document
- yes
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
from | number[] | no | in one of several forms of the parameters |
segment | integer | no | |
t | number | no | |
to | number[] | no | in one of several forms of the parameters |
vertex | any | no | in one of several forms of the parameters |
Call through design_run
text
design_run {
"path": "<file>.kdesign",
"steps": [{ "command": "vector.edit.cut" }]
}The required parameters, with placeholders for their types: not a tested example. Optional: from, segment, t, to, vertex. design_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": {
"from": {
"description": "in one of several forms of the parameters",
"items": {
"type": "number"
},
"type": "array"
},
"segment": {
"type": "integer"
},
"t": {
"type": "number"
},
"to": {
"description": "in one of several forms of the parameters",
"items": {
"type": "number"
},
"type": "array"
},
"vertex": {
"description": "in one of several forms of the parameters"
}
},
"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.