add_zone_rect
Create a rectangular copper zone on specified PCB layers by defining corner coordinates in mm, and optionally connect it to a net and refill.
Instructions
Add a rectangular copper zone (convenience wrapper around add_zone).
Args: x_min_mm, y_min_mm: Top-left corner in mm. x_max_mm, y_max_mm: Bottom-right corner in mm. layers: Layer names, e.g. ['F.Cu']. net_name: Net to connect (e.g. 'GND'). name: Optional zone name. priority: Fill priority. refill: Refill zones after creating.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| layers | Yes | ||
| refill | No | ||
| net_name | No | ||
| priority | No | ||
| x_max_mm | Yes | ||
| x_min_mm | Yes | ||
| y_max_mm | Yes | ||
| y_min_mm | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||