rotate_components
Rotate selected PCB components or schematic parts to a specified angle, using dry-run preview and SHA verification for safe, transactional updates.
Instructions
Rotate selected PCB components or schematic parts 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 |
|---|---|---|---|
| mode | No | relative | |
| path | No | ||
| txid | No | ||
| dry_run | No | ||
| selector | No | ||
| angle_deg | Yes | ||
| allow_locked | No | ||
| allowed_angles | No | ||
| expected_sha256 | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||