place_on_edge
Position a footprint against a specified board edge for connectors, sensors, or switches. Control inset, along-edge location, and rotation.
Instructions
Place a part against a board edge (connectors, sensors, switches).
Args: reference: Footprint to move. edge: 'left', 'right', 'top', or 'bottom' edge of the board outline. inset_mm: Distance from the board edge to the part's courtyard. along_mm: Absolute coordinate along the edge (X for top/bottom, Y for left/right). Defaults to the middle of that edge. angle_deg: Optional absolute rotation (applied first).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| edge | Yes | ||
| along_mm | No | ||
| inset_mm | No | ||
| angle_deg | No | ||
| reference | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||