detect_contacts
Find facing faces on separately modeled assembly parts within a search gap, then optionally add bonded contact pairs for static analysis; adjust pair types with update_case.
Instructions
Find faces of different parts that face each other within search_mm (separately modelled parts of an assembly, a gap that may close). apply=true adds them as contact_pairs of type bonded; change a pair with update_case(changes={"contact_pairs..type": "frictionless" | "frictional" | "no-separation", "...mu": 0.2}). Static analysis only (small sliding).
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": {
"case_id": "<case_id>"
},
"name": "detect_contacts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| apply | No | ||
| case_id | Yes | ||
| language | No | ja | |
| search_mm | No |