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:
- component
str
orEDB
component
,optional
Name of the discrete component.
- sball_diam
str
,float
,optional
Diameter of the solder ball.
- sball_height
str
,float
,optional
Height of the solder ball.
- shape
str
,optional
Shape of solder ball. Options are
"Cylinder"
,"Spheroid"
. The default is"Cylinder"
.- sball_mid_diam
str
,float
,optional
Mid diameter of the solder ball.
- chip_orientation
str
,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_x
int
,str
,float
,optional
X size of the reference. Applicable when auto_reference_size is False.
- reference_size_y
int
,str
,float
,optional
Y size of the reference. Applicable when auto_reference_size is False.
- reference_height
int
,str
,float
,optional
Height of the reference. Applicable when auto_reference_size is False.
- component
- Returns:
- bool
True
when successful,False
when failed.
Examples
>>> from pyedb import Edb >>> edbapp = Edb("myaedbfolder") >>> edbapp.components.set_solder_ball("A1")