geom_measure
Measure volume, area, length, and bounding box of selected finalized-geometry entities by dimension, returning metrics, coordinates, and entity lists for COMSOL model evaluation.
Instructions
Measure volume/area/length/bbox of selected entities on the finalized geometry.
Args: entity_dim: 3 = domains (volume), 2 = boundaries/faces (area), 1 = edges (length), 0 = points (coordinates). In 2D: 2 = domains (area), 1 = boundaries (length), 0 = points. entities: 1-based global entity numbers (None = all entities of that dimension). geometry: geometry sequence tag (default "geom1"). model: model name/tag (None = current model). Returns the primary metric (volume/area/length), bbox, vertex coords and the selected entity list.
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": "geom_measure"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | ||
| entities | No | ||
| geometry | No | geom1 | |
| entity_dim | No |