add_zone
Create a filled copper pour bounded by a polygon outline for PCB layouts, assign layers and a net, set fill priority, and optionally refill all zones.
Instructions
Add a copper zone (filled pour) bounded by a polygon outline.
Args: points: Outline vertices, each {"x_mm": .., "y_mm": ..} or [x, y]. >= 3 points. layers: Layer names the zone exists on, e.g. ['F.Cu']. net_name: Net to connect the pour to (e.g. 'GND'). Empty for no net. name: Optional zone name. priority: Fill priority (higher fills first). refill: Refill all zones after creating (slower, reflects in editor).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| layers | Yes | ||
| points | Yes | ||
| refill | No | ||
| net_name | No | ||
| priority | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||