pcb_place_region
Place a solid copper rectangle on a PCB layer for mechanical zones, thermal pads, or solder-mask openings, with optional net assignment.
Instructions
Place a solid copper region on a rectangular area.
Regions are solid primitives; unlike polygons, they don't participate in the connectivity engine unless you assign a net. Use for mechanical copper zones, thermal pads, or solder-mask openings. For a true ground plane with ratsnest tracking, prefer pcb_place_polygon_rect.
Args: x1, y1, x2, y2: Opposite corners in mils (any order) layer: Copper or mech layer (default "TopLayer") net: Optional net assignment
Returns: Dictionary confirming the region placement
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x1 | Yes | ||
| x2 | Yes | ||
| y1 | Yes | ||
| y2 | Yes | ||
| net | No | ||
| layer | No | TopLayer |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||