e3d_project_element_drawing
Projects a referenced E3D PANE or primitive into FRONT/TOP/SIDE orthographic linework with bounded hidden-line removal, returning a deterministic PNG preview and structured geometry.
Instructions
Read one explicitly referenced PANE or supported positive primitive, derive its bounded parameter mesh, and project topology-derived FRONT/TOP/SIDE orthographic linework. Returns a deterministic PNG preview image and structured linework with millimetre projection bounds. Bounded hidden-line removal defaults on and tests projected mesh depth; it does not evaluate E3D CSG, Boolean cuts, PANE hole semantics, native tessellation or engineering tolerances. Work-budget exhaustion fails closed without a partial drawing. 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>"
},
"name": "e3d_project_element_drawing"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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. | |
| views | No | Legacy FRONT looks from +Y, TOP from +Z, SIDE from +X; opting into sheet.projection_method changes FRONT to -Y and requires all three views. | |
| 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 | Required SDK base type short name; use PANE for panels. | |
| 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 | Projection coordinates; WORLD uses the validated E3D WORLD pose. | WORLD |
| show_hidden_lines | No | Include occluded edge portions as dashed lines in PNG/SVG and on separate hidden-line layers in optional DXF. Requires hidden_line_removal=true. | |
| hidden_line_removal | No | Use bounded projected-depth occlusion analysis. Work-budget exhaustion returns no partial drawing. | |
| feature_angle_degrees | No | Minimum adjacent-face dihedral angle for feature edges; silhouettes are always retained. |