Scene kit command

uv.liveUnwrap

Live Unwrap

Sets local UV live unwrap preferences (`on`, `method`, `iterations`) without changing the scene. Pinned UV transforms relax their islands in one undo step.

Kit
Scene 0.1.0 (.kscene)
Changes the document
no

Parameters

Parameters of uv.liveUnwrap
NameTypeRequiredDescription
iterationsintegernoMinimum stretch iterations, 1 to 100 (30)
method"angleBased" | "conformal" | "minimumStretch"noLive relaxation method
onbooleannoEnable live relaxation while pinned UVs move

Call through scene_run

text
scene_run {
  "path": "<file>.kscene",
  "steps": [{ "command": "uv.liveUnwrap" }]
}

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

Result

Result of uv.liveUnwrap
NameTypeRequiredDescription
iterationsintegerno
methodstringno
onbooleanno
Result JSON Schema
json
{
  "additionalProperties": false,
  "properties": {
    "iterations": {
      "type": "integer"
    },
    "method": {
      "type": "string"
    },
    "on": {
      "type": "boolean"
    }
  },
  "type": "object"
}

Parameter schema

json
{
  "additionalProperties": false,
  "properties": {
    "iterations": {
      "description": "Minimum stretch iterations, 1 to 100 (30)",
      "type": "integer"
    },
    "method": {
      "description": "Live relaxation method",
      "enum": [
        "angleBased",
        "conformal",
        "minimumStretch"
      ],
      "type": "string"
    },
    "on": {
      "description": "Enable live relaxation while pinned UVs move",
      "type": "boolean"
    }
  },
  "type": "object"
}

Generated from the command list of @kition/[email protected] and the kit itself (scene_commands through @kition/[email protected], built from KitionAI/kition-scene@4d06faf). As data: commands.jsonl.