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', 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:
padstacknamestr, optional

Name of the padstack. The default is None.

holediamstr, optional

Diameter of the hole with units. The default is "300um".

paddiamstr, optional

Diameter of the pad with units, used with "Circle" shape. The default is "400um".

antipaddiamstr, optional

Diameter of the antipad with units. The default is "600um".

pad_shapestr, optional

Shape of the pad. The default is "Circle. Options are "Circle" and "Rectangle".

antipad_shapestr, optional

Shape of the antipad. The default is "Circle". Options are "Circle" "Rectangle" and "Bullet".

x_sizestr, optional

Only applicable to bullet and rectangle shape. The default is "600um".

y_sizestr, optional

Only applicable to bullet and rectangle shape. The default is "600um".

corner_radius

Only applicable to bullet shape. The default is "300um".

offset_xstr, optional

X offset of antipad. The default is "0.0".

offset_ystr, optional

Y offset of antipad. The default is "0.0".

rotationstr, optional

rotation of antipad. The default is "0.0".

has_holebool, optional

Whether this padstack has a hole.

pad_offset_xstr, optional

Padstack offset in X direction.

pad_offset_ystr, optional

Padstack offset in Y direction.

pad_rotationstr, optional

Padstack rotation.

start_layerstr, optional

Start layer of the padstack definition.

stop_layerstr, optional

Stop layer of the padstack definition.

add_default_layerbool, optional

Add "Default" to padstack definition. Default is False.

anti_pad_x_sizestr, optional

Only applicable to bullet and rectangle shape. The default is "600um".

anti_pad_y_sizestr, optional

Only applicable to bullet and rectangle shape. The default is "600um".

hole_rangestr, optional

Define the padstack hole range. Arguments supported, "through", "begin_on_upper_pad", "end_on_lower_pad", "upper_pad_to_lower_pad".

Returns:
str

Name of the padstack if the operation is successful.