e3d_section_element_drawing
Generates a section drawing by intersecting a referenced AVEVA E3D element with an arbitrary plane, returning closed contours, a PNG preview, and optional hatch, SVG, DXF, or printable sheet.
Instructions
Read one explicitly referenced PANE or supported positive BOX/CYLI/CONE/DISH once, and intersect its closed parameter-derived triangle mesh with an arbitrary plane. Returns indexed section vertices, source-triangle segments, closed contours, a SECTION PNG preview and optional SVG/DXF or printable sheet. Optional hatch generates bounded parallel linework using nonzero winding of verified simple non-touching section contours; spacing is in section model millimetres. Plane origin/normal/up use the selected local or WORLD frame; section coordinates are millimetres relative to that origin along the returned orthonormal right/up axes. A miss returns a successful empty section without an image. Coplanar patches, tangency/topology ambiguity, incomplete geometry or requested hatch failure produce no partial drawing. Contour fill does not establish native hole roles or E3D Boolean material; no clipping of the retained solid, native tessellation, CSG cuts, or manufacturing certification. Does not modify the model, current element, Drawlist, camera or view.
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>",
"expected_type": "<expected_type>",
"plane": "<plane>"
},
"name": "e3d_section_element_drawing"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hatch | No | Opt into verified bounded section hatching. Invalid contour geometry or exceeded work/output limits fails without a partial drawing; section/source evidence is retained. | |
| plane | Yes | ||
| refno | Yes | Explicit /NAME or =database/element reference. | |
| sheet | No | Opt into a bordered printable sheet and title block, shared by PNG/SVG/DXF. Sheet coordinates and DXF geometry become paper millimetres at scale 1:N; structured model bounds and dimension values remain true model millimetres. Omit to retain ordinary 1:1 DXF linework. | |
| dimensions | No | Optional vertex-referenced section axis dimensions on a printable sheet; requires sheet. Values remain model millimetres in all formats. Preflight validates structure; actual indices and revision are verified after the read. Unsupported, stale or unrepresentable dimensions fail without a partial drawing. | |
| include_dxf | No | Include ASCII DXF R2000 source, with layered millimetre linework and overall projected dimensions. Hidden edges use dashed per-view layers when show_hidden_lines=true. | |
| include_svg | No | Include SVG source in structured data; the PNG preview is always returned on success. | |
| expected_type | Yes | ||
| preview_width | No | PNG width in pixels. Width × height is capped at 2,000,000 pixels. | |
| preview_height | No | PNG height in pixels. Width × height is capped at 2,000,000 pixels. | |
| radial_segments | No | Curve resolution for CYLI, CONE and DISH only. | |
| coordinate_space | No | The plane and source mesh use this same coordinate frame. | WORLD |