Gerber Model

Unlike traditional PCB layout drawing, GerberGPT leverages neural network learning to directly generate Gerber code files for PCB production from pre-designed schematic models and component package models. This approach significantly reduces the time consumed in PCB design. Additionally, users can try various layout styles or make fine adjustments within minutes.

Gerber Files

GerberGPT will ultimately output in the form of Gerber files.

Gerber Metadata Example

%TF.GenerationSoftware,GerberGPT,GerberModel,0.0.1*%
%TF.CreationDate,2024-01-01T12:00:00+00:00*%
%TF.ProjectId,GerberGPT,47657262-6572-4475-9054-2e6b69636164,rev?*%
%TF.SameCoordinates,Original*%
%TF.FileFunction,Profile,NP*%

Format Specification Example

%FSLAX46Y46*%
G04 Gerber Fmt 4.6, Leading zero omitted, Abs format (unit mm)*
G04 Created by GerberGPT (GerberModel 0.0.1) date 2024-01-01 12:00:00*
%MOMM*%
%LPD*%
  • %FSLAX46Y46*%: Sets the coordinate format (4 integers for X and Y).
  • G04 Gerber Fmt 4.6, Leading zero omitted, Abs format (unit mm)*: Comment indicating the format details.
  • G04 Created by GerberGPT (GerberModel 0.0.1) date 2024-01-01 12:00:00*: Comment indicating the software and date of creation.
  • %MOMM*%: Specifies that units are in millimeters.
  • %LPD*%: Specifies layer polarity is dark.

Aperture Definition Example

G01*
G04 APERTURE LIST*
%TA.AperFunction,Profile*%
%ADD10C,0.200000*%
%TD*%
G04 APERTURE END LIST*
  • G01*: Sets the mode to linear interpolation.
  • G04 APERTURE LIST*: Comment indicating the start of the aperture list.
  • %TA.AperFunction,Profile*%: Tag specifying the aperture function.
  • %ADD10C,0.200000*%: Defines aperture D10 as a circle with a diameter of 0.200 mm.
  • %TD*%: End of the aperture definitions.
  • G04 APERTURE END LIST*: Comment indicating the end of the aperture list.

Drawing Commands

D10*
X55000000Y-55000000D02*
X145000000Y-55000000D01*
X145000000Y-145000000D01*
X55000000Y-145000000D01*
X55000000Y-55000000D01*
M02*
  • D10*: Selects the previously defined aperture D10.
  • X55000000Y-55000000D02*: Move to the starting point (55.000000, -55.000000) without drawing (D02 indicates a move command).
  • X145000000Y-55000000D01*: Draw to (145.000000, -55.000000).
  • X145000000Y-145000000D01*: Draw to (145.000000, -145.000000).
  • X55000000Y-145000000D01*: Draw to (55.000000, -145.000000).
  • X55000000Y-55000000D01*: Draw back to the starting point (55.000000, -55.000000), closing the shape.
  • M02*: End of file.

Model Resources

Component Model

Trained by over 1 million with 10 million parameters datasets.

Footprint Model

Learn about the message model and how to create, retrieve, update, delete, and list messages.

Schematic Model

Networks linked by schematic connectivity.

Gerber Model

Learn about the group model and how to create, retrieve, update, delete, and list groups.

Was this page helpful?