Vector kit command

object.blend.options

Blend Options…

Sets spacing (smooth, steps or distance) and orientation of the selected blends, or the defaults for new blends when none is selected.

Kit
Vector 0.1.0 (.kvector)
Changes the document
no

Parameters

Parameters of object.blend.options
NameTypeRequiredDescription
distancenumbernopoints
orientation"page" | "path"no
smoothbooleannoread by the command beside its listed parameters
spacing"smooth" | "steps" | "distance"no
stepsintegerno
valueintegerno

Call through vector_run

text
vector_run {
  "path": "<file>.kvector",
  "steps": [{ "command": "object.blend.options" }]
}

The required parameters, with placeholders for their types: not a tested example. Optional: distance, orientation, smooth, spacing, steps, value. vector_run answers the step’s result in completed[i].result.

Result

Result of object.blend.options
NameTypeRequiredDescription
defaultsbooleanno
Result JSON Schema
json
{
  "additionalProperties": true,
  "properties": {
    "defaults": {
      "type": "boolean"
    }
  },
  "type": "object"
}

Parameter schema

json
{
  "additionalProperties": false,
  "properties": {
    "distance": {
      "description": "points",
      "type": "number"
    },
    "orientation": {
      "enum": [
        "page",
        "path"
      ],
      "type": "string"
    },
    "smooth": {
      "description": "read by the command beside its listed parameters",
      "type": "boolean"
    },
    "spacing": {
      "enum": [
        "smooth",
        "steps",
        "distance"
      ],
      "type": "string"
    },
    "steps": {
      "type": "integer"
    },
    "value": {
      "type": "integer"
    }
  },
  "returns": "{defaults?: true}",
  "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.