Vector kit command
symbol.spray
Symbol Sprayer
Sprays symbol instances along points into a symbol set (or removes them with alt), as the Symbol Sprayer does.
- Kit
- Vector 0.1.0 (.kvector)
- Changes the document
- yes
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
alt | boolean | no | remove instances |
density | integer | no | 1 to 10; 5 |
name | string | no | |
points | any[] | no | |
radius | integer | no | |
scale | integer | no |
Call through vector_run
text
vector_run {
"path": "<file>.kvector",
"steps": [{ "command": "symbol.spray" }]
}The required parameters, with placeholders for their types: not a tested example. Optional: alt, density, name, points, radius, scale. 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": {
"alt": {
"description": "remove instances",
"type": "boolean"
},
"density": {
"description": "1 to 10; 5",
"type": "integer"
},
"name": {
"type": "string",
"x-khp-name": "name",
"x-khp-types": [
"Symbol"
]
},
"points": {
"type": "array"
},
"radius": {
"default": 40,
"type": "integer"
},
"scale": {
"default": 1,
"type": "integer"
}
},
"returns": "{id, count}",
"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.