blueprint_trace
Trace a weapon figure outline by silhouette, seeded region, snapped rough outline, or halftone patch, saving the named trace for the plan.
Instructions
An outline from a figure, kept for the plan: the whole silhouette, a closed area round a seed, a rough outline snapped onto the ink, or a patch in a halftone. Look at the picture it writes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| box | No | blob: [x0, y0, x1, y1] px round the patch (with seed inside) | |
| gun | Yes | ||
| seed | No | region: a px point inside the area | |
| light | No | ||
| rough | No | snap: a rough outline in px | |
| eps_px | No | ||
| gap_px | No | ||
| method | Yes | silhouette, region, snap or blob | |
| region | No | silhouette: [x0, y0, x1, y1] px to look in | |
| keep_as | Yes | the name the trace is kept under, for the plan | |
| close_px | No | ||
| figure_id | Yes | ||
| radius_px | No | ||
| smooth_px | No | take out edge noise (a halftone's dots): average runs between corners over this many px (0: off) | |
| corner_deg | No | with smooth_px: turns this sharp or sharper stay corners |