unwrap
Generates UV maps for meshes using projection methods, packs islands within the 0..1 square, and returns metrics such as island count, used area, and texel density spread.
Instructions
Make a UV map. Method smart is Smart UV Project (a larger angle gives fewer, larger islands); angle is
angle-based unwrap; cube, cylinder and sphere are projections. margin is the gap between islands (0..1); pack
arranges the islands in the 0..1 square. Returns the UV numbers of each mesh: islands, used area, faces outside
0..1, degenerate faces and texel_density_spread (1 is even, above 4 is stretched). check_mesh gives the same
numbers for an existing UV map.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"names": "<names>"
},
"name": "unwrap"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pack | No | ||
| angle | No | ||
| names | Yes | ||
| margin | No | ||
| method | No | smart |