pcb_place_pad
Place standalone pads on the active PCB for fiducials, test points, or mounting holes, with optional net, shape, layer, and drill size to create SMD or through-hole pads.
Instructions
Place a standalone pad on the active PCB.
Not part of any component. Use for fiducials, test points, mounting holes. Set hole_size=0 for surface-mount pads, nonzero for through-hole.
Args: x, y: Position in mils name: Pad designator / label (optional) net: Net to connect to (optional) shape: "round" (default) / "rect" / "oct", or spelled out as the library tools take them ("rectangular", "octagonal"). Any other word is refused; it used to become a round pad. x_size, y_size: Pad dimensions (default 60 mil) hole_size: Drill diameter (0 = SMD) layer: Copper layer (default "TopLayer") units: "mil" (default) or "mm", for the position and every size, kept exact rather than rounded to whole mils.
Returns: Dictionary confirming pad placement
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | ||
| y | Yes | ||
| net | No | ||
| name | No | ||
| layer | No | TopLayer | |
| shape | No | round | |
| units | No | mil | |
| x_size | No | ||
| y_size | No | ||
| hole_size | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||