create#
- EdbPadstacks.create(padstackname=None, holediam='300um', paddiam='400um', antipaddiam='600um', pad_shape='Circle', antipad_shape='Circle', x_size='600um', y_size='600um', corner_radius='300um', offset_x='0.0', offset_y='0.0', rotation='0.0', has_hole=True, pad_offset_x='0.0', pad_offset_y='0.0', pad_rotation='0.0', pad_polygon=None, antipad_polygon=None, polygon_hole=None, start_layer=None, stop_layer=None, add_default_layer=False, anti_pad_x_size='600um', anti_pad_y_size='600um', hole_range='upper_pad_to_lower_pad')[source]#
Create a padstack.
- Parameters:
- padstackname
str
,optional
Name of the padstack. The default is
None
.- holediam
str
,optional
Diameter of the hole with units. The default is
"300um"
.- paddiam
str
,optional
Diameter of the pad with units, used with
"Circle"
shape. The default is"400um"
.- antipaddiam
str
,optional
Diameter of the antipad with units. The default is
"600um"
.- pad_shape
str
,optional
Shape of the pad. The default is
"Circle
. Options are"Circle"
,"Rectangle"
and"Polygon"
.- antipad_shape
str
,optional
Shape of the antipad. The default is
"Circle"
. Options are"Circle"
"Rectangle"
and"Bullet"
.- x_size
str
,optional
Only applicable to bullet and rectangle shape. The default is
"600um"
.- y_size
str
,optional
Only applicable to bullet and rectangle shape. The default is
"600um"
.- corner_radius
Only applicable to bullet shape. The default is
"300um"
.- offset_x
str
,optional
X offset of antipad. The default is
"0.0"
.- offset_y
str
,optional
Y offset of antipad. The default is
"0.0"
.- rotation
str
,optional
rotation of antipad. The default is
"0.0"
.- has_holebool,
optional
Whether this padstack has a hole.
- pad_offset_x
str
,optional
Padstack offset in X direction.
- pad_offset_y
str
,optional
Padstack offset in Y direction.
- pad_rotation
str
,optional
Padstack rotation.
- start_layer
str
,optional
Start layer of the padstack definition.
- stop_layer
str
,optional
Stop layer of the padstack definition.
- add_default_layerbool,
optional
Add
"Default"
to padstack definition. Default isFalse
.- anti_pad_x_size
str
,optional
Only applicable to bullet and rectangle shape. The default is
"600um"
.- anti_pad_y_size
str
,optional
Only applicable to bullet and rectangle shape. The default is
"600um"
.- hole_range
str
,optional
Define the padstack hole range. Arguments supported,
"through"
,"begin_on_upper_pad"
,"end_on_lower_pad"
,"upper_pad_to_lower_pad"
.
- padstackname
- Returns:
str
Name of the padstack if the operation is successful.