Vector kit command

object.repeat.options

Options…

Sets the options of the selected repeats (radial instances and angles, grid spacing and flips, mirror angle).

Kit
Vector 0.1.0 (.kvector)
Changes the document
yes

Parameters

Parameters of object.repeat.options
NameTypeRequiredDescription
anglenumbernoone of several alternative parameters
centernumber[]no
colsintegerno
endAnglenumberno
flipColsanynoone of several alternative parameters
flipRowsbooleanno
gridTypestringno
hSpacinganynoone of several alternative parameters
instancesintegerno
radiusnumberno
reverseOverlapbooleanno
rowsintegerno
startAnglenumberno
vSpacingnumberno

Call through vector_run

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

The required parameters, with placeholders for their types: not a tested example. Optional: angle, center, cols, endAngle, flipCols, flipRows, gridType, hSpacing, instances, radius, reverseOverlap, rows, startAngle, vSpacing. vector_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": {
    "angle": {
      "description": "one of several alternative parameters",
      "type": "number"
    },
    "center": {
      "items": {
        "type": "number"
      },
      "type": "array"
    },
    "cols": {
      "type": "integer"
    },
    "endAngle": {
      "type": "number"
    },
    "flipCols": {
      "description": "one of several alternative parameters"
    },
    "flipRows": {
      "type": "boolean"
    },
    "gridType": {
      "type": "string"
    },
    "hSpacing": {
      "description": "one of several alternative parameters"
    },
    "instances": {
      "type": "integer"
    },
    "radius": {
      "type": "number"
    },
    "reverseOverlap": {
      "type": "boolean"
    },
    "rows": {
      "type": "integer"
    },
    "startAngle": {
      "type": "number"
    },
    "vSpacing": {
      "type": "number"
    }
  },
  "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.