メインコンテンツ

sendTo

R2026b

Export generated Gerber Files to service provider

Description

sendTo(pcbWriterobject) opens the manufacturing service browser page on your default web browser and opens the folder containing the Gerber files.

For example, if the manufacturing service is MayhewWriter, then sendTo action opens the Mayhew Labs online PCB viewer in your default web browser. This function also opens the folder containing the Gerber files. This simplifies use of the service, enabling you to drag and drop the files to the website and view the design.

example

Examples

collapse all

Create a coplanar inverted-F antenna.

fco = invertedFcoplanar(Height=14e-3, GroundPlaneLength=100e-3, ...
                  GroundPlaneWidth=100e-3);

Use this antenna in creating a pcbStack object.

p = pcbStack(fco);

Use a SMA_Cinch as an RF connector and GerbLook Writer as a manufacturing service.

c = PCBConnectors.SMA_Cinch;
s = PCBServices.GerbLookWriter;

Create an antenna design file using PCBWriter.

PW = PCBWriter(p,s,c);

Use the gerberWrite method to create Gerber files from the antenna design files.

gerberWrite(PW)
Generated File: 'C:\Users\user\OneDrive - MathWorks\Documents\MATLAB\ExampleManager\user.Bdoc.DocWork0\antenna-ex65326217\untitled.zip'
'(name is available in system cut-buffer)

12 files in PCB stack
   Size Lines File
   273b    23 untitled.gtl (Copper,L1,Top,Signal)
    98b     9 untitled.gts (Soldermask,Top)
   227b    18 untitled.gbs (Soldermask,Bot)
    85b     5 untitled.txt (ExcellonPlated,1,2)
     1k    44 untitled.gbl (Copper,L2,Bot)
   346b    26 untitled.gbp (Paste,Bot)
   127k  6646 untitled.gbo (Legend,Bot)
   182k  9183 untitled.gto (Legend,Top)
     1k    39 untitled.gpi (PhotoplotterInfo,Info)
     1k    36 untitled.dri (DrillStationInfo,Info)
     1k    22 untitled.ipc (IPCD356A,Info)
              untitled.gml (Profile,NP)

Open the manufacturing service website to send the Gerber files.

sendTo(PW)
Generated File: 'C:\Users\user\OneDrive - MathWorks\Documents\MATLAB\ExampleManager\user.Bdoc.DocWork0\antenna-ex65326217\untitled.zip'
'(name is available in system cut-buffer)

12 files in PCB stack
   Size Lines File
   273b    23 untitled.gtl (Copper,L1,Top,Signal)
    98b     9 untitled.gts (Soldermask,Top)
   227b    18 untitled.gbs (Soldermask,Bot)
    85b     5 untitled.txt (ExcellonPlated,1,2)
     1k    44 untitled.gbl (Copper,L2,Bot)
   346b    26 untitled.gbp (Paste,Bot)
   127k  6646 untitled.gbo (Legend,Bot)
   182k  9183 untitled.gto (Legend,Top)
     1k    39 untitled.gpi (PhotoplotterInfo,Info)
     1k    36 untitled.dri (DrillStationInfo,Info)
     1k    22 untitled.ipc (IPCD356A,Info)
              untitled.gml (Profile,NP)

Input Arguments

collapse all

Antenna design files, specified as a PCBWriter object.

Example: p1 = pcbStack creates a PCB stack object.p1 a = PCBWriter(p1).

Version History

Introduced in R2017b

See Also

|