distribute_components
Distribute selected PCB components evenly along X or Y axis by center or gap spacing. Preview with dry run to verify before committing changes.
Instructions
Distribute at least three PCB components transactionally. All distances are in millimetres, regardless of the document's own Units attribute. Input schema: diptrace://schemas/tool-inputs. dry_run=true previews without writing. Set dry_run=false only after inspecting the preview and pass its expected_sha256.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| axis | Yes | ||
| mode | No | centers | |
| path | No | ||
| txid | No | ||
| dry_run | No | ||
| spacing | No | ||
| selector | Yes | ||
| allow_locked | No | ||
| expected_sha256 | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||