trace_outline
Extract a closed polygon from a reference silhouette's outer outline in metres, optionally with 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).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| holes | No | ||
| height_m | Yes | ||
| min_hole | No | ||
| simplify | No | ||
| reference | Yes | ||
| threshold | No |