export_positions
Export component position file (pick and place) as CSV, in millimetres (mm).
Instructions
Export component position file (pick and place) as CSV, in millimetres (mm).
The columns are Ref, Val, Package, PosX, PosY, Rot and Side. PosX and PosY
are the footprint's position in millimetres, with the board's Y axis
negated; Rot is its angle in degrees; Side is top or bottom.
Args:
pcb_path: Path to .kicad_pcb file. Optional; omit to use the configured default.
output_dir: Output directory. Optional; omit to use the configured default.
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": "export_positions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pcb_path | No | ||
| output_dir | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| path | Yes | ||
| format | Yes | ||
| size_bytes | Yes | ||
| component_count | Yes |