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

Parameters of particleEdit.brush
NameTypeRequiredDescription
kind"comb" | "cut" | "length" | "puff" | "smooth"noThe grooming brush
radiusnumbernoRadius in viewport pixels (50)
strengthnumbernoStrength, 0 to 1 (0.5)
subtractbooleannoLength 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

Result of particleEdit.brush
NameTypeRequiredDescription
brushanyno
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.