Main Content

shapes

Extract all metal layer shapes of PCB component

Description

example

shapes(rfpcbobject) extracts all metal layer shapes of a PCB component and organizes them into an output structure.

Examples

collapse all

Extract the shapes of a rat-race coupler.

coupler = couplerRatrace;
show(coupler)

Figure contains an axes object. The axes object with title couplerRatrace element contains 8 objects of type patch, surface. These objects represent PEC, feed, Teflon.

s = shapes(coupler)
s = struct with fields:
    Layer1: [1x1 antenna.Polygon]
    Layer2: [1x1 antenna.Rectangle]

Input Arguments

collapse all

PCB component object, specified as an RF PCB object. For a complete list of the PCB components, see PCB Components Catalog.

Version History

Introduced in R2021b

See Also

|