Select geometry / reference data
selectFind faces, edges, materials, threads, or fits by geometric properties or KOMPAS reference queries; validate expected counts to catch mismatched candidates.
Instructions
Find faces/edges by geometric properties (never by index), materials already taken from KOMPAS's handbook, or REFERENCE DATA with its source (thread, fit) — quote such values from here, never from memory. Face/edge results are 'topo:' handles valid only for the returned model revision. With expect_count, a mismatch returns SELECTION_MISMATCH listing all candidates with their attributes.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "select"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc | No | Document handle (only for face/edge) | |
| kind | No | face/edge: geometry; material: materials taken from KOMPAS's handbook; thread: a thread from KOMPAS's thread table (query 'M20x1.5'); fit: limit deviations of a size from KOMPAS's tolerance table (query '50H7', '30h6') | face |
| query | No | material search text / thread / size+field | |
| normal | No | Unit outward normal, e.g. [0,0,1] | |
| extreme | No | ||
| radius_mm | No | ||
| created_by | No | obj handle of the feature that made it | |
| curve_type | No | ||
| expect_count | No | Fail with candidates if the match count differs (strongly recommended) | |
| surface_type | No |