Scene kit command

view.grid

Grid Floor

Shows or hides the grid floor in the viewport.

Kit
Scene 0.1.0 (.kscene)
Changes the document
no

Parameters

Parameters of view.grid
NameTypeRequiredDescription
onbooleannoShow the grid; toggles when left out

Call through scene_run

text
scene_run {
  "path": "<file>.kscene",
  "steps": [{ "command": "view.grid" }]
}

The required parameters, with placeholders for their types: not a tested example. Optional: on. scene_run answers the step’s result in completed[i].result.

Result

Result of view.grid
NameTypeRequiredDescription
changedbooleanno
Result JSON Schema
json
{
  "additionalProperties": true,
  "properties": {
    "changed": {
      "type": "boolean"
    }
  },
  "type": "object"
}

Parameter schema

json
{
  "additionalProperties": false,
  "properties": {
    "on": {
      "description": "Show the grid; toggles when left out",
      "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.