PadstackDef#
- class pyedb.grpc.database.definition.padstack_def.PadstackDef(pedb, edb_object)#
Bases:
ansys.edb.core.definition.padstack_def.PadstackDefManages EDB functionalities for a padstack.
- Parameters:
- edb_padstack
- ppadstack
str Inherited AEDT object.
Examples
>>> from pyedb import Edb >>> edb = Edb(myedb, edbversion="2021.2") >>> edb_padstack = edb.padstacks.definitions["MyPad"]
Overview#
Convert actual padstack instance to microvias 3D Objects with a given aspect ratio. |
|
Convert actual padstack definition to multiple microvias definitions. |
Definitions Instances. |
|
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.instances: list[any]#
Definitions Instances.
- Returns:
List[PadstackInstance]List of PadstackInstance objects.
- 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.
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[any]#
Convert actual padstack definition to multiple microvias definitions.
- Returns:
List[PadstackInstance]