Render and check a DXF drawing
dxf_renderRender and check a DXF drawing. Reads a DXF drawing (R12-2018, ASCII) with programs and returns each layout as SVG (real size in mm when the file sets its units), PDF (fitted to the layout's paper or a chosen size, scale on paper reported) and PNG, plus the version, units, layouts with sizes, layers (colour, on/off, object counts), blocks with insert counts and a dimension check: every linear, aligned, radius and diameter dimension's printed value compared with the distance between its own definition points. Use when: A DXF drawing has to be seen, printed, converted to PDF/SVG/PNG or its dimensions checked without CAD software. Not for: DWG files (use dwg_to_dxf); binary DXF; 3D solids; editing. File types: dxf. Max 30 MB.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "dxf_render"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| options | No | Tool options, if any (see the tool description). | |
| file_url | No | Public https URL of the file (preferred). | |
| filename | No | File name with its extension, e.g. part.step. | |
| file_base64 | No | The file as base64, for small files without a URL (give filename too). |