PadstackDef#
- class pyedb.grpc.database.definition.padstack_def.PadstackDef(pedb, edb_object)#
Manages EDB functionalities for a padstack.
- Parameters:
- edb_padstack
- ppadstack
str Inherited AEDT object.
Examples
>>> from pyedb import Edb >>> edb = Edb("myedb", version="2026.1") >>> edb_padstack = edb.padstacks.definitions["MyPad"]
Overview#
Create a new padstack definition. |
Convert actual padstack instance to microvias 3D Objects with a given aspect ratio. |
|
Convert actual padstack definition to multiple microvias definitions. |
|
Pad parameters. |
|
Padstack definition ID. |
|
Check if the padstack definition is null. |
|
Definitions Instances. |
|
Padstack definition name. |
|
Padstack definition data. |
|
Layers. |
|
Starting layer. |
|
Via starting layer. |
|
Stopping layer. |
|
Via stop layer. |
|
Return hole material name. |
|
Hole diameter. |
|
Holy type. |
|
EDB hole type. |
|
Hole offset for the X axis. |
|
Hole offset for the Y axis. |
|
Hole rotation. |
|
Pad by layer. |
|
Antipad by layer. |
|
Thermal by layer. |
|
Hole plating ratio. |
|
Hole plating thickness. |
|
Finished hole size. |
|
Get hole range value from padstack definition. |
Import detail#
from pyedb.grpc.database.definition.padstack_def import PadstackDef
Property detail#
- property PadstackDef.is_null#
Check if the padstack definition is null.
- property PadstackDef.instances: list[pyedb.grpc.database.primitive.padstack_instance.PadstackInstance]#
Definitions Instances.
- Returns:
List[PadstackInstance]Dict of PadstackInstance objects.
- property PadstackDef.name#
Padstack definition name.
- property PadstackDef.data#
Padstack definition data.
- Returns:
PadstackDefPadstack definition data object.
- property PadstackDef.via_start_layer#
Via starting layer.
.deprecated Use: :method:`start_layer
` instead.- Returns:
strName of the via starting layer.
- property PadstackDef.via_stop_layer#
Via stop layer.
.deprecated Use :method:`stop_layer
` instead.- Returns:
strName of the via stop layer.
- property PadstackDef.hole_offset_x: float#
Hole offset for the X axis.
- Returns:
floatHole offset value for the X axis.
- property PadstackDef.hole_offset_y: float#
Hole offset for the Y axis.
- Returns:
floatHole offset value for the Y axis.
- property PadstackDef.hole_rotation: float#
Hole rotation.
- Returns:
floatValue for the hole rotation.
- property PadstackDef.pad_by_layer: dict[str, PadProperties]#
Pad by layer.
- Returns:
Dict[str,PadProperties]Dictionary with layer as key and PadProperties as value.
- property PadstackDef.antipad_by_layer: dict[str, PadProperties]#
Antipad by layer.
- Returns:
Dict[str,PadProperties]Dictionary with layer as key and PadProperties as value.
- property PadstackDef.thermalpad_by_layer: dict[str, PadProperties]#
Thermal by layer.
- Returns:
Dict[str,PadProperties]Dictionary with layer as key and PadProperties as value.
- property PadstackDef.hole_plating_ratio: float#
Hole plating ratio.
- Returns:
floatPercentage for the hole plating.
- property PadstackDef.hole_plating_thickness: float#
Hole plating thickness.
- Returns:
floatThickness of the hole plating if present.
Attribute detail#
- PadstackDef.core#
- PadstackDef.PAD_SHAPE_PARAMETERS#
- PadstackDef.PAD_SHAPE_KEYS#
- PadstackDef.SOLDER_SHAPE_TYPE#
- PadstackDef.SOLDER_PLACEMENT#
Method detail#
- PadstackDef.convert_to_3d_microvias(convert_only_signal_vias=True, hole_wall_angle=15, delete_padstack_def=True) bool#
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_angle
float,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 is0.75*HoleDepth/HoleDiam.- delete_padstack_defbool,
optional Whether to delete the padstack definition. The default is
True. IfFalse, the padstack definition is not deleted and the hole size is set to zero.
- convert_only_signal_viasbool,
- Returns:
Truewhensuccessful,Falsewhenfailed.
- PadstackDef.split_to_microvias() list[pyedb.grpc.database.primitive.padstack_instance.PadstackInstance] | bool#
Convert actual padstack definition to multiple microvias definitions.
- Returns:
List[PadstackInstance]
- PadstackDef.get_pad_parameters()#
Pad parameters.
- Returns:
dictparams = { ‘regular_pad’: [
{‘layer_name’: ‘1_Top’, ‘shape’: ‘circle’, ‘offset_x’: ‘0.1mm’, ‘offset_y’: ‘0’, ‘rotation’: ‘0’, ‘diameter’: ‘0.5mm’}
], ‘anti_pad’: [
{‘layer_name’: ‘1_Top’, ‘shape’: ‘circle’, ‘offset_x’: ‘0’, ‘offset_y’: ‘0’, ‘rotation’: ‘0’, ‘diameter’: ‘1mm’}
], ‘thermal_pad’: [
{‘layer_name’: ‘1_Top’, ‘shape’: ‘round90’, ‘offset_x’: ‘0’, ‘offset_y’: ‘0’, ‘rotation’: ‘0’, ‘inner’: ‘1mm’, ‘channel_width’: ‘0.2mm’, ‘isolation_gap’: ‘0.3mm’},
], ‘hole’: [
- {‘layer_name’: ‘1_Top’, ‘shape’: ‘circle’, ‘offset_x’: ‘0’, ‘offset_y’: ‘0’, ‘rotation’: ‘0’,
‘diameter’: ‘0.1499997mm’},
]
- }
- PadstackDef.set_pad_parameters(param)#
- PadstackDef.get_hole_parameters()#
- PadstackDef.set_hole_parameters(params)#
- PadstackDef.get_solder_parameters()#
- PadstackDef.set_solder_parameters(parameters)#