ubcpdk.components.pad_array#
- ubcpdk.components.pad_array(*, pad: ComponentFactory = functools.partial(<function pad>, size=(75, 75), layer=<LayerMapUbc.M2_ROUTER: 47>, bbox_layers=(<LayerMapUbc.PAD_OPEN: 48>, ), bbox_offsets=(-1.8, )), spacing: tuple[float, float] = (125, 125), columns: int = 6, rows: int = 1, port_orientation: float = 0, orientation: float | None = None, size: Float2 = (100.0, 100.0), layer: LayerSpec = 'MTOP', centered_ports: bool = False) Component #
Returns 2D array of pads.
- Parameters:
pad – pad element.
spacing – x, y pitch.
columns – number of columns.
rows – number of rows.
port_orientation – port orientation in deg. None for low speed DC ports.
orientation – Deprecated, use port_orientation.
size – pad size.
layer – pad layer.
centered_ports – True add ports to center. False add ports to the edge.