import_graphic
Places an SVG or DXF logo or mark onto a specified PCB layer as one board change, with optional centering, width scaling, fill, and copper net assignment.
Instructions
Place a drawing (logo, mark) from source, a project .svg/.dxf, on the board as ONE change; kept in graphics/. Centre x,y and width in mm (else board centre); width keeps aspect; fill fills closed outlines; net (copper) makes it that net's copper. Answers id, size, omissions.
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": {
"file": "<file>",
"source": "<source>",
"layer": "<layer>"
},
"name": "import_graphic"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | ||
| y | No | ||
| net | No | ||
| file | Yes | ||
| fill | No | ||
| name | No | ||
| layer | Yes | ||
| scale | No | ||
| width | No | ||
| source | Yes | ||
| rotation | No |