EDBPadstack#

class pyedb.dotnet.database.edb_data.padstacks_data.EDBPadstack(edb_padstack, ppadstack)#

Bases: object

Manages EDB functionalities for a padstack.

Parameters:
edb_padstack
ppadstackstr

Inherited AEDT object.

Examples

>>> from pyedb import Edb
>>> edb = Edb(myedb, edbversion="2021.2")
>>> edb_padstack = edb.padstacks.definitions["MyPad"]

Overview#

convert_to_3d_microvias

Convert actual padstack instance to microvias 3D Objects with a given aspect ratio.

split_to_microvias

Convert actual padstack definition to multiple microvias definitions.

pad_by_layer

Regular pad property.

antipad_by_layer

Anti pad property.

thermalpad_by_layer

Thermal pad property.

instances

Definitions Instances.

name

Padstack Definition Name.

via_layers

Layers.

via_start_layer

Starting layer.

via_stop_layer

Stopping layer.

hole_params

Via Hole parameters values.

hole_diameter

Hole diameter.

hole_diameter_string

Hole diameter in string format.

hole_properties

Hole properties.

hole_type

Hole type.

hole_offset_x

Hole offset for the X axis.

hole_offset_y

Hole offset for the Y axis.

hole_rotation

Hole rotation.

hole_plating_ratio

Hole plating ratio.

hole_plating_thickness

Hole plating thickness.

hole_finished_size

Finished hole size.

material

Hole material.

padstack_instances

Get all the vias that belongs to active Padstack definition.

hole_range

Get hole range value from padstack definition.

Import detail#

from pyedb.dotnet.database.edb_data.padstacks_data import EDBPadstack

Property detail#

property EDBPadstack.pad_by_layer#

Regular pad property.

property EDBPadstack.antipad_by_layer#

Anti pad property.

property EDBPadstack.thermalpad_by_layer#

Thermal pad property.

property EDBPadstack.instances#

Definitions Instances.

property EDBPadstack.name#

Padstack Definition Name.

property EDBPadstack.via_layers#

Layers.

Returns:
list

List of layers.

property EDBPadstack.via_start_layer#

Starting layer.

Returns:
str

Name of the starting layer.

property EDBPadstack.via_stop_layer#

Stopping layer.

Returns:
str

Name of the stopping layer.

property EDBPadstack.hole_params#

Via Hole parameters values.

property EDBPadstack.hole_diameter#

Hole diameter.

property EDBPadstack.hole_diameter_string#

Hole diameter in string format.

property EDBPadstack.hole_properties#

Hole properties.

Returns:
list

List of float values for hole properties.

property EDBPadstack.hole_type#

Hole type.

Returns:
int

Type of the hole.

property EDBPadstack.hole_offset_x#

Hole offset for the X axis.

Returns:
str

Hole offset value for the X axis.

property EDBPadstack.hole_offset_y#

Hole offset for the Y axis.

Returns:
str

Hole offset value for the Y axis.

property EDBPadstack.hole_rotation#

Hole rotation.

Returns:
str

Value for the hole rotation.

property EDBPadstack.hole_plating_ratio#

Hole plating ratio.

Returns:
float

Percentage for the hole plating.

property EDBPadstack.hole_plating_thickness#

Hole plating thickness.

Returns:
float

Thickness of the hole plating if present.

property EDBPadstack.hole_finished_size#

Finished hole size.

Returns:
float

Finished size of the hole (Total Size + PlatingThickess*2).

property EDBPadstack.material#

Hole material.

Returns:
str

Material of the hole.

property EDBPadstack.padstack_instances#

Get all the vias that belongs to active Padstack definition.

Returns:
dict
property EDBPadstack.hole_range#

Get hole range value from padstack definition.

Returns:
str

Possible returned values are "through", "begin_on_upper_pad", "end_on_lower_pad", "upper_pad_to_lower_pad", and "unknown_range".

Attribute detail#

EDBPadstack.edb_padstack#

Method detail#

EDBPadstack.convert_to_3d_microvias(convert_only_signal_vias=True, hole_wall_angle=75, delete_padstack_def=True)#

Convert actual padstack instance to microvias 3D Objects with a given aspect ratio.

Parameters:
convert_only_signal_viasbool, optional

Either to convert only vias belonging to signal nets or all vias. Defaults is True.

hole_wall_anglefloat, optional

Angle of laser penetration in degrees. The angle defines the lowest hole diameter with this formula: HoleDiameter -2*tan(laser_angle* Hole depth). Hole depth is the height of the via (dielectric thickness). The default is 15. The lowest hole is 0.75*HoleDepth/HoleDiam.

delete_padstack_defbool, optional

Whether to delete the padstack definition. The default is True. If False, the padstack definition is not deleted and the hole size is set to zero.

Returns:
True when successful, False when failed.
EDBPadstack.split_to_microvias()#

Convert actual padstack definition to multiple microvias definitions.

Returns:
List of pyedb.dotnet.database.padstackEDBPadstack