pcb_distribute_components
Evenly spaces selected PCB components along the X or Y axis by assigning each designator to equally spaced start-to-end coordinates while leaving the other axis unchanged.
Instructions
Evenly space components along an axis.
Moves each named component so its X (or Y) coordinate lands at
equally-spaced stops from start to end. Order follows the
designators list, designators="R1,R2,R3" with start=0 end=200
places R1 at 0, R2 at 100, R3 at 200 on the chosen axis. Y (or X)
is untouched.
Args: designators: Comma-separated list of component designators axis: "x" or "y" (default "x") start: First position in mils end: Last position in mils
Returns: Dictionary with distribution result
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | ||
| axis | No | x | |
| start | No | ||
| designators | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||