PackageDef#

class pyedb.grpc.database.definition.package_def.PackageDef(pedb, edb_object=None, name=None, component_part_name=None, extent_bounding_box=None)#

Bases: ansys.edb.core.definition.package_def.PackageDef

Manages EDB package definitions.

Parameters:
pedbEdb

Edb object.

edb_objectobject
Edb PackageDef Object

component_part_name : str, optional Part name of the component.

extent_bounding_boxlist, optional

Bounding box defines the shape of the package. For example, [[0, 0], [“2mm”, “2mm”]].

Overview#

set_heatsink

Set Heat sink.

exterior_boundary

Get the exterior boundary of a package definition.

maximum_power

Maximum power of the package.

therm_cond

Thermal conductivity of the package.

theta_jb

Theta Junction-to-Board of the package.

theta_jc

Theta Junction-to-Case of the package.

height

Height of the package.

heat_sink

Package heat sink.

heatsink

Property added for .NET compatibility.

Import detail#

from pyedb.grpc.database.definition.package_def import PackageDef

Property detail#

property PackageDef.exterior_boundary: ansys.edb.core.geometry.polygon_data.PolygonData#

Get the exterior boundary of a package definition.

Returns:
PolygonData
property PackageDef.maximum_power: float#

Maximum power of the package.

Returns:
float

maximum power value.

property PackageDef.therm_cond: float#

Thermal conductivity of the package.

Returns:
float

Thermal conductivity value.

property PackageDef.theta_jb: float#

Theta Junction-to-Board of the package.

Returns:
float

Theta jb value.

property PackageDef.theta_jc: float#

Theta Junction-to-Case of the package.

Returns:
float

Theta jc value.

property PackageDef.height: float#

Height of the package.

Returns:
float

Height value.

property PackageDef.heat_sink: pyedb.grpc.database.utility.heat_sink.HeatSink#

Package heat sink.

Returns:
HeatSink

HeatSink object.

property PackageDef.heatsink#

Property added for .NET compatibility. . deprecated:: pyedb 0.43.0 Use heat_sink() instead.

Method detail#

PackageDef.set_heatsink(fin_base_height, fin_height, fin_orientation, fin_spacing, fin_thickness) pyedb.grpc.database.utility.heat_sink.HeatSink#

Set Heat sink. Parameters ———- fin_base_height : str, float

Fin base height.

fin_heightstr, float

Fin height.

fin_orientationstr

Fin orientation. Supported values, x_oriented, y_oriented.

fin_spacingstr, float

Fin spacing.

fin_thicknessstr, float

Fin thickness.