e3d_primitive_csg_mesh
Computes a bounded CSG mesh from a positive primitive and its supported flat negative children, returning world-millimetre geometry while preserving inward cavity shells.
Instructions
Read a positive BOX/CYLI/CONE and its 1 to 32 flat leaf NCYL/NBOX/NCON children, then compute their owner-member parameter difference with manifold3d Mesh64 in a bounded 30-second worker. The current native bridge rejects DISH with child members. Output is WORLD millimetres, at most 10,000 vertices/20,000 triangles. Preserves inward cavity shells; fully removed material is successful and empty. Requires the optional geometry dependencies. This is parameter CSG, not native tessellation; native negative-application scope remains unverified. Two matching complete native parameter reads and session/project/MDB boundary observations are required, without an atomic database snapshot. Optional native volume comparison preserves representation-dependent discrepancies and does not verify shape or cut scope. 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": {
"refno": "<refno>"
},
"name": "e3d_primitive_csg_mesh"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| refno | Yes | Explicit positive primitive /NAME or =database/element reference with supported negative children. | |
| mesh_detail | No | full includes indexed geometry; summary retains topology, hash, volume and source evidence without geometry arrays. | full |
| radial_segments | No | Radial facet count for curved parent and cutter operands. | |
| 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. | |
| include_native_volume | No | Read native GVOL/NVOL ONLY between the two parameter reads; requested unavailable volume fails the operation. Native volume does not prove the parameter Boolean matches native shape. |