Check what is enclosed
check_enclosedWhether bodies lie wholly inside the room other bodies close round them - a battery with its plugs and leads in a case and its lid - where the design stands. For each body: enclosed or not; the part of it that shows, seen from outside past the enclosure in more than a quarter of the directions round it (its box, how far out it reaches); the enclosure bodies it is into (an overlap, which check_interference measures); its clearance, the least gap to the enclosure. A slot, a vent or the gap round a lid lets out only what lines up with it, so what is well inside stays inside and what comes up to an opening shows. Parts that move against the enclosure: check at each pose that matters (set_joints).
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": {
"bodies": "<bodies>",
"enclosure": "<enclosure>"
},
"name": "check_enclosed"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bodies | Yes | The bodies to check, by name or "feature:k" key; a part stands for all its bodies. | |
| enclosure | Yes | The bodies or parts that close round them: a case and its lid. |