pcb_set_board_shape
Define the physical PCB outline as a rectangle by specifying two opposite corners in mils, overwriting the current board shape to establish board size before placing components.
Instructions
Define the physical PCB board outline as a rectangle.
Overwrites the current board shape. Use this right after creating a new PCB document to establish the board size before placing parts. Coordinates are in mils; (x1,y1) and (x2,y2) are opposite corners in any order.
Args: x1: First corner X in mils y1: First corner Y in mils x2: Opposite corner X in mils y2: Opposite corner Y in mils
Returns: Dictionary confirming the new outline rectangle
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x1 | Yes | ||
| x2 | Yes | ||
| y1 | Yes | ||
| y2 | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||