CfgPadstackInstance#

class pyedb.configuration.cfg_padstacks.CfgPadstackInstance(/, **data: Any)#

Bases: pyedb.configuration.cfg_common.CfgBaseModel

Represent one padstack instance entry.

Overview#

create

Create a CfgPadstackInstance with an empty backdrill object.

set_backdrill

Configure backdrill parameters for this padstack instance.

Import detail#

from pyedb.configuration.cfg_padstacks import CfgPadstackInstance

Attribute detail#

CfgPadstackInstance.name: str | None = None#
CfgPadstackInstance.eid: int | None = None#
CfgPadstackInstance.backdrill_parameters: CfgBackdrillParameters | None = None#
CfgPadstackInstance.is_pin: bool = None#
CfgPadstackInstance.net_name: str | None = None#
CfgPadstackInstance.layer_range: list[str] | None = None#
CfgPadstackInstance.definition: str | None = None#
CfgPadstackInstance.position: list[str | float] | None = None#
CfgPadstackInstance.rotation: str | None = None#
CfgPadstackInstance.hole_override_enabled: bool | None = None#
CfgPadstackInstance.hole_override_diameter: str | float | None = None#
CfgPadstackInstance.solder_ball_layer: str | None = None#

Method detail#

classmethod CfgPadstackInstance.create(**kwargs) CfgPadstackInstance#

Create a CfgPadstackInstance with an empty backdrill object.

CfgPadstackInstance.set_backdrill(drill_to_layer: str, diameter: str, stub_length: str | None = None, drill_from_bottom: bool = True)#

Configure backdrill parameters for this padstack instance.

Parameters:
drill_to_layerstr

Layer name where the backdrill stops.

diameterstr

Backdrill bore diameter, e.g. "0.25mm".

stub_lengthstr or None, optional

Stub length beyond the target layer. None means no stub.

drill_from_bottombool, optional

True (default) drills from the bottom side.

Returns:
CfgPadstackInstance

self — enables method chaining.

Examples

>>> via.set_backdrill("L3", "0.25mm", drill_from_bottom=True)