pcb_get_pad_properties
Retrieve PCB pad properties filtered by net or component designator, including shape, size, hole, thermal relief, and solder/paste mask expansion. Provide a filter to avoid returning all pads.
Instructions
Get detailed pad information filtered by net or component.
Returns pad shape, size, hole, thermal relief, and solder/paste mask expansion details. Provide at least one filter (net or designator) to avoid returning all pads on the board.
Args: net: Filter by net name (e.g., "GND", "VCC"). Optional. designator: Filter by component designator (e.g., "U1"). Optional.
Returns: Dictionary with "pads" array (each with name, component, x, y, net, layer, shape, top_x_size, top_y_size, hole_size, rotation, is_smd, solder_mask_expansion, solder_mask_bottom_expansion, solder_mask_separate, paste_mask_expansion) and "count". solder_mask_expansion is the TOP side when solder_mask_separate is true and both sides when it is false; the bottom value is stored either way and takes effect once the sides are unlinked. Expansions read 0 when the pad follows the board's rule.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| net | No | ||
| designator | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||