measure
Get an object's real geometry: volume, area, bounding box, validity, and face/edge/vertex counts, including cylindrical/planar face totals for hole checks. Verify your work instead of assuming a mutation succeeded.
Instructions
Measure an object's real geometry: volume, area, bounding box, isValid, and face/edge/vertex counts (including a rough cylindrical-vs-planar face count, useful for "does this have N holes" sanity checks).
Use this to check your own work instead of assuming a mutating tool did
what you intended — FreeCAD's kernel tolerates degenerate input, so "the
call didn't raise" is not evidence that anything useful happened.
Args:
doc_name: The name of the document containing the object.
obj_name: The name of the object to measure.
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_name": "<doc_name>",
"obj_name": "<obj_name>"
},
"name": "measure"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc_name | Yes | ||
| obj_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |