Vector kit command

object.liquify

Liquify

Applies a Liquify tool (warp, twirl, pucker, bloat, scallop, crystallize, wrinkle) along a brush stroke of points to the selected art.

Kit
Vector 0.1.0 (.kvector)
Changes the document
yes
Acts on
ids (a list of ids), which a run step’s on fills

Parameters

Parameters of object.liquify
NameTypeRequiredDescription
affectAnchorsbooleanno
affectInbooleanno
affectOutbooleanno
anglenumberno
bendnumbernoread by the command beside its listed parameters
complexityintegerno
detailintegerno
diameteranynoone of several alternative parameters
heightnumbernopt, default 100
horizontalnumberno
idintegernoobject ID
idsinteger[]noobject IDs
intensitynumberno
orientationstringnoread by the command beside its listed parameters
pointsany[]nothe brush stroke; pen pressure 0..1, default 1
ratenumberno
simplifynumberno
tool"warp" | "twirl" | "pucker" | "bloat" | "scallop" | "crystallize" | "wrinkle"no
usePressurebooleannoeach point's pressure is the intensity there
verticalnumberno
widthnumbernoone of several alternative parameters

Call through vector_run

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

The required parameters, with placeholders for their types: not a tested example. Optional: affectAnchors, affectIn, affectOut, angle, bend, complexity, detail, diameter, height, horizontal, id, ids, intensity, orientation, points, rate, simplify, tool, usePressure, vertical, width. 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": {
    "affectAnchors": {
      "type": "boolean"
    },
    "affectIn": {
      "type": "boolean"
    },
    "affectOut": {
      "type": "boolean"
    },
    "angle": {
      "type": "number"
    },
    "bend": {
      "description": "read by the command beside its listed parameters",
      "type": "number"
    },
    "complexity": {
      "type": "integer"
    },
    "detail": {
      "type": "integer"
    },
    "diameter": {
      "description": "one of several alternative parameters"
    },
    "height": {
      "description": "pt, default 100",
      "type": "number"
    },
    "horizontal": {
      "type": "number"
    },
    "id": {
      "description": "object ID",
      "type": "integer",
      "x-khp-types": [
        "Node"
      ]
    },
    "ids": {
      "description": "object IDs",
      "items": {
        "type": "integer"
      },
      "type": "array",
      "x-khp-types": [
        "Node"
      ]
    },
    "intensity": {
      "type": "number"
    },
    "orientation": {
      "description": "read by the command beside its listed parameters",
      "type": "string"
    },
    "points": {
      "description": "the brush stroke; pen pressure 0..1, default 1",
      "type": "array"
    },
    "rate": {
      "type": "number"
    },
    "simplify": {
      "type": "number"
    },
    "tool": {
      "enum": [
        "warp",
        "twirl",
        "pucker",
        "bloat",
        "scallop",
        "crystallize",
        "wrinkle"
      ],
      "type": "string"
    },
    "usePressure": {
      "description": "each point's pressure is the intensity there",
      "type": "boolean"
    },
    "vertical": {
      "type": "number"
    },
    "width": {
      "description": "one of several alternative parameters",
      "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.