Main Content

traceSpiral

Create even-sided polygon trace in spiral form

Since R2021b

Description

Use the traceSpiral object to create an even-sided polygon trace such as a square, hexagon, octagon, decagon, or a circle in a spiral form.

Creation

Description

example

trace = traceSpiral creates a square spiral trace. The spiral trace is centered at the origin on the X-Y plane.

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

Properties

expand all

Name of the spiral trace, specified as a character vector or a string scalar.

Example: trace = traceSpiral(Name="spiraltrace1")

Data Types: char | string

Point of reference of the spiral trace in Cartesian coordinates, specified as a two-element vector. Use the reference point to modify the shape from its initial position.

Example: trace = traceSpiral(ReferencePoint=[1 1])

Data Types: double

Inner diameter of the spiral trace in meters, specified as a positive scalar. If the polygon is a square, the inner diameter is the distance between the innermost vertex and the midpoint of the opposite side of the inner square. For all other shapes, the value is the distance between the innermost vertex and the opposite vertex of the inner turn.

Example: trace = traceSpiral(InnerDiameter=0.0015)

Data Types: double

Width of the spiral trace in meters, specified as a positive scalar.

Example: trace = traceSpiral(TraceWidth=0.0050)

Data Types: double

Distance between the traces of the spiral in meters, specified as a positive scalar. For a square spiral trace, the spacing is the gap between the flat edges of adjacent turns. For all other shapes, the spacing is the gap between vertices of adjacent turns.

Example: trace = traceSpiral(Spacing=6.0000e-04)

Data Types: double

Number of turns in the spiral, specified as a positive scalar.

Example: trace = traceSpiral(NumTurns=6)

Data Types: double

Number of sides in each turn of the spiral based on the polygon, specified as a positive, even scalar. The minimum number of sides is 4 and the maximum number is 10. If the number exceeds 10, then the shape is a circle.

Example: trace = traceSpiral(NumSides=6)

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 spiral trace with default properties.

trace = traceSpiral
trace = 
  traceSpiral with properties:

              Name: 'myspiral'
    ReferencePoint: [0 0]
     InnerDiameter: 0.0040
        TraceWidth: 0.0020
           Spacing: 5.0000e-04
          NumTurns: 4
          NumSides: 4

View the trace.

show(trace)

Version History

Introduced in R2021b