e3d_compare_element_meshes
Compares parameter-derived meshes of two referenced E3D elements, reporting surface-area deltas and, when valid, volume or vertex displacement in WORLD or local coordinates.
Instructions
Read two explicitly referenced elements once each and compare their parameter-derived meshes. WORLD (default) allows spatial bounds and matching-index vertex displacement comparisons; local mode compares per-element local coordinates and does not claim a common position frame. Reports measured surface-area deltas; volume is included only when each mesh validates as one outward closed component. Indexed vertex displacement is reported only for WORLD coordinates when vertex counts and triangle index lists match exactly. Meshes are approximations, not E3D tessellation or Boolean results. The two reads are separate observations without a database lock or common snapshot. Failed, incomplete or identity-mismatched reads produce per-target errors and no comparison conclusion. Read-only: no model, current element, Drawlist, camera or view changes.
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": {
"first_refno": "<first_refno>",
"first_expected_type": "<first_expected_type>",
"second_refno": "<second_refno>",
"second_expected_type": "<second_expected_type>"
},
"name": "e3d_compare_element_meshes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| first_refno | Yes | Explicit /NAME or =database/element reference for the first element. | |
| second_refno | Yes | Explicit /NAME or =database/element reference for the second element. | |
| radial_segments | No | Curve resolution for CYLI, CONE or DISH targets; ignored for PANE and BOX. | |
| coordinate_space | No | WORLD provides a common spatial frame in millimetres; local compares each element about its own origin and axes. | WORLD |
| first_expected_type | Yes | Required SDK base type for the first element. | |
| second_expected_type | Yes | Required SDK base type for the second element. |