Design kit command
vector.edit.erase
Erase
Erases the parts of paths a brush of radius passes over along page points.
- Kit
- Design 0.1.0 (.kdesign)
- Changes the document
- yes
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
points | number[][] | no | page |
radius | number | no | page units, default 8 |
Call through design_run
text
design_run {
"path": "<file>.kdesign",
"steps": [{ "command": "vector.edit.erase" }]
}The required parameters, with placeholders for their types: not a tested example. Optional: points, radius. 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": {
"points": {
"description": "page",
"items": {
"items": {
"type": "number"
},
"type": "array"
},
"type": "array"
},
"radius": {
"description": "page units, default 8",
"type": "number"
}
},
"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.