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’sonfills
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
affectAnchors | boolean | no | |
affectIn | boolean | no | |
affectOut | boolean | no | |
angle | number | no | |
bend | number | no | read by the command beside its listed parameters |
complexity | integer | no | |
detail | integer | no | |
diameter | any | no | one of several alternative parameters |
height | number | no | pt, default 100 |
horizontal | number | no | |
id | integer | no | object ID |
ids | integer[] | no | object IDs |
intensity | number | no | |
orientation | string | no | read by the command beside its listed parameters |
points | any[] | no | the brush stroke; pen pressure 0..1, default 1 |
rate | number | no | |
simplify | number | no | |
tool | "warp" | "twirl" | "pucker" | "bloat" | "scallop" | "crystallize" | "wrinkle" | no | |
usePressure | boolean | no | each point's pressure is the intensity there |
vertical | number | no | |
width | number | no | one of several alternative parameters |
Call through vector_run
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
{
"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.