Main Content

bendCurved

Create curved bend shape on X-Y plane

Since R2021b

Description

Use the bendCurved object to create a curved bend shape on the X-Y plane.

Note

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

Creation

Description

bend = bendCurved creates a curved bend shape on the X-Y plane.

example

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

example

Properties

expand all

Name of the curved bend shape, specified as a character vector or a string scalar.

Example: bend = bendCurved(Name="bendcurve1")

Data Types: char

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

Example: bend = bendCurved(ReferencePoint=[1 1])

Data Types: double

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

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

Data Types: double

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

Example: bend = bendCurved(Width=[0.0100 0.0100])

Data Types: double

Radius of the corner in meters, specified as a positive scalar.

Example: bend = bendCurved(CurveRadius=2)

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
mirrorXMirror shape along X-axis
mirrorYMirror shape along Y-axis

Examples

collapse all

Create a curved bend shape with default properties.

bend = bendCurved
bend = 
  bendCurved with properties:

              Name: 'myCurvedbend'
    ReferencePoint: [0 0]
            Length: [0.0100 0.0100]
             Width: [0.0050 0.0050]
       CurveRadius: 0.0035

View the shape.

show(bend)

Figure contains an axes object. The axes object with xlabel x (mm), ylabel y (mm) contains 2 objects of type patch. These objects represent PEC, myCurvedbend.

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

bend = bendCurved(Length=[10 2],Width=[2 2],CurveRadius=1)
bend = 
  bendCurved with properties:

              Name: 'myCurvedbend'
    ReferencePoint: [0 0]
            Length: [10 2]
             Width: [2 2]
       CurveRadius: 1

bend = rotateZ(bend,60);
show(bend)

Figure contains an axes object. The axes object with xlabel x (m), ylabel y (m) contains 2 objects of type patch. These objects represent PEC, myCurvedbend.

Mesh the curved bend shape at a maximum edge length of 1 m.

meshconfig(bend,"manual")
ans = struct with fields:
     NumTriangles: 0
    NumTetrahedra: 0
         NumBasis: []
    MaxEdgeLength: []
    MinEdgeLength: []
       GrowthRate: []
         MeshMode: 'manual'

mesh(bend,MaxEdgeLength=1)

Figure contains an axes object. The axes object with xlabel x (m), ylabel y (m) contains an object of type patch.

Version History

Introduced in R2021b