The Gerber File Format Specification Revision 2020.09.Docx

The Gerber File Format Specification Revision 2020.09.Docx

. The Gerber Format Specification A format developed by Ucamco Revision 2020.09 Contents Contents ........................................................................................................................ 2 Preface ........................................................................................................................... 8 1 Introduction .............................................................................................................. 9 1.1 Scope and Target Audience ............................................................................... 9 1.2 Further Resources .............................................................................................. 9 1.3 Reference Gerber Viewer ................................................................................... 9 1.4 Questions ............................................................................................................ 9 1.5 Copyright and Intellectual Property ................................................................... 10 1.6 About Ucamco .................................................................................................. 10 2 Overview ................................................................................................................. 11 2.1 File Structure ..................................................................................................... 11 2.2 Apertures .......................................................................................................... 11 2.3 Graphics Objects .............................................................................................. 12 2.4 Draws and Arcs ................................................................................................. 13 2.5 Operations (D01, D02, D03) ............................................................................. 14 2.6 Graphics State .................................................................................................. 15 2.7 Polarity .............................................................................................................. 17 2.8 Blocks ............................................................................................................... 18 2.9 Attributes ........................................................................................................... 18 2.10 Commands Overview ..................................................................................... 19 2.11 Processing a Gerber File ................................................................................ 21 2.12 Glossary .......................................................................................................... 23 2.13 Annotated Example Files ................................................................................ 26 Example: Two Square Boxes ................................................................... 26 Example: Polarities and Apertures ........................................................... 27 2.14 Conformance .................................................................................................. 31 3 Syntax ..................................................................................................................... 32 3.1 Conventions for Syntax Rules ........................................................................... 32 3.2 File Extension, MIME Type and UTI ................................................................. 32 3.3 Character Set .................................................................................................... 33 3.4 Data Blocks ....................................................................................................... 33 3.5 Commands ........................................................................................................ 33 Command Syntax Overview ....................................................................... 33 Block commands ........................................................................................ 34 Extended Commands ................................................................................. 35 Copyright Ucamco NV 2 Having a question or remark about the spec? Please contact us at [email protected] 3.6 Data Types ........................................................................................................ 35 Integers ...................................................................................................... 35 Decimals ..................................................................................................... 35 Hexadecimal ............................................................................................... 36 Coordinate Data ......................................................................................... 36 Strings ........................................................................................................ 36 Fields .......................................................................................................... 37 Names ........................................................................................................ 37 4 Graphics ................................................................................................................. 38 4.1 Coordinate Commands ..................................................................................... 38 Format Specification (FS) ........................................................................... 38 Unit (MO) .................................................................................................... 39 4.2 Aperture Definition (AD) .................................................................................... 40 AD Command ............................................................................................. 40 Zero-size Apertures .................................................................................... 40 Examples .................................................................................................... 41 4.3 Standard Aperture Templates ........................................................................... 42 Overview .................................................................................................... 42 Circle .......................................................................................................... 42 Rectangle ................................................................................................... 44 Obround ..................................................................................................... 45 Polygon ...................................................................................................... 46 Transparency of Holes ............................................................................... 47 4.4 Aperture Macro (AM) ........................................................................................ 48 AM Command ............................................................................................ 48 Primitives .................................................................................................... 50 Exposure Parameter .................................................................................. 61 Rotation Parameter .................................................................................... 62 Macro Variables and Expressions .............................................................. 63 Examples .................................................................................................... 66 4.5 Block Aperture (AB) .......................................................................................... 70 Overview of block apertures ....................................................................... 70 AB Statement Syntax ................................................................................. 70 Usage of Block Apertures ........................................................................... 71 Example ..................................................................................................... 72 4.6 Set Current Aperture (Dnn) ............................................................................... 74 4.7 Operations (D01/D02/D03) ............................................................................... 75 Overview .................................................................................................... 75 Coordinates ................................................................................................ 76 Interpolate (D01) ........................................................................................ 77 Move (D02) ................................................................................................. 77 Flash (D03) ................................................................................................. 78 Example ..................................................................................................... 78 Copyright Ucamco NV 3 Having a question or remark about the spec? Please contact us at [email protected] 4.8 Interpolation State Commands (G01,G02,G03,G74,G75) ................................ 80 Linear Interpolation (G01) .......................................................................... 80 Circular Interpolation (G02, G03, G75, G76) .............................................. 81 Example: Single Quadrant Mode ..............................................................

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    207 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us