findSimilarParts
Find the part revisions most similar in shape to a given one. Similarity is a geometric shape-descriptor distance: 0 = identical shape, up to ~1.414 = unrelated (cosine ~= 1 - d^2/2). It is rotation- and scale-invariant, so it matches shape/proportion and ignores absolute size and orientation — two parts of the same shape at different sizes score as very similar; use inspectPartRevision for real dimensions. As a rule of thumb distance < 0.05 is a near-duplicate. Requires the part revision's UUID (find one via query(entity="partRevision")).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max neighbours to return (1-20, default 5). | |
| maxDistance | No | Optional distance cut-off. Omit for the nearest N regardless of distance; pass ~0.05 to restrict to near-duplicates only. | |
| partRevisionId | Yes | UUID of the part revision to find neighbours for. |