e3d_primitive_mesh
Derive a bounded triangle mesh from a referenced positive BOX, CYLI, CONE, or DISH RADI=0 primitive using native parameters in local or WORLD coordinates; unsupported or invalid geometry is rejected.
Instructions
Read one explicitly referenced primitive and derive a bounded triangle mesh from its native parameters for positive BOX, CYLI, CONE, or a positive DISH with RADI=0. DISH RADI=0 uses a mathematical spherical-cap approximation with its base at local z=0; nonzero RADI is rejected because its native curved surface is not parameterized by the stored value. coordinate_space defaults to primitive_local; WORLD applies the validated native WORLD pose to vertices and normals. This is parameter-derived geometry, not E3D tessellation or rendered/Boolean geometry. Negative primitives, any child geometry, incomplete reads, unsupported shapes, or invalid WORLD frames are rejected. No model, current element, Drawlist or camera changes are made.
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": {
"refno": "<refno>"
},
"name": "e3d_primitive_mesh"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| refno | Yes | Explicit positive BOX, CYLI, CONE, or standalone DISH reference. | |
| radial_segments | No | Circumferential segments for CYLI/CONE and both circumferential/latitude segments for DISH. BOX ignores this value. | |
| coordinate_space | No | Output coordinates; WORLD uses the primitive's validated WORLD pose. | primitive_local |
| chord_tolerance_mm | No | Optional maximum analytic operand surface deviation in model millimetres. Refines each curved parent and cutter separately, using radial_segments as a minimum. Impossible tolerance or geometry budget fails without partial geometry. Does not certify native tessellation or Boolean intersection accuracy. |