Skip to main content Skip to footer
Home
User manuals

Main navigation

  • Home
  • Enterprise for Engineers
    • Program overview
      • Getting started
      • Product browser
      • Recent activity
      • Viewer tab
        • Product viewer
      • Specifications tab
        • Product Specifications viewer
        • Product documentation
        • Product buildup viewer
        • PCBA Components
        • Product sharing
      • Quotation
      • History
      • Shopping Cart
    • File menu
    • Show menu
      • Find product
      • View mode
    • Products menu
    • Operations menu
      • Import PCB
      • Panelize PCB
      • Create Stencil
      • Add Masks to PCB
      • Assembly Data Manager
      • Solder Pallet Designer
      • Depanelize PCB
      • Test Fixture
      • Test Fixture (legacy)
      • Connector chooser
      • Import 3D Mechanical Part
      • Order History
    • Configuration menu
      • Partner manager
      • User details
      • User manager
      • Options
      • Move ME to new PC
    • What's new
    • Release notes
  • Enterprise for Purchasers
    • Activity Overview
    • Product details
    • Search for product
    • Additional Operations
      • Partner manager
      • User profile
      • User manager
      • Options
  • Macaos Gallery
    • Product Browser
      • Product Explorer
      • Simple PCB Editor
      • Exporting product data to Gerber
      • Searching for products
      • MIF File history
      • Icon bar
      • Product info
    • Operations
      • Standard operations
        • Import PCB
        • Panelize PCB
        • Create Stencil
        • Add Masks to PCB
      • EMS version operations
        • Assembly Data Manager
        • Solder Pallet Designer
        • Depanelize PCB
        • Test Fixture
    • Technical Documentation
    • Configuration
    • Gallery PreCAM
      • Configuration options
      • Quotation module
        • Quotations
        • Calculated prices
        • Adjusting prices
        • Quotation
      • Quotation archive
        • Folders
      • Price Editor module
      • Price list editor
        • Price element editor
        • Selector editor
        • Curve editor
        • Price list wizard
      • Sales office settings
      • Holidays
      • About prices
        • Factory price
        • Retail price
        • How is a price calculated?
      • Reference
        • Price list
        • Price element
        • Curve function
        • Parameters
      • Example: Creating the Demo price list
        • Using the price list wizard
        • Refining the price list
        • Retail price
    • What's new
    • Release notes
  • Subsystem Manuals
    • Product editor Modules
      • Assembly Data Manager (ADM)
      • Assembly Masks
      • Depanelization
      • Import PCB
      • Mechanical Parts
      • Panelization
      • Solder Pallet
      • Solder Paste Stencils
      • SPRINT Test Fixtures
      • Test Fixtures (Legacy)
    • Product display modules
      • PCBA Components
      • Product Buildup Viewer
      • Product History
      • Product Specifications Viewer
      • Product Viewer
    • Other Modules
      • Connector Chooser
      • Order History
      • Order Status
      • Partner Manager
      • Product sharing
      • Quotation
      • Search
      • Shopping Cart
      • User Details
      • User Manager
  • Additional info
    • Release notes
      • What's new in ME for Engineers
      • What's new in ME for Purchasers
      • What's new in Gallery
      • What's new in Convergence
      • ME for Engineers release notes
      • ME for Purchasers release notes
      • Gallery release notes
      • Convergence release notes
      • Perception release notes
    • Gerber file generation tips
      • Using KiCad
      • Using Eagle
      • Using CADint
      • From other systems
    • Performance Classes
    • Solder paste stencil ratios
    • Surface finishes
    • Via types
    • Panelization scripts
  • Contact
  • Back to Macaos website

Generating Gerber files

Gerber files

When generating Gerber files, try to use the following settings (where available):

File formatExtended Gerber (RS-274X), preferably with Gerber X2/X3 extensions
Polygons (G36/G37)Enabled
Multi-quadrant arcsDisabled
Stroke width for filled areas (if unable to use polygons)preferably at least 0.635 mm; avoid less than 0.150 mm
UnitMM
Number formatat least 3.5; 4.6 (or 6.6) is best
Zero SuppressionLeading

All Gerber files must have the same origin. If you generate Gerber files with INCH units, you should use at least 2.4 (preferably 2.6) as the number format.

If possible, include the Gerber X2 "File function" attribute in each file.

Drill files

When generating Drill files, try to use the following settings (where available):

File formatExcellon, or preferably XNC
Include tool listEnabled
UnitMM
Number format3.3
Decimal pointsIncluded
Zero SuppressionLeading

All drill files must have the same origin. Drill files should have the same origin as Gerber files. If you generate Drill files with INCH units, you should use 2.4 as the number format.

File naming

Macaos supports numerous filename conventions. The best to use are Protel/Altium, Eagle or OrCad conventions.

The Protel/Altium convention specifies the layer with the filename extension:

Board layerFilename extensions
Board outline.GKO, .GM or .GML
Drill through.TXT
Copper top.GTL
Copper bottom.GBL
Solder mask top.GTS
Solder mask bottom.GBS
Legend (silkscreen) top.GTO
Legend (silkscreen) bottom.GBO
Paste mask top.GTP or .GPT
Paste mask bottom.GBP or .GPB
Inner layers (x=1-8 or y=2-9 for layers 2-9).Gx or .GyL
Inner ground plane (negative) layers (x=1-8 for layers 2-9).GPx

Other files

If possible, include a Gerber Job file. This file will give additional information about your files, which layers they represent, and more.

Macaos Software AS
Sanddalsringen 5b
N-5225 Nesttun
Norway

Download gerber specification
ODB++ partner
IPC member

Footer menu

  • Contact
  • Privacy policy
Powered by Drupal

Copyright © 2025 Macaos Software AS - All rights reserved