Scene kit command
sculpt.faceSetVisibility
Face Set Visibility
Shows, hides or isolates face set `faceSet` (or the one under `x`, `y`).
- Kit
- Scene 0.1.0 (.kscene)
- Changes the document
- yes
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
action | "hide" | "isolate" | "showAll" | "toggle" | no | Hide the set, show only it, show every face, or toggle |
faceSet | integer | no | The face set's id (0 for faces in none) |
x | number | no | Or the face set under this viewport pixel: x (the pointer's when left out) |
y | number | no | and y |
Call through scene_run
text
scene_run {
"path": "<file>.kscene",
"steps": [{ "command": "sculpt.faceSetVisibility" }]
}The required parameters, with placeholders for their types: not a tested example. Optional: action, faceSet, x, y. scene_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": {
"action": {
"description": "Hide the set, show only it, show every face, or toggle",
"enum": [
"hide",
"isolate",
"showAll",
"toggle"
],
"type": "string"
},
"faceSet": {
"description": "The face set's id (0 for faces in none)",
"type": "integer"
},
"x": {
"description": "Or the face set under this viewport pixel: x (the pointer's when left out)",
"type": "number"
},
"y": {
"description": "and y",
"type": "number"
}
},
"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.