get_positioning_info
Retrieve precise global coordinates for a face, edge, or vertex in FreeCAD, including center, normal, axis, radius, and endpoints, to support alignment or assembly.
Instructions
One face, edge or vertex in global coordinates: center, normal, axis, radius, endpoints; the Placement is already applied. Prefer it over get_topology for precise positioning before alignment or assembly.
Args:
element: Which kind: face, edge or vertex.
element_index: 0-based index; call get_topology to find the indices.
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>",
"element": "<element>",
"element_index": "<element_index>"
},
"name": "get_positioning_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| element | Yes | ||
| doc_name | Yes | ||
| obj_name | Yes | ||
| element_index | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |