dxf_render
Render DXF files as PNG previews locally without AutoCAD. Specify DPI and background color for engineering drawing snapshots.
Instructions
把 DXF 渲染成 PNG 预览图(纯本地,不需要打开 AutoCAD)。
Args: path: 源 DXF 文件。 png_path: 输出 PNG 路径。 dpi: 分辨率,默认 150(100~300)。 background: 背景色,"white"/"black"/"dark" 或 #RRGGBB。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dpi | No | ||
| path | Yes | ||
| png_path | Yes | ||
| background | No | white |