section_box_clear

Removes the section box; nothing is cut.

Command

Usage

TypeScript
surface.execute('section_box_clear')

Returns

object with box, in the ok: true envelope.

JSON
{
  "type": "object",
  "properties": {
    "box": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "min": {
          "type": "object",
          "description": "f64 world-space point",
          "properties": {
            "x": {
              "type": "number"
            },
            "y": {
              "type": "number"
            },
            "z": {
              "type": "number"
            }
          },
          "required": [
            "x",
            "y",
            "z"
          ]
        },
        "max": {
          "type": "object",
          "description": "f64 world-space point",
          "properties": {
            "x": {
              "type": "number"
            },
            "y": {
              "type": "number"
            },
            "z": {
              "type": "number"
            }
          },
          "required": [
            "x",
            "y",
            "z"
          ]
        }
      },
      "required": [
        "min",
        "max"
      ]
    }
  },
  "required": [
    "box"
  ]
}

See also