add_hole#

Padstack.add_hole(hole_type='Cir', sizes=None, x=0, y=0, rotation=0)#

Add a hole.

Parameters:
hole_typestr, 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].

x

Position on the X axis. The default is 0.

y

Position on the Y axis. The default is 0.

rotationfloat, optional

Angle rotation in degrees. The default is 0.

Returns:
ansys.aedt.core.modeler.Object3d.Object3d.PDSHole

Hole object to be passed to padstack or layer.