dxf_export_pdf
Export DXF drawings to vector PDF with scalable lines and text, ideal for printing and archiving without losing quality. Supports custom background and page sizes.
Instructions
把 DXF 导出为矢量 PDF(线条/文字保持矢量,可无限放大,适合打印归档)。
Args: path: 源 DXF 文件。 pdf_path: 输出 PDF 路径。 background: 背景色,"white"/"black"/"dark" 或 #RRGGBB。 page_size: "auto"(默认,按图纸包围盒自适应)或 "A4"/"A3"/"A2"(横版)。
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": {
"path": "<path>",
"pdf_path": "<pdf_path>"
},
"name": "dxf_export_pdf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| pdf_path | Yes | ||
| page_size | No | auto | |
| background | No | white |