set_solder_ball#

Components.set_solder_ball(component='', sball_diam=None, sball_height=None, shape='Cylinder', sball_mid_diam=None, chip_orientation='chip_down', auto_reference_size=True, reference_size_x=0, reference_size_y=0, reference_height=0)[source]#

Set cylindrical solder balls on a given component.

Parameters:
componentstr or EDB component, optional

Name of the discrete component.

sball_diamstr, float, optional

Diameter of the solder ball.

sball_heightstr, float, optional

Height of the solder ball.

shapestr, optional

Shape of solder ball. Options are "Cylinder", "Spheroid". The default is "Cylinder".

sball_mid_diamstr, float, optional

Mid diameter of the solder ball.

chip_orientationstr, optional

Give the chip orientation, "chip_down" or "chip_up". Default is "chip_down". Only applicable on IC model.

auto_reference_sizebool, optional

Whether to automatically set reference size.

reference_size_xint, str, float, optional

X size of the reference. Applicable when auto_reference_size is False.

reference_size_yint, str, float, optional

Y size of the reference. Applicable when auto_reference_size is False.

reference_heightint, str, float, optional

Height of the reference. Applicable when auto_reference_size is False.

Returns:
bool

True when successful, False when failed.

Examples

>>> from pyedb import Edb
>>> edbapp = Edb("myaedbfolder")
>>> edbapp.components.set_solder_ball("A1")