Main Content

getpads

Generate a pad stack

Since R2024a

Description

SPad = getpads(pcbobject)) generates a pad stack based on the number of signal vias and the number of conductive layers. SPad can be optionally customized and assigned to SignalViaPad.

getpads returns a pad stack of size equal to the number of signal vias-by-number of conductive layers

example

Examples

collapse all

This example shows how to use the getpads function of a single ended via to generate a pad stack

via = viaSingleEnded
via = 
  viaSingleEnded with properties:

   Conducting Layers
                        SignalLayer: [1 7]
                        GroundLayer: [3 5 9]
                          Conductor: [1x1 metal]

   Dielectric Layers
                          Substrate: [1x1 dielectric]

   Signal Vias
                 SignalViaLocations: [0 0 1 9]
                  SignalViaDiameter: 2.5000e-04
          SignalViaFinishedDiameter: 2.0000e-04
                       SignalViaPad: [1x1 shape.Circle]
                   RemoveUnusedPads: 1
                   SignalViaAntipad: [1x1 shape.Circle]

   Ground Return Vias
           GroundReturnViaLocations: [1.0000e-03 1.0000e-03 1 9]
            GroundReturnViaDiameter: 2.5000e-04
    GroundReturnViaFinishedDiameter: 2.0000e-04

   Ports
                        SignalTable: {2x4 cell}

SPad = getpads(via)
SPad=1×5 cell array
    {1x1 shape.Circle}    {0x0 double}    {0x0 double}    {1x1 shape.Circle}    {0x0 double}

show(via)

Figure contains an axes object. The axes object with title viaSingleEnded element, xlabel x (mm), ylabel y (mm) contains 17 objects of type patch, surface. These objects represent Copper, feed, FR4, \infty board edge.

Input Arguments

collapse all

Example: via=viaSingleEnded;SPad = getpads(via)

Data Types: object

Output Arguments

collapse all

getpads returns a pad stack of size number of signal vias-by- number of conductor layers in the via. The first non-empty shape from obj.SignalViaPad is used for scalar expansion to build the pad stack.

Version History

Introduced in R2024a