Scene kit command
particleEdit.brush
Grooming Brush
Sets the grooming brush (comb, cut, length, puff, smooth, …) and answers it.
- Kit
- Scene 0.1.0 (.kscene)
- Changes the document
- no
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
kind | "comb" | "cut" | "length" | "puff" | "smooth" | no | The grooming brush |
radius | number | no | Radius in viewport pixels (50) |
strength | number | no | Strength, 0 to 1 (0.5) |
subtract | boolean | no | Length and puff the other way: shorten, flatten |
Call through scene_run
text
scene_run {
"path": "<file>.kscene",
"steps": [{ "command": "particleEdit.brush" }]
}The required parameters, with placeholders for their types: not a tested example. Optional: kind, radius, strength, subtract. scene_run answers the step’s result in completed[i].result.
Result
| Name | Type | Required | Description |
|---|---|---|---|
brush | any | no |
Result JSON Schema
json
{
"additionalProperties": true,
"properties": {
"brush": {}
},
"type": "object"
}Parameter schema
json
{
"additionalProperties": false,
"properties": {
"kind": {
"description": "The grooming brush",
"enum": [
"comb",
"cut",
"length",
"puff",
"smooth"
],
"type": "string"
},
"radius": {
"description": "Radius in viewport pixels (50)",
"type": "number"
},
"strength": {
"description": "Strength, 0 to 1 (0.5)",
"type": "number"
},
"subtract": {
"description": "Length and puff the other way: shorten, flatten",
"type": "boolean"
}
},
"type": "object"
}Generated from the command list of @kition/[email protected] and the kit itself (scene_commands through @kition/[email protected], built from KitionAI/kition-scene@4d06faf). As data: commands.jsonl.