Main Content

meshconfig

Change mesh mode of PCB component or shape structure

Description

meshconfig(rfpcbobject,mode) changes the meshing mode of the PCB component according to the text input mode.

example

meshconfig(shape,mode) changes the meshing mode of the PCB shape according to the text input mode.

m = meshconfig(___,mode) returns the mesh structure after changing the meshing mode of the PCB component or shape according to the text input mode.

Examples

collapse all

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 contains 2 objects of type patch. This object represents PEC.

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: []
         MeshMode: 'manual'

mesh(bend,MaxEdgeLength=1)

Figure contains an axes object. The axes object contains an object of type patch.

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.

Shape created using custom elements and shape objects, specified as an object handle. For a complete list of the custom shapes, see Custom Geometry and PCB Fabrication.

Example: c = bendCurved; mesh(c)

Meshing mode, specified as 'auto' or 'manual'.

Data Types: char

See Also

Introduced in R2021b