Main Content

Custom Geometry and PCB Fabrication

Bends, curves, rings, radials, and custom traces; Boolean operations, Gerber file read and write

Use the shape objects to create different designs and complex shapes and create custom printed circuit board (PCB) components to complete PCB designs quickly. Use line interconnects such as bends, curves, mitered edges, and traces to effectively lay out PCB components.

Gerber files are open ASCII vector format files that contain information on each physical board layer of the PCB design. These files also represent circuit board objects, like copper traces, vias, pads, solder mask, and silkscreen images by series of coordinates. Write Gerber files that can be used by PCB manufacturers to translate the details of the design into physical properties of the PCB.

Objects

expand all

Bends

bendCurvedCreate curved bend shape on X-Y plane (Since R2021b)
bendMiteredCreate mitered bend shape on X-Y plane (Since R2021b)
bendRightAngleCreate right-angle bend shape on X-Y plane (Since R2021b)

U Bends

ubendCurvedCreate U-bend with curved edges on X-Y plane (Since R2021b)
ubendMiteredCreate U-bend with mitered edges on X-Y plane (Since R2021b)
ubendRightAngleCreate right-angle U-bend shape on X-Y plane (Since R2021b)

Rings, Curves, and Radial

ringAnnularCreate annular ring on X-Y plane (Since R2021b)
ringSquareCreate square ring on X-Y plane (Since R2021b)
splitRingCreate split ring shape on X-Y plane (Since R2023a)
curveCreate curved shape on X-Y plane (Since R2021b)
radialCreate radial shape (Since R2021b)
deltaCreate delta shape (Since R2021b)
dumbbellCreate dumbbell shape on X-Y plane (Since R2023a)
racetrackCreate racetrack shape, of circle or rectangle type, on the X-Y plane (Since R2024a)

Traces

traceSpiralCreate even-sided polygon trace in spiral form (Since R2021b)
traceRectangularCreate rectangular trace (Since R2021b)
traceTeeCreate tee trace (Since R2021b)
traceCrossCreate cross-shaped trace (Since R2021b)
traceStepCreate step trace in XY plane (Since R2022a)
traceTaperedCreate tapered trace in X-Y plane (Since R2022a)

Custom Traces

tracePointCreate custom line trace based on specified X and Y coordinates (Since R2021b)
traceLineCreate line trace (Since R2021b)
pcbComponentCreate single or multifeed PCB component (Since R2021b)
PCBReaderImport and update Gerber files (Since R2021b)
PCBWriterCreate PCB board definitions from 2-D PCB designs (Since R2021b)
pcbElementCreate RF Toolbox circuit element (Since R2021b)

Functions

expand all

gerberReadCreate PCBReader object with specified Gerber files and drill files (Since R2021b)
gerberWriteGenerate Gerber files (Since R2021b)
pcbcascadeCreate new component using cascade operation (Since R2021b)
addBoolean unite operation on two RF PCB shapes (Since R2021b)
subtractBoolean subtraction operation on two RF PCB shapes (Since R2021b)
plusShape1 + Shape2 for RF PCB shapes (Since R2021b)
minusShape1 - Shape2 for RF PCB shapes (Since R2021b)
intersectBoolean intersection operation on two RF PCB shapes (Since R2021b)
andShape1 & Shape2 for RF PCB shapes (Since R2021b)
areaCalculate area of RF PCB shape in square meters (Since R2021b)
showDisplay PCB component structure or PCB shape (Since R2021b)
scaleChange size of RF PCB shape by fixed amount (Since R2021b)
translateMove RF PCB shape to new location (Since R2021b)
rotateRotate RF PCB shape about defined axis (Since R2021b)
rotateXRotate RF PCB shape about x-axis (Since R2021b)
rotateYRotate RF PCB shape about y-axis and angle (Since R2021b)
rotateZRotate RF PCB shape about z-axis (Since R2021b)
mirrorXMirror shape along X-axis (Since R2022a)
mirrorYMirror shape along Y-axis (Since R2022a)

Topics