Prepare PCB Component Transform
easyeda_prepare_pcb_componentPrepare a PCB component move, rotate, flip, or delete with preview, scope, and confirmation phrase before any board change. Review expected coordinates and layer, then confirm to apply.
Instructions
Prepares a component transformation on the PCB (move, rotate, flip, or delete) with preview, scope, expected coordinates, and exact confirmation phrase. Does not modify the PCB until confirmed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | Absolute X target coordinate in mm (for move) | |
| y | No | Absolute Y target coordinate in mm (for move) | |
| dx | No | Relative X delta offset in mm (for move) | |
| dy | No | Relative Y delta offset in mm (for move) | |
| layer | No | Explicit target layer/side for flip | |
| action | Yes | PCB component transform action to perform | |
| target | No | Expected active PCB target | |
| rotation | No | Absolute rotation angle in degrees (for rotate) | |
| component | Yes | Target component designator (e.g. 'U1', 'R3') or primitive ID | |
| dRotation | No | Relative rotation angle increment in degrees (for rotate) | |
| timeoutMs | No |