bendCurved

Create curved bend shape on X-Y plane

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

Syntax

``bend = bendCurved``
``bend = bendCurved(Name=Value)``

Description

example

````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.```

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

 `add` Boolean unite operation on two RF PCB shapes `and` Shape1 & Shape2 for RF PCB shapes `area` Calculate area of RF PCB shape in square meters `intersect` Boolean intersection operation on two RF PCB shapes `mesh` Change and view mesh properties of metal or dielectric in PCB component `minus` Shape1 - Shape2 for RF PCB shapes `plus` Shape1 + Shape2 for RF PCB shapes `rotate` Rotate RF PCB shape about defined axis `rotateX` Rotate RF PCB shape about x-axis `rotateY` Rotate RF PCB shape about y-axis and angle `rotateZ` Rotate RF PCB shape about z-axis `subtract` Boolean subtraction operation on two RF PCB shapes `scale` Change size of RF PCB shape by fixed amount `show` Display PCB component structure or PCB shape `translate` Move RF PCB shape to new location

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)`

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)```

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)`

Version History

Introduced in R2021b