Vector kit command

view.separationsPreview

Separations Preview

Shows chosen ink plates in Separations Preview (one plate as greyscale coverage); answers the plates.

Kit
Vector 0.1.0 (.kvector)
Changes the document
no

Parameters

Parameters of view.separationsPreview
NameTypeRequiredDescription
onbooleanno
onlystringno
platesany[]no[names]
togglestringno

Call through vector_run

text
vector_run {
  "path": "<file>.kvector",
  "steps": [{ "command": "view.separationsPreview" }]
}

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

Result

Result of view.separationsPreview
NameTypeRequiredDescription
onbooleanno
platesobject[]no
Result JSON Schema
json
{
  "additionalProperties": true,
  "properties": {
    "on": {
      "type": "boolean"
    },
    "plates": {
      "items": {
        "additionalProperties": true,
        "properties": {
          "name": {
            "type": "string"
          },
          "rgb": {
            "type": "array"
          },
          "spot": {
            "type": "boolean"
          },
          "visible": {
            "type": "boolean"
          }
        },
        "type": "object"
      },
      "type": "array"
    }
  },
  "type": "object"
}

Parameter schema

json
{
  "additionalProperties": false,
  "properties": {
    "on": {
      "type": "boolean"
    },
    "only": {
      "type": "string"
    },
    "plates": {
      "description": "[names]",
      "items": {},
      "type": "array"
    },
    "toggle": {
      "type": "string"
    }
  },
  "returns": "{on, plates: [{name, spot, visible, rgb}]}",
  "type": "object"
}

Generated from the command list of @kition/[email protected] and the kit itself (vector_commands through @kition/[email protected], built from KitionAI/kition-vector@7cf908f). As data: commands.jsonl.