Main Content

pcbBendCustom

Custom bend shape

Since R2025a

    Description

    Use the pcbBendCustom to create a custom bend shape in microstrip form.

    Creation

    Description

    bend = pcbBendCustom creates a bend in microstrip form with default properties.

    example

    bend = pcbBendCustom(PropertyName=Value)

    sets Properties using one or more property name-value arguments. Properties you do not specify retain their default values. For example, bend = pcbBendCustom(BendShape=bendCurved) creates a custom bend with a curved bend shape.

    example

    Properties

    expand all

    Custom bend specified as a bend shape object.

    Example: bend = pcbBendCustom(BendShape=bendMitered)

    Data Types: string

    Height of the bend above the ground plane specified in meters.

    Example: bend = pcbBendCustom(Height=0.0017)

    Data Types: double

    Width of the ground plane specified in meters.

    Example: bend = pcbBendCustom(GroundPlaneWidth=0.025)

    Data Types: double

    Length of the ground plane specified in meters.

    Example: bend = pcbBendCustom(GroundPlaneLength=0.025)

    Data Types: double

    Type of metal used in conducting layers, specified as a metal object. For more information see metal. The type of metal in a pcbBendCustom object with default properties is PEC.

    Example: m = metal('Copper'); bend = pcbBendCustom(Conductor=m)

    Data Types: string

    Type of dielectric material used as a substrate, specified as a dielectric object. For more information, see dielectric. The dielectric material in a pcbBendCustom object with default properties is Teflon.

    Example: d = dielectric('FR4'); trace = pcbBendCustom(Substrate=d)

    Data Types: string

    Object Functions

    Examples

    collapse all

    This example shows the creation of a default PCB custom bend

    Create the bend

    bend = pcbBendCustom
    bend = 
      pcbBendCustom with properties:
    
                BendShape: [1×1 bendRightAngle]
                   Height: 0.0015
         GroundPlaneWidth: 0.0200
        GroundPlaneLength: 0.0200
                Substrate: [1×1 dielectric]
                Conductor: [1×1 metal]
               IsShielded: 0
    
    

    Visualize the bend

    Use the show funtion

    show(bend)

    Figure contains an axes object. The axes object with title pcbBendCustom element, xlabel x (mm), ylabel y (mm) contains 6 objects of type patch, surface. These objects represent PEC, feed, Teflon.

    This example shows how to create a custom bend with a specified property

    Create the bend

    Set the Bend Shape property to a Mitered shape

    bend = pcbBendCustom(BendShape=bendMitered)
    bend = 
      pcbBendCustom with properties:
    
                BendShape: [1×1 bendMitered]
                   Height: 0.0015
         GroundPlaneWidth: 0.0200
        GroundPlaneLength: 0.0200
                Substrate: [1×1 dielectric]
                Conductor: [1×1 metal]
    
    

    Visualize the bend

    Use the show function

    show(bend)

    Figure contains an axes object. The axes object with title pcbBendCustom element, xlabel x (mm), ylabel y (mm) contains 6 objects of type patch, surface. These objects represent PEC, feed, Teflon.

    Version History

    Introduced in R2025a