check_interference
Checks spatial relationship between two objects by measuring distance and common volume, enabling clearance verification and collision detection.
Instructions
Check the spatial relationship between two objects: distance and intersection (common volume). Use to verify clearance or detect collisions in multi-body configurations.
Args:
doc_name: Document name.
obj_a: First object name.
obj_b: Second object name.
Returns:
JSON with distance_mm, intersects, common_volume_mm3.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| obj_a | Yes | ||
| obj_b | Yes | ||
| doc_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |