fit
Auto-fit a 3D model to reference silhouettes by adjusting joints, radii, and blob parameters, saving the result as a new version. Fix shape mismatches while keeping locked parts unchanged.
Instructions
Auto-fit the model to its reference silhouettes and save the result as a new version.
Moves joints, joint/bone radii, blob offsets and blob sizes (params: any of "pos", "r", "offset",
"size") to minimise the distance between model and reference outlines. Only what the given views can
see changes: a side-only fit leaves X alone. Details (subtract ops, layer>=1 blobs) stay fixed unless
named in only; only/lock take joint, bone and blob names. max_step caps any move per iteration (m);
stiffness is a spring toward the starting values (higher = more conservative).
Block out the body plan by hand first: fitting is local and can't fix a missing or misplaced limb.
against: "refs", "plan" (fit the blockout onto the plan's outlines, placed exactly; joints tied to plan
landmarks keep their planned height) or "auto" (the plan if there is one). Returns the diff images, IoU before/after and every change; revert undoes it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lock | No | ||
| name | Yes | ||
| only | No | ||
| align | No | auto | |
| views | No | ||
| params | No | ||
| against | No | auto | |
| max_step | No | ||
| stiffness | No | ||
| iterations | No | ||
| resolution | No |