Scene kit command

object.addBackdrop

Backdrop

Adds a backdrop (a cyclorama): a floor curving up into a wall, smooth, so renders show no horizon. `width`, `depth` (floor in front of the curve, centred on the origin), `height`, and `radius` in metres, `segments` round the curve.

Kit
Scene 0.1.0 (.kscene)
Changes the document
yes

Parameters

Parameters of object.addBackdrop
NameTypeRequiredDescription
depthnumbernoDepth of the floor in front of the curve in metres, centred on the origin (10)
heightnumbernoHeight of the wall in metres (8)
locationnumber[]noWhere to put it, in metres (the origin when left out) [x, y, z]
namestringnoThe object's name
radiusnumbernoRadius of the curve from floor to wall in metres (3)
rotationnumber[]noRotation in degrees, XYZ Euler [x, y, z]
scalenumber[]noScale [x, y, z]
segmentsintegernoFaces round the curve, 1 to 256 (16)
widthnumbernoWidth across X in metres (20)

Call through scene_run

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

The required parameters, with placeholders for their types: not a tested example. Optional: depth, height, location, name, radius, rotation, scale, segments, width. 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": {
    "depth": {
      "description": "Depth of the floor in front of the curve in metres, centred on the origin (10)",
      "type": "number"
    },
    "height": {
      "description": "Height of the wall in metres (8)",
      "type": "number"
    },
    "location": {
      "description": "Where to put it, in metres (the origin when left out) [x, y, z]",
      "items": {
        "type": "number"
      },
      "type": "array"
    },
    "name": {
      "description": "The object's name",
      "type": "string"
    },
    "radius": {
      "description": "Radius of the curve from floor to wall in metres (3)",
      "type": "number"
    },
    "rotation": {
      "description": "Rotation in degrees, XYZ Euler [x, y, z]",
      "items": {
        "type": "number"
      },
      "type": "array"
    },
    "scale": {
      "description": "Scale [x, y, z]",
      "items": {
        "type": "number"
      },
      "type": "array"
    },
    "segments": {
      "description": "Faces round the curve, 1 to 256 (16)",
      "type": "integer"
    },
    "width": {
      "description": "Width across X in metres (20)",
      "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.