cad_check_fit
Checks fit between two watertight STL meshes in mm by applying explicit rotation and translation to the reference, then reports interference volume, minimum gap, and clearance result without scaling.
Instructions
Check two allowed watertight manifold STL meshes in millimetres. Applies only the explicit rigid transform to reference: XYZ rotation in degrees about the origin, then translation. Never silently scales a scan. Reports Boolean interference volume and minimum surface gap (zero on contact/intersection), plus a clearance verdict; intentional support contact also has zero gap. Like cad_run, a call waits for the environment's exclusive execution slot up to its timeout_ms and reports queue_wait_ms, so several checks may be sent at once. Fails rather than guessing for open meshes or excessive triangle workload.
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": {
"model": "<model>",
"reference": "<reference>"
},
"name": "cad_check_fit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes | Allowed watertight manifold model STL in millimetres. | |
| reference | Yes | Allowed reference/scan STL in millimetres; never rescaled implicitly. | |
| transform | No | Rigid transform applied only to reference: XYZ rotation about origin, then translation. | |
| timeout_ms | No | Total queue wait, preparation, execution and inspection deadline. Default 120000 ms; cancellation kills the dispatched process group. | |
| clearance_mm | No | Required global minimum surface gap; intentional support contact has zero gap. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||