autocad_render_preview
Render CAD drawings to an image for inspection without AutoCAD, or capture a live viewport screenshot.
Instructions
Render the drawing to an image file so it can be inspected without AutoCAD.
ezdxf backend: rendered headlessly via matplotlib (needs the 'preview' extra). COM backend: a screenshot of the live AutoCAD viewport.
Args: params (RenderPreviewInput): - path (str): output image path (e.g. '.png'). - width, height (int): pixel dimensions (100-4000, default 1200x800).
Returns: str: JSON {"status": "saved", "path", "width", "height"}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |