trace_outline
Extract the outer outline of a reference silhouette as a closed polygon in metres, optionally returning interior holes for extrusion or hull building.
Instructions
Trace the outer outline of a reference silhouette as a closed polygon of [x, z] points in metres (x from the
centre of the silhouette box, z from its bottom). simplify is the largest allowed deviation in metres. Feed
the points to extrude_profile, or build a hull with visual_hull. holes=true also returns holes: the openings
inside the outline (a trigger guard, a handle) as polygons, largest first, each at least min_hole of the outline
area; give them to extrude_profile as holes. The reference must keep its openings (prepare_reference fill_holes).
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": {
"reference": "<reference>",
"height_m": "<height_m>"
},
"name": "trace_outline"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| holes | No | ||
| height_m | Yes | ||
| min_hole | No | ||
| simplify | No | ||
| reference | Yes | ||
| threshold | No |