Inspect Geometry
inspect_geometryReports the selection names a geometry file will produce for BCDEFINITION/LOCALREFINEMENTDEFINITION batch conf, reading STL solid names and flagging binary STLs with empty names.
Instructions
Report the selection names a geometry file will produce for BCDEFINITION / LOCALREFINEMENTDEFINITION in a batch conf.
For .stl: reads the solid names directly (hexpresshybridx86_64 groups triangles by STL solid name — import_mode 2, the default). Empty-string names mean a binary STL (no names stored) — use feature grouping (import_mode 1) there and discover TMP-style names from the mesh log. For .spb/.igg project files the names live inside the project; open it in the GUI once or query via run_script. Non-STL inputs raise an error.
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": {
"input_file": "<input_file>"
},
"name": "inspect_geometry"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timeout | No | ||
| input_file | Yes | ||
| import_mode | No | ||
| install_dir | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |