Main Content

bendRightAngle

Create right-angle bend shape on X-Y plane

Since R2021b

Description

Use the bendRightAngle object to create a right-angle bend shape on the X-Y plane.

Note

This shape object supports behavioral modeling. For more information, see Behavioral Models.

Creation

Description

example

bend = bendRightAngle creates a right-angle bend shape on the X-Y plane.

example

bend = bendRightAngle(Name=Value) sets Properties using one or more name-value arguments. For example, bendRightAngle(ReferencePoint=[1 1]) creates a right-angle bend shape with the reference point at [1 1]. Properties not specified retain their default values.

Properties

expand all

Name of the right-angle bend shape, specified as a character vector or a string scalar.

Example: bend = bendRightAngle(Name="bendrightangle1")

Data Types: char

Reference point for the right-angle bend shape in Cartesian coordinates, specified as a two-element vector.

Example: bend = bendRightAngle(ReferencePoint=[1 2])

Data Types: double

Length of the right-angle bend shape in meters, specified as a two-element vector.

Example: bend = bendRightAngle(Length=[0.0500 0.0500])

Data Types: double

Width of the right-angle bend shape in meters, specified as a two-element vector.

Example: bend = bendRightAngle(Width=[0.0200 0.0200])

Data Types: double

Object Functions

addBoolean unite operation on two RF PCB shapes
andShape1 & Shape2 for RF PCB shapes
areaCalculate area of RF PCB shape in square meters
intersectBoolean intersection operation on two RF PCB shapes
meshChange and view mesh properties of metal or dielectric in PCB component
minusShape1 - Shape2 for RF PCB shapes
plusShape1 + Shape2 for RF PCB shapes
rotateRotate RF PCB shape about defined axis
rotateXRotate RF PCB shape about x-axis
rotateYRotate RF PCB shape about y-axis and angle
rotateZRotate RF PCB shape about z-axis
subtractBoolean subtraction operation on two RF PCB shapes
scaleChange size of RF PCB shape by fixed amount
showDisplay PCB component structure or PCB shape
translateMove RF PCB shape to new location

Examples

collapse all

Create a right-angle bend with default properties.

bend = bendRightAngle
bend = 
  bendRightAngle with properties:

              Name: 'myRightAnglebend'
    ReferencePoint: [0 0]
            Length: [0.0100 0.0100]
             Width: [0.0050 0.0050]

View the shape.

show(bend)

Create a right-angle bend shape of lengths of 10 m and 2 m, width of 2m, and rotate it about the Z-axis by 60 degrees.

bend = bendRightAngle(Length=[10 2],Width=[2 2]);
bend = rotateZ(bend,60)
bend = 
  bendRightAngle with properties:

              Name: 'myRightAnglebend'
    ReferencePoint: [0 0]
            Length: [10 2]
             Width: [2 2]

show(bend)

Mesh the right-angle bend shape at a maximum edge length of 1 m.

mesh(bend,MaxEdgeLength=1)

Version History

Introduced in R2021b