add_hole#

Padstack.add_hole(holetype='Cir', sizes=[1], xpos=0, ypos=0, rot=0)[source]#

Add a hole.

Parameters:
holetypestr, optional

Type of the hole. Options are:

  • No” - no pad

  • “Cir” - Circle

  • “Sq” - Square

  • “Rct” - Rectangle

  • “Ov” - Oval

  • “Blt” - Bullet

  • “Ply” - Polygons

  • “R45” - Round 45 thermal

  • “R90” - Round 90 thermal

  • “S45” - Square 45 thermal

  • “S90” - Square 90 thermal

The default is "Cir".

sizesarray, optional

Array of sizes, which depends on the object. For example, a circle ias an array of one element. The default is [1].

xpos

Position on the X axis. The default is 0.

ypos

Position on the Y axis. The default is 0.

rotfloat, optional

Angle rotation in degrees. The default is 0.

Returns:
pyaedt.modeler.Object3d.Object3d.PDSHole

Hole object to be passed to padstack or layer.