Check geometry / measure
inspect_checkCheck KOMPAS part geometry for open edges, self-intersections, tiny objects or spikes, or measure min/max distance, closest points and angle between two objects.
Instructions
KOMPAS geometry check of a part (open edges, self-intersections, tiny objects, spikes...), or with
measure the distance between two objects: min/max distance (mm), the closest points, the angle and
their relation (surfaces_parallel, axes_coaxial, …; normal_distance_mm for parallel ones) — e.g. a wall
thickness, the gap between assembly components, whether a hole is coaxial. Temporary objects only: no
Undo entry, no tree change, the «changed» flag is kept. Collisions: asm_check_collisions.
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": {
"doc": "<doc>"
},
"name": "inspect_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc | Yes | Document handle from doc_list/doc_open, e.g. 'doc:12001:0a1b2c3d' | |
| checks | No | default: all | |
| measure | No | [obj1, obj2] — measure instead of checking: topo: faces/edges from select, obj: features, planes, axes or assembly components, XY|ZX|ZY | |
| linear_tolerance_mm | No |