eda_sch_manufacture_data_get_png_file
Export schematic manufacture data as a PNG image. Set width or height for high-resolution output up to 4096 px, preserving aspect ratio.
Instructions
sch_ManufactureData.getPngFile(fileName?: string, resolution?: ISCH_ExportPngResolution) -> Promise<File | undefined>
获取 PNG 文件
remarks: 支持按长宽分辨率导出高清图片(最大 4096);
支持只传入 width 或 height 中的任意一个,另一侧将按原始比例自动拉伸输出;
width 与 height 均不传时,按当前一倍分辨率输出
ADD since EDA v3.2.183 / EDA v4.1.23 returns: PNG 文件数据(或压缩包)
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": "eda_sch_manufacture_data_get_png_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | 按官方签名顺序排列的JSON参数数组 | |
| windowId | No | 目标EDA窗口ID;省略时使用当前活动窗口 |