Scene kit command

cursor.moveToSelected

Cursor to Selected

Puts the 3D cursor at the middle of the selection (the selected objects' origins, or the selected vertices).

Kit
Scene 0.1.0 (.kscene)
Changes the document
no

Parameters

None.

Call through scene_run

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

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

Result

Result of cursor.moveToSelected
NameTypeRequiredDescription
cursornumber[]nothe cursor's place, metres
Result JSON Schema
json
{
  "additionalProperties": true,
  "properties": {
    "cursor": {
      "description": "the cursor's place, metres",
      "items": {
        "type": "number"
      },
      "type": "array"
    }
  },
  "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.