pcb_import_placement
Repositions PCB components by designator from a coordinate list, applying absolute X/Y in mils, rotation in degrees, and optional side flips, inverting coordinate export.
Instructions
Position components from a coordinate list (pick-and-place import).
The inverse of pcb_export_coordinates. Each entry repositions a
component already on the board, by designator. Absolute coordinates in
mils, rotation in degrees; supplying side/layer flips the component
to that side.
Args: placements: list of dicts, each supporting: designator (required) x (optional) , X in mils y (optional) , Y in mils rotation (optional) , degrees side (optional) , "top" or "bottom" layer (optional) , "TopLayer" / "BottomLayer" (overrides side)
Returns: {"applied": N, "failed": M}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| placements | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||